Re: [PATCH] KVM: PPC: Book3S HV: Context switch IAMR on Power9

2019-02-20 Thread Russell Currey
On Wed, 2019-02-20 at 19:55 +1100, Michael Ellerman wrote: > kvmhv_p9_guest_entry() implements a fast-path guest entry for Power9 > when guest and host are both running with the Radix MMU. > > Currently in that path we don't save the host AMR (Authority Mask > Register) value, and we always restor

[PATCH] KVM: PPC: Book3S HV: Context switch IAMR on Power9

2019-02-20 Thread Michael Ellerman
kvmhv_p9_guest_entry() implements a fast-path guest entry for Power9 when guest and host are both running with the Radix MMU. Currently in that path we don't save the host AMR (Authority Mask Register) value, and we always restore 0 on return to the host. That is OK at the moment because the AMR i