diff options
| author | Bibo Mao <[email protected]> | 2025-04-24 12:15:52 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-04-26 01:58:13 +0000 |
| commit | 5add0dbbebd60628b55e5eb8426612dedab7311a (patch) | |
| tree | 6d0e9c3624fae827bb8818d6bbbe43bbcb6b4fef /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | LoongArch: KVM: Fully clear some CSRs when VM reboot (diff) | |
| download | kernel-5add0dbbebd60628b55e5eb8426612dedab7311a.tar.gz kernel-5add0dbbebd60628b55e5eb8426612dedab7311a.zip | |
LoongArch: KVM: Fix PMU pass-through issue if VM exits to host finally
In function kvm_pre_enter_guest(), it prepares to enter guest and check
whether there are pending signals or events. And it will not enter guest
if there are, PMU pass-through preparation for guest should be cancelled
and host should own PMU hardware.
Cc: [email protected]
Fixes: f4e40ea9f78f ("LoongArch: KVM: Add PMU support for guest")
Signed-off-by: Bibo Mao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
