Re: [PATCH v2 28/37] KVM: PPC: Book3S HV P9: Add helpers for OS SPR handling

2021-03-04 Thread Nicholas Piggin
Excerpts from Fabiano Rosas's message of March 3, 2021 1:04 am: > Nicholas Piggin writes: > >> This is a first step to wrapping supervisor and user SPR saving and >> loading up into helpers, which will then be called independently in >> bare metal and nested HV cases in order to optimise SPR

Re: [PATCH v2 28/37] KVM: PPC: Book3S HV P9: Add helpers for OS SPR handling

2021-03-02 Thread Fabiano Rosas
Nicholas Piggin writes: > This is a first step to wrapping supervisor and user SPR saving and > loading up into helpers, which will then be called independently in > bare metal and nested HV cases in order to optimise SPR access. > > Signed-off-by: Nicholas Piggin > --- > +/* vcpu guest regs

[PATCH v2 28/37] KVM: PPC: Book3S HV P9: Add helpers for OS SPR handling

2021-02-25 Thread Nicholas Piggin
This is a first step to wrapping supervisor and user SPR saving and loading up into helpers, which will then be called independently in bare metal and nested HV cases in order to optimise SPR access. Signed-off-by: Nicholas Piggin --- arch/powerpc/kvm/book3s_hv.c | 131