Files
linux/arch/powerpc/include/asm
Nicholas Piggin 22f7ff0dea 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: 8b210a880b ("KVM: PPC: Book3S HV Nested: Make nested HFSCR state accessible")
Cc: stable@vger.kernel.org # v5.15+
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220122105530.3477250-1-npiggin@gmail.com
2022-01-25 16:39:41 +11:00
..
2021-09-08 15:32:35 -07:00
2021-08-10 23:14:55 +10:00
2020-12-05 21:49:52 +11:00
2021-03-24 14:09:29 +11:00
2021-12-09 22:41:19 +11:00
2021-03-24 14:09:30 +11:00
2021-07-01 11:06:03 -07:00
2021-02-09 01:09:44 +11:00
2021-12-09 22:41:21 +11:00
2021-07-08 11:48:23 -07:00
2019-05-01 16:45:05 +10:00
2021-08-23 19:28:20 +10:00
2020-12-04 01:01:19 +11:00