aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-10-01 16:21:23 +0000
committerPaolo Bonzini <[email protected]>2019-10-03 10:32:44 +0000
commit567926cca99ba1750be8aae9c4178796bf9bb90b (patch)
tree09629b2fce3fdbb2b62a4071797a5b7df0e565a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge tag 'kvmarm-fixes-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-567926cca99ba1750be8aae9c4178796bf9bb90b.tar.gz
kernel-567926cca99ba1750be8aae9c4178796bf9bb90b.zip
KVM: nVMX: Fix consistency check on injected exception error code
Current versions of Intel's SDM incorrectly state that "bits 31:15 of the VM-Entry exception error-code field" must be zero. In reality, bits 31:16 must be zero, i.e. error codes are 16-bit values. The bogus error code check manifests as an unexpected VM-Entry failure due to an invalid code field (error number 7) in L1, e.g. when injecting a #GP with error_code=0x9f00. Nadav previously reported the bug[*], both to KVM and Intel, and fixed the associated kvm-unit-test. [*] https://patchwork.kernel.org/patch/11124749/ Reported-by: Nadav Amit <[email protected]> Cc: [email protected] Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Jim Mattson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions