Re: [PATCH v4 29/46] KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C

2021-04-02 Thread Nicholas Piggin
Excerpts from Alexey Kardashevskiy's message of April 2, 2021 2:36 pm: > > > On 01/04/2021 21:35, Nicholas Piggin wrote: >> Excerpts from Alexey Kardashevskiy's message of April 1, 2021 3:30 pm: >>> >>> >>> On 3/23/21 12:02 PM, Nicholas Piggin wrote: Almost all logic is moved to C, by

Re: [PATCH v4 29/46] KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C

2021-04-01 Thread Alexey Kardashevskiy
On 01/04/2021 21:35, Nicholas Piggin wrote: Excerpts from Alexey Kardashevskiy's message of April 1, 2021 3:30 pm: On 3/23/21 12:02 PM, Nicholas Piggin wrote: Almost all logic is moved to C, by introducing a new in_guest mode that selects and branches very early in the interrupt handler

Re: [PATCH v4 29/46] KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C

2021-04-01 Thread Nicholas Piggin
Excerpts from Alexey Kardashevskiy's message of April 1, 2021 3:30 pm: > > > On 3/23/21 12:02 PM, Nicholas Piggin wrote: >> Almost all logic is moved to C, by introducing a new in_guest mode that >> selects and branches very early in the interrupt handler to the P9 exit >> code. [...] >> +/*

Re: [PATCH v4 29/46] KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C

2021-03-31 Thread Alexey Kardashevskiy
On 3/23/21 12:02 PM, Nicholas Piggin wrote: Almost all logic is moved to C, by introducing a new in_guest mode that selects and branches very early in the interrupt handler to the P9 exit code. The remaining assembly is only about 160 lines of low level stack setup, with VCPU vs host