KVM: PPC: Book3S HV: Implement LPCR[AIL]=3 mode for injected interrupts
authorNicholas Piggin <npiggin@gmail.com>
Wed, 2 Oct 2019 06:00:24 +0000 (16:00 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 22 Oct 2019 05:29:02 +0000 (16:29 +1100)
commit6a13cb0c376abb436d060b989018257963656d0c
treee6648f7fb31ff75e9d99d6f459531c0b0f5528d5
parent268f4ef9954cec198cd6772caadf453bcaed3e5a
KVM: PPC: Book3S HV: Implement LPCR[AIL]=3 mode for injected interrupts

kvmppc_inject_interrupt does not implement LPCR[AIL]!=0 modes, which
can result in the guest receiving interrupts as if LPCR[AIL]=0
contrary to the ISA.

In practice, Linux guests cope with this deviation, but it should be
fixed.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv_builtin.c