summaryrefslogtreecommitdiff
path: root/arch/x86/mm/mem_encrypt_amd.c
diff options
context:
space:
mode:
authorNikolay Borisov <nik.borisov@suse.com>2023-05-05 15:03:32 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2023-05-23 17:01:45 +0300
commit122333d6bd229af279cdb35d1b874b71b3b9ccfb (patch)
treef4063006f36a62e8856ddcd85886491947d87ae9 /arch/x86/mm/mem_encrypt_amd.c
parent44c026a73be8038f03dbdeef028b642880cf1511 (diff)
downloadlinux-122333d6bd229af279cdb35d1b874b71b3b9ccfb.tar.xz
x86/tdx: Wrap exit reason with hcall_func()
TDX reuses VMEXIT "reasons" in its guest->host hypercall ABI. This is confusing because there might not be a VMEXIT involved at *all*. These instances are supposed to document situation and reduce confusion by wrapping VMEXIT reasons with hcall_func(). The decompression code does not follow this convention. Unify the TDX decompression code with the other TDX use of VMEXIT reasons. No functional changes. Signed-off-by: Nikolay Borisov <nik.borisov@suse.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Link: https://lore.kernel.org/all/20230505120332.1429957-1-nik.borisov%40suse.com
Diffstat (limited to 'arch/x86/mm/mem_encrypt_amd.c')
0 files changed, 0 insertions, 0 deletions