diff options
author | Xiaoyao Li <[email protected]> | 2020-04-10 13:54:02 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-04-11 16:42:41 +0200 |
commit | e6f8b6c12f03818baacc5f504fe83fa5e20771d6 (patch) | |
tree | 45e390cc34bd88cc38cc26acc093ca74b59141d6 /drivers/pci/controller/pci-host-common.c | |
parent | 9de6fe3c28d6d8feadfad907961f1f31b85c6985 (diff) |
KVM: VMX: Extend VMXs #AC interceptor to handle split lock #AC in guest
Two types of #AC can be generated in Intel CPUs:
1. legacy alignment check #AC
2. split lock #AC
Reflect #AC back into the guest if the guest has legacy alignment checks
enabled or if split lock detection is disabled.
If the #AC is not a legacy one and split lock detection is enabled, then
invoke handle_guest_split_lock() which will either warn and disable split
lock detection for this task or force SIGBUS on it.
[ tglx: Switch it to handle_guest_split_lock() and rename the misnamed
helper function. ]
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Xiaoyao Li <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions