Re: [PATCH v1 02/55] KVM: PPC: Book3S HV P9: Fixes for TM softpatch interrupt

2021-08-06 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of August 6, 2021 11:16 am: > Nicholas Piggin writes: >> The softpatch interrupt sets HSRR0 to the faulting instruction +4, so >> it should subtract 4 for the faulting instruction address. Also have it >> emulate and deliver HFAC interrupts correctly, which

Re: [PATCH v1 02/55] KVM: PPC: Book3S HV P9: Fixes for TM softpatch interrupt

2021-08-05 Thread Michael Ellerman
Nicholas Piggin writes: > The softpatch interrupt sets HSRR0 to the faulting instruction +4, so > it should subtract 4 for the faulting instruction address. Also have it > emulate and deliver HFAC interrupts correctly, which is important for > nested HV and facility demand-faulting in future. The

[PATCH v1 02/55] KVM: PPC: Book3S HV P9: Fixes for TM softpatch interrupt

2021-07-25 Thread Nicholas Piggin
The softpatch interrupt sets HSRR0 to the faulting instruction +4, so it should subtract 4 for the faulting instruction address. Also have it emulate and deliver HFAC interrupts correctly, which is important for nested HV and facility demand-faulting in future. Signed-off-by: Nicholas Piggin ---