From nobody Wed Apr 15 16:25:41 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CE03E55A; Wed, 4 Mar 2026 00:10:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772583014; cv=none; b=i4v6YBSaFxbCPba5rmNKD9xPzWBTWvGEDhARUA5YskkF+m+0HAv7tQXtjcGquPMPbdMaAYipCId0i1SUgc2z/dlh0Kp+RnOQDLVGHaq0/cSbETlHxi0TNhllFtKb+hmQR+GtH6CYKtVJmhLQcjaPW4YGPIYYeDyTGNKu/ZtjOC8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772583014; c=relaxed/simple; bh=uauyNhVbS1479+WQkZq9xCK91hEWmOyydAaT+ZGpYjw=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Y+FmUVPZ05o2HZscf5O60P90NOkGkns3BnNaoI5vKaq0KDXH3te0APSQYczzVpMIb+1b1ByhdHR4puOPUXEFLghzatfnfPyFT+Q1bSZJW9rVuwy14XwJd0TRlNQWloVFWtUtOqUMr9ESQ2yToissCAK2Pv6GzliO7gkVYTa07v4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HCBHzOm9; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=F4LmqLY3; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HCBHzOm9"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="F4LmqLY3" Date: Wed, 04 Mar 2026 00:10:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1772583010; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w6zaF44kQRZ0sxtT48g/RKtGMgpFe14FCPQFpIo47CM=; b=HCBHzOm9dgefs+huuJf5LQqkcn0KnkE1Js7MbugcNvrXYJze1DK6U81y3/OdNeQhpdB0H0 CZmjge1+f++nhuRijQrO0fbKhdQAw4YI+elOZYN7koK0A6Zjn/remNpn7BzDP2N+xb1Rcd XxCf0LbbRaWOF2bjfFXaDjxy6sDSVV9RKBhEGw+AhtWM1YtScf7TX3cXGRakwuSl0u8MhK 8QfJGqgC5InGgjumdc1AnPWx1V+QDRDG+D1A4Mj8M6T5QZxDMjrrkfPc3KYxUk+jhFW/e/ CBflTNEEtGcqqsiKZiCTG5FQbJv3CM65H2drX6uW18Y3GcLohgo/jIan/nnz1w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1772583010; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w6zaF44kQRZ0sxtT48g/RKtGMgpFe14FCPQFpIo47CM=; b=F4LmqLY3KJKFePWgZv424RlyVpMlp1rxe5AoLUrNs8AzD4C10/tIaIBxBfieOOC1Z3/mTN PNQ8ZfH54P1yqjBA== From: "tip-bot2 for Xiaoyao Li" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/tdx] KVM/TDX: Rename KVM_SUPPORTED_TD_ATTRS to KVM_SUPPORTED_TDX_TD_ATTRS Cc: Sean Christopherson , Xiaoyao Li , Dave Hansen , Rick Edgecombe , Kiryl Shutsemau , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260303030335.766779-5-xiaoyao.li@intel.com> References: <20260303030335.766779-5-xiaoyao.li@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177258300919.1647592.7343640484458685898.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/tdx branch of tip: Commit-ID: 3256e41f02623edc4b90a77b70191f83dcdea6cc Gitweb: https://git.kernel.org/tip/3256e41f02623edc4b90a77b70191f83d= cdea6cc Author: Xiaoyao Li AuthorDate: Tue, 03 Mar 2026 11:03:35 +08:00 Committer: Dave Hansen CommitterDate: Tue, 03 Mar 2026 16:06:49 -08:00 KVM/TDX: Rename KVM_SUPPORTED_TD_ATTRS to KVM_SUPPORTED_TDX_TD_ATTRS Rename KVM_SUPPORTED_TD_ATTRS to KVM_SUPPORTED_TDX_TD_ATTRS to include "TDX" in the name, making it clear that it pertains to TDX. Suggested-by: Sean Christopherson Signed-off-by: Xiaoyao Li Signed-off-by: Dave Hansen Reviewed-by: Rick Edgecombe Reviewed-by: Kiryl Shutsemau Acked-by: Sean Christopherson Link: https://patch.msgid.link/20260303030335.766779-5-xiaoyao.li@intel.com --- arch/x86/kvm/vmx/tdx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx/tdx.c b/arch/x86/kvm/vmx/tdx.c index c5065f8..eaeda1c 100644 --- a/arch/x86/kvm/vmx/tdx.c +++ b/arch/x86/kvm/vmx/tdx.c @@ -75,7 +75,7 @@ void tdh_vp_wr_failed(struct vcpu_tdx *tdx, char *uclass,= char *op, u32 field, pr_err("TDH_VP_WR[%s.0x%x]%s0x%llx failed: 0x%llx\n", uclass, field, op, = val, err); } =20 -#define KVM_SUPPORTED_TD_ATTRS (TDX_TD_ATTR_SEPT_VE_DISABLE) +#define KVM_SUPPORTED_TDX_TD_ATTRS (TDX_TD_ATTR_SEPT_VE_DISABLE) =20 static __always_inline struct kvm_tdx *to_kvm_tdx(struct kvm *kvm) { @@ -89,7 +89,7 @@ static __always_inline struct vcpu_tdx *to_tdx(struct kvm= _vcpu *vcpu) =20 static u64 tdx_get_supported_attrs(const struct tdx_sys_info_td_conf *td_c= onf) { - u64 val =3D KVM_SUPPORTED_TD_ATTRS; + u64 val =3D KVM_SUPPORTED_TDX_TD_ATTRS; =20 if ((val & td_conf->attributes_fixed1) !=3D td_conf->attributes_fixed1) return 0;