diff options
| author | Nicholas Piggin <[email protected]> | 2022-01-22 10:55:30 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-01-25 05:39:41 +0000 |
| commit | 22f7ff0dea9491e90b6fe808ed40c30bd791e5c2 (patch) | |
| tree | 88931127028694933a1005e6c25c94d4ad75ce89 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI... (diff) | |
| download | kernel-22f7ff0dea9491e90b6fe808ed40c30bd791e5c2.tar.gz kernel-22f7ff0dea9491e90b6fe808ed40c30bd791e5c2.zip | |
KVM: PPC: Book3S HV Nested: Fix nested HFSCR being clobbered with multiple vCPUs
The L0 is storing HFSCR requested by the L1 for the L2 in struct
kvm_nested_guest when the L1 requests a vCPU enter L2. kvm_nested_guest
is not a per-vCPU structure. Hilarity ensues.
Fix it by moving the nested hfscr into the vCPU structure together with
the other per-vCPU nested fields.
Fixes: 8b210a880b35 ("KVM: PPC: Book3S HV Nested: Make nested HFSCR state accessible")
Cc: [email protected] # v5.15+
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
