From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 657E547F79F for ; Mon, 21 Sep 2026 23:51:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790034693; cv=none; b=IcGNjwjyz5Rlz6Bs33Ajh4bvM/EgfzKTZvF9DmiGivddOc8Px4O6bIMk1EVEpkdNq81TSAjXHx/+BcZnnhzvLGyD9dtHzNdF5SDV8EXS8R/GD1EpNEdtZJa48pKp+ps8+V0Uz0Lj/6EfoFIAP9pbUnoF2ky4gYRYCPQHKMb/jeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790034693; c=relaxed/simple; bh=QyoiVlZcrQw2NA0GB/xs5L1XT1cKTuYk0POnS93O920=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=BGJipNDAjqKzoi6KVVhihzgYw+aD/bCbUoE46iw5VjNZnSibfi1ldZAgCnQP2nmtyNbPonGOb8lVHUVcvtpIKGH5LijYs7Pc/Wi4iopY0+SBFsJB3DHPm5CphzCDrmoWv3+XfXrU17rASg42xPmSrRvtkY4tWY4PObvp2PxjFxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=V1WJhWBc; arc=none smtp.client-ip=209.85.210.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="V1WJhWBc" Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-877ef1457aeso2745432b3a.1 for ; Mon, 21 Sep 2026 16:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1790034691; x=1790639491; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=IVY/bA9ZpCCgCbVJoTStyY4rkPplmsI1qX0ZCCDfam4=; b=V1WJhWBcrJc2Z3a5cvBZge242LzpabegtGA7XqxNQOcIJWYkvKWoH0GJih683m9ykQ hVy97XxlE/Sb5OeB6nKZRlKwwriZEOYhnusM0La4YiT9F3Rucj7x1cFU16FQMlRocs6G VTPwFVTNH4cTJyA2g67d8m3wYqcZe/YHWhZfm4hTjRsJi2T3ml6fmLhGx0OL+r8NjRvH DAyHebkbQz5M3jOQ8Gj4nJK5aSrZCSJKo48EwsQueN8bQ7QyktXx5gBgXuj1y/PkCJjz P0Fm+Kb/RXuj82UrzOVAzV33Ji6i1mKNlNpX47Awc5NdjH75SE8d0DSb4GanT7Zy+85H 7lcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790034691; x=1790639491; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=IVY/bA9ZpCCgCbVJoTStyY4rkPplmsI1qX0ZCCDfam4=; b=JsmfvlgwYPxnFx9/XDTbAiXfnVk7LDeOIpPNcJBXrktFdFqQYoXmBZLExkXUgwJHSF S2fTyaeDNZHiAaTc6OO8S5Y+KpXyExF4igxmL8zKjlyng8OeZw+mabPgVZGnl2wh2a2x 9Vnz2azCA5gJwrWb9067Q+337TkPlooPUzgS7b/5yqUdcNh2viTTjS2Y80UqtHwaBwf3 dz3An4ZcihGu4mMWBw17mauAEA+ng0qX8LQQ3tLhQVm1xxSen/Q2CTa/C8ENHp8TX0sJ FgD1LCPL6YwAUrsIrI4FWqXadyP+lwZKv6AVFtnMDG1oFQCaN+8vFf/Bs9QjwNf0dn28 yLaA== X-Forwarded-Encrypted: i=1; AKwUvBzd+iHJ6kamBWm3/zh+qQP4VhkYOxch/BJlMyji4+rHEcwk9QGoLEYVSsls5jUmDzIus+g4HsQVmHnCpcQ=@vger.kernel.org X-Gm-Message-State: AFuF++mi7WBj83KyyDlKWzRcckmrY/ySL3yzJVwcc9L9vtzl88iKBgRk LwRIbggePdeSYXDj+VV1Ec6Ac7lctGqigZELr6zHoCQiAFgaMKJWx/qI34l78JizY2tJ+DxJK6W WtlOoiA== X-Received: from pfj9.prod.google.com ([2002:a05:6a00:a409:b0:87a:ae70:87c9]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:94fc:b0:871:b921:6f44 with SMTP id d2e1a72fcca58-874dbcec5e1mr15279859b3a.12.1790034691298; Mon, 21 Sep 2026 16:51:31 -0700 (PDT) Date: Mon, 21 Sep 2026 16:51:29 -0700 In-Reply-To: <6d9113d7-cfae-480b-908a-5cb52020a6c8@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260819094903.3060020-1-xiaoyao.li@intel.com> <6d9113d7-cfae-480b-908a-5cb52020a6c8@intel.com> Message-ID: Subject: Re: [PATCH v4 0/9] KVM: TDX: Enable VM-DoS Prevention Features for TDX From: Sean Christopherson To: Xiaoyao Li Cc: Paolo Bonzini , Kiryl Shutsemau , Rick Edgecombe , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, nik.borisov@suse.com Content-Type: text/plain; charset="us-ascii" On Mon, Sep 21, 2026, Xiaoyao Li wrote: > On 8/19/2026 5:48 PM, Xiaoyao Li wrote: > > Hi all, > > > > This is v4 of the series to enable the Notify VM Exit and Bus Lock VM > > exit for TDX, which fixes the KVM CAP issue related with them and allow > > userspace to actually enable the features. > > > > Compared to v3, this v4 adds 5 more patches. The first 8 patches target > > for stable kernels while only the patch 9 doesn't have to. Patch 1 is a > > single patch to enable Notify VM exit for TDX. Except patch 6, patch > > 2-7 are mandatory for enabling Bus Lock VM exit for TDX in patch 8. > > > > Patch 6 itself is a fix for VMX and is OK for cc stable though maybe not > > necessary. Patch 6 is added to this series since it can help stop Sashiko > > repeating its finding of VMX's pre-existing issue, and it's also necessary > > for patch 9 to consilidate the exit handler for VMX and TDX. > > > > There are other issues of existing code found during previous review, like > > the EPT MISCONFIG handling. Given they are not mandatory for enabling the > > Notify VM exit and Bus Lock VM exit for TDX, the plan is to address them in > > a follow-up series separately. > > > > Please refer to v1 for a full background. > > > > v3: https://lore.kernel.org/all/20260812080229.2481439-1-xiaoyao.li@intel.com/ > > v2: https://lore.kernel.org/all/20260810112200.2326727-1-xiaoyao.li@intel.com/ > > v1: https://lore.kernel.org/all/20260805031257.1844914-1-xiaoyao.li@intel.com/ > > Hi Sean, > > What's your plan on this series? Can you queue it if it looks good to you? Or > need me to spin a new version to address Binbin and Rick's comments on the > commit message? Get it applied, with some tweaks. I.e. no v5 necessary.