+1
−2
+1
−2
+1
−0
Loading
mainline inclusion from mainline-v6.8-rc1 commit 183bdd161c2b773a62f01d1c030f5a3a5b7c33b5 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I94GWL CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=183bdd161c2b773a62f01d1c030f5a3a5b7c33b5 -------------------------------- Use the governed feature framework to track if Linear Address Masking (LAM) is "enabled", i.e. if LAM can be used by the guest. Using the framework to avoid the relative expensive call guest_cpuid_has() during cr3 and vmexit handling paths for LAM. No functional change intended. Intel-SIG: commit 183bdd161c2b KVM: x86: Use KVM-governed feature framework to track "LAM enabled" Backport KVM Linear Address Masking (LAM) support. Signed-off-by:Binbin Wu <binbin.wu@linux.intel.com> Tested-by:
Xuelian Guo <xuelian.guo@intel.com> Link: https://lore.kernel.org/r/20230913124227.12574-14-binbin.wu@linux.intel.com Signed-off-by:
Sean Christopherson <seanjc@google.com> [ Zhiquan Li: amend commit log ] Signed-off-by:
Zhiquan Li <zhiquan1.li@intel.com>