]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/tdx: Rename TDX_ATTR_* to TDX_TD_ATTR_*
authorXiaoyao Li <xiaoyao.li@intel.com>
Tue, 3 Mar 2026 03:03:34 +0000 (11:03 +0800)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 4 Mar 2026 00:06:49 +0000 (16:06 -0800)
commit28bcd8d83fca2c16b2d596b0dce5c4dbca4f9b50
treebfb5db554b397bc70cff6b5b5a4297278808d711
parent87686987193e8465a7ecbd7a3012efe20f1f293d
x86/tdx: Rename TDX_ATTR_* to TDX_TD_ATTR_*

The macros TDX_ATTR_* and DEF_TDX_ATTR_* are related to TD attributes,
which are TD-scope attributes. Naming them as TDX_ATTR_* can be somewhat
confusing and might mislead people into thinking they are TDX global
things.

Rename TDX_ATTR_* to TDX_TD_ATTR_* to explicitly clarify they are
TD-scope things.

Suggested-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Reviewed-by: Kiryl Shutsemau <kas@kernel.org>
Acked-by: Sean Christopherson <seanjc@google.com>
Link: https://patch.msgid.link/20260303030335.766779-4-xiaoyao.li@intel.com
arch/x86/coco/tdx/debug.c
arch/x86/coco/tdx/tdx.c
arch/x86/include/asm/shared/tdx.h
arch/x86/kvm/vmx/tdx.c