Re: [PATCH v3 17/52] KVM: PPC: Book3S HV: CTRL SPR does not require read-modify-write

2021-10-16 Thread Fabiano Rosas
Nicholas Piggin writes: > Processors that support KVM HV do not require read-modify-write of > the CTRL SPR to set/clear their thread's runlatch. Just write 1 or 0 > to it. > > Signed-off-by: Nicholas Piggin Reviewed-by: Fabiano Rosas > --- > arch/powerpc/kvm/book3s_hv.c| 2 +-

[PATCH v3 17/52] KVM: PPC: Book3S HV: CTRL SPR does not require read-modify-write

2021-10-04 Thread Nicholas Piggin
Processors that support KVM HV do not require read-modify-write of the CTRL SPR to set/clear their thread's runlatch. Just write 1 or 0 to it. Signed-off-by: Nicholas Piggin --- arch/powerpc/kvm/book3s_hv.c| 2 +- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 15 ++- 2