summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorTao Su <tao1.su@linux.intel.com>2024-03-19 06:11:11 +0300
committerSean Christopherson <seanjc@google.com>2024-04-09 00:22:10 +0300
commit7f2817ef52a1cc3ee0ace35eb8df7a39bd4fc9b7 (patch)
tree99ce25db819e4c4b17b175a1c507774cf29a4e82 /Kbuild
parent449c0811d8729068646e1a270be72bf2da2e66f3 (diff)
downloadlinux-7f2817ef52a1cc3ee0ace35eb8df7a39bd4fc9b7.tar.xz
KVM: VMX: Ignore MKTME KeyID bits when intercepting #PF for allow_smaller_maxphyaddr
Use the raw/true host.MAXPHYADDR when deciding whether or not KVM must intercept #PFs when allow_smaller_maxphyaddr is enabled, as any adjustments the kernel makes to boot_cpu_data.x86_phys_bits to account for MKTME KeyID bits do not apply to the guest physical address space. I.e. the KeyID are off-limits for host physical addresses, but are not reserved for GPAs as far as hardware is concerned. Signed-off-by: Tao Su <tao1.su@linux.intel.com> Link: https://lore.kernel.org/r/20240319031111.495006-1-tao1.su@linux.intel.com [sean: massage changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions