aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2018-04-30 17:01:06 +0000
committerPaolo Bonzini <[email protected]>2018-05-11 09:21:13 +0000
commit64f7a11586ab9262f00b8b6eceef6d8154921bd8 (patch)
treebd19f53cf661297dacc895066697f26aec342b94 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentkvm: x86: Suppress CR3_PCID_INVD bit only when PCIDs are enabled (diff)
downloadkernel-64f7a11586ab9262f00b8b6eceef6d8154921bd8.tar.gz
kernel-64f7a11586ab9262f00b8b6eceef6d8154921bd8.zip
KVM: vmx: update sec exec controls for UMIP iff emulating UMIP
Update SECONDARY_EXEC_DESC for UMIP emulation if and only UMIP is actually being emulated. Skipping the VMCS update eliminates unnecessary VMREAD/VMWRITE when UMIP is supported in hardware, and on platforms that don't have SECONDARY_VM_EXEC_CONTROL. The latter case resolves a bug where KVM would fill the kernel log with warnings due to failed VMWRITEs on older platforms. Fixes: 0367f205a3b7 ("KVM: vmx: add support for emulating UMIP") Cc: [email protected] #4.16 Reported-by: Paolo Zeppegno <[email protected]> Suggested-by: Paolo Bonzini <[email protected]> Suggested-by: Radim KrÄmář <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions