aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2022-08-30 15:37:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-26 12:02:52 -0400
commit1dae276569bd30ab6f3069179e5ffffed462b71e (patch)
treed3cf16539998f9ec270ac4a8ef83169d5ddb134c /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com
parentKVM: VMX: Check CPU_BASED_{INTR,NMI}_WINDOW_EXITING in setup_vmcs_config() (diff)
downloadlinux-dev-1dae276569bd30ab6f3069179e5ffffed462b71e.tar.xz
linux-dev-1dae276569bd30ab6f3069179e5ffffed462b71e.zip
KVM: VMX: Tweak the special handling of SECONDARY_EXEC_ENCLS_EXITING in setup_vmcs_config()
SECONDARY_EXEC_ENCLS_EXITING is the only control which is conditionally added to the 'optional' checklist in setup_vmcs_config() but the special case can be avoided by always checking for its presence first and filtering out the result later. Note: the situation when SECONDARY_EXEC_ENCLS_EXITING is present but cpu_has_sgx() is false is possible when SGX is "soft-disabled", e.g. if software writes MCE control MSRs or there's an uncorrectable #MC. Reviewed-by: Jim Mattson <jmattson@google.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20220830133737.1539624-22-vkuznets@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions