aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2025-04-28 18:55:31 +0000
committerSean Christopherson <[email protected]>2025-05-02 20:39:33 +0000
commit5fea0c6c0ebe0a645c247f29fc683852cf51af70 (patch)
tree6dc6a55997dd8356277decc30d3d612492a64449 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentKVM: x86/mmu: Check and free obsolete roots in kvm_mmu_reload() (diff)
downloadkernel-5fea0c6c0ebe0a645c247f29fc683852cf51af70.tar.gz
kernel-5fea0c6c0ebe0a645c247f29fc683852cf51af70.zip
KVM: SVM: Update dump_ghcb() to use the GHCB snapshot fields
Commit 4e15a0ddc3ff ("KVM: SEV: snapshot the GHCB before accessing it") updated the SEV code to take a snapshot of the GHCB before using it. But the dump_ghcb() function wasn't updated to use the snapshot locations. This results in incorrect output from dump_ghcb() for the "is_valid" and "valid_bitmap" fields. Update dump_ghcb() to use the proper locations. Fixes: 4e15a0ddc3ff ("KVM: SEV: snapshot the GHCB before accessing it") Signed-off-by: Tom Lendacky <[email protected]> Reviewed-by: Liam Merwick <[email protected]> Link: https://lore.kernel.org/r/8f03878443681496008b1b37b7c4bf77a342b459.1745866531.git.thomas.lendacky@amd.com [sean: add comment and snapshot qualifier] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions