Re: [PATCH v3 01/41] KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2

2021-03-08 Thread Nicholas Piggin
Excerpts from Fabiano Rosas's message of March 9, 2021 1:26 am: > Nicholas Piggin writes: > >> These are already disallowed by H_SET_MODE from the guest, also disallow >> these by updating LPCR directly. >> >> AIL modes can affect the host interrupt behaviour while the guest LPCR >> value is

Re: [PATCH v3 01/41] KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2

2021-03-08 Thread Fabiano Rosas
Nicholas Piggin writes: > These are already disallowed by H_SET_MODE from the guest, also disallow > these by updating LPCR directly. > > AIL modes can affect the host interrupt behaviour while the guest LPCR > value is set, so filter it here too. > > Suggested-by: Fabiano Rosas >

[PATCH v3 01/41] KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2

2021-03-05 Thread Nicholas Piggin
These are already disallowed by H_SET_MODE from the guest, also disallow these by updating LPCR directly. AIL modes can affect the host interrupt behaviour while the guest LPCR value is set, so filter it here too. Suggested-by: Fabiano Rosas Signed-off-by: Nicholas Piggin ---