aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJim Mattson <[email protected]>2022-02-03 01:48:12 +0000
committerPaolo Bonzini <[email protected]>2022-02-14 12:43:46 +0000
commitb8bfee85f1307426e0242d654f3a14c06ef639c5 (patch)
treeb5c35979c5af7db992a271a50d593f33ea7d8b6e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentKVM: SVM: fix race between interrupt delivery and AVIC inhibition (diff)
downloadkernel-b8bfee85f1307426e0242d654f3a14c06ef639c5.tar.gz
kernel-b8bfee85f1307426e0242d654f3a14c06ef639c5.zip
KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
AMD's event select is 3 nybbles, with the high nybble in bits 35:32 of a PerfEvtSeln MSR. Don't drop the high nybble when setting up the config field of a perf_event_attr structure for a call to perf_event_create_kernel_counter(). Fixes: ca724305a2b0 ("KVM: x86/vPMU: Implement AMD vPMU code for KVM") Reported-by: Stephane Eranian <[email protected]> Signed-off-by: Jim Mattson <[email protected]> Message-Id: <[email protected]> Reviewed-by: David Dunn <[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