]> Gentwo Git Trees - linux/.git/commit
x86/tdx: Tidy reset_pamt functions
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 19 Aug 2025 15:58:10 +0000 (18:58 +0300)
committerDave Hansen <dave.hansen@linux.intel.com>
Fri, 22 Aug 2025 14:45:50 +0000 (07:45 -0700)
commita27b008a5d7e8c49740dfd4b560cd2d1abe722e4
tree51e85ce7e1ad20faaa44598ce71f2b77da2845dd
parent94272b084a745940e076a170d8193ac3427292e6
x86/tdx: Tidy reset_pamt functions

tdx_quirk_reset_paddr() was renamed to reflect that, in fact, the clearing
is necessary only for hardware with a certain quirk.  That is dealt with in
a subsequent patch.

Rename reset_pamt functions to contain "quirk" to reflect the new
functionality, and remove the now misleading comment.

Signed-off-by: Adrian Hunter <adrian.hunter@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>
Acked-by: Kai Huang <kai.huang@intel.com>
Acked-by: Vishal Annapurve <vannapurve@google.com>
Link: https://lore.kernel.org/all/20250819155811.136099-3-adrian.hunter%40intel.com
arch/x86/virt/vmx/tdx/tdx.c