aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorKrish Sadhukhan <[email protected]>2020-09-17 21:20:38 +0000
committerBorislav Petkov <[email protected]>2020-09-19 18:46:59 +0000
commite1ebb2b49048c4767cfa0d8466f9c701e549fa5e (patch)
tree2b9bf9e48ea3daa5d2fca77dd780a4b8d23b9631 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentx86/mm/pat: Don't flush cache if hardware enforces cache coherency across enc... (diff)
downloadkernel-e1ebb2b49048c4767cfa0d8466f9c701e549fa5e.tar.gz
kernel-e1ebb2b49048c4767cfa0d8466f9c701e549fa5e.zip
KVM: SVM: Don't flush cache if hardware enforces cache coherency across encryption domains
In some hardware implementations, coherency between the encrypted and unencrypted mappings of the same physical page in a VM is enforced. In such a system, it is not required for software to flush the VM's page from all CPU caches in the system prior to changing the value of the C-bit for the page. So check that bit before flushing the cache. Signed-off-by: Krish Sadhukhan <[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/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions