aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-04-05 16:45:55 -0700
committerSean Christopherson <[email protected]>2023-06-02 10:10:54 -0700
commit5e50082c8c21cd32ef21f523c149939668954ab6 (patch)
tree01f355575fa5f06247878d1955c99cbc336aea40 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent331f229768160dceec5b5694ea32ecf66e2e2452 (diff)
KVM: VMX: Inject #GP on ENCLS if vCPU has paging disabled (CR0.PG==0)
Inject a #GP when emulating/forwarding a valid ENCLS leaf if the vCPU has paging disabled, e.g. if KVM is intercepting ECREATE to enforce additional restrictions. The pseudocode in the SDM lists all #GP triggers, including CR0.PG=0, as being checked after the ENLCS-exiting checks, i.e. the VM-Exit will occur before the CPU performs the CR0.PG check. Fixes: 70210c044b4e ("KVM: VMX: Add SGX ENCLS[ECREATE] handler to enforce CPUID restrictions") Cc: Binbin Wu <[email protected]> Cc: Kai Huang <[email protected]> Tested-by: Kai Huang <[email protected]> Reviewed-by: Kai Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions