Re: [PATCH v4 15/46] KVM: PPC: Book3S 64: Move hcall early register setup to KVM

2021-04-01 Thread Nicholas Piggin
Excerpts from Paul Mackerras's message of April 1, 2021 3:41 pm: > On Tue, Mar 23, 2021 at 11:02:34AM +1000, Nicholas Piggin wrote: >> System calls / hcalls have a different calling convention than >> other interrupts, so there is code in the KVMTEST to massage these >> into the same form as other

Re: [PATCH v4 15/46] KVM: PPC: Book3S 64: Move hcall early register setup to KVM

2021-03-31 Thread Paul Mackerras
On Tue, Mar 23, 2021 at 11:02:34AM +1000, Nicholas Piggin wrote: > System calls / hcalls have a different calling convention than > other interrupts, so there is code in the KVMTEST to massage these > into the same form as other interrupt handlers. > > Move this work into the KVM hcall handler. Th

[PATCH v4 15/46] KVM: PPC: Book3S 64: Move hcall early register setup to KVM

2021-03-22 Thread Nicholas Piggin
System calls / hcalls have a different calling convention than other interrupts, so there is code in the KVMTEST to massage these into the same form as other interrupt handlers. Move this work into the KVM hcall handler. This means teaching KVM a little more about the low level interrupt handler s