aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-06-02 23:48:51 +0000
committerSean Christopherson <[email protected]>2025-06-20 20:08:22 +0000
commitffced89220502faab44ca61e23e6196d09f5f2d4 (patch)
tree09eb0fe84ca4acc93844f8ec7e2ce5cc635a31fb /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentKVM: TDX: Report supported optional TDVMCALLs in TDX capabilities (diff)
downloadkernel-ffced89220502faab44ca61e23e6196d09f5f2d4.tar.gz
kernel-ffced89220502faab44ca61e23e6196d09f5f2d4.zip
KVM: x86/mmu: Exempt nested EPT page tables from !USER, CR0.WP=0 logic
Exempt nested EPT shadow pages tables from the CR0.WP=0 handling of supervisor writes, as EPT doesn't have a U/S bit and isn't affected by CR0.WP (or CR4.SMEP in the exception to the exception). Opportunistically refresh the comment to explain what KVM is doing, as the only record of why KVM shoves in WRITE and drops USER is buried in years-old changelogs. Cc: Jon Kohler <[email protected]> Cc: Sergey Dyasli <[email protected]> Reviewed-by: Jon Kohler <[email protected]> Reviewed-by: Sergey Dyasli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions