[PATCH 09/11] KVM: PPC: reconstruct LOAD_FP/STORE_FP instruction mmio emulation with analyse_intr() input
Simon Guo
wei.guo.simon at gmail.com
Thu May 3 19:25:15 AEST 2018
On Thu, May 03, 2018 at 04:10:49PM +1000, Paul Mackerras wrote:
> On Wed, Apr 25, 2018 at 07:54:42PM +0800, wei.guo.simon at gmail.com wrote:
> > From: Simon Guo <wei.guo.simon at gmail.com>
> >
> > This patch reconstructs LOAD_FP/STORE_FP instruction MMIO emulation with
> > analyse_intr() input. It utilizes the FPCONV/UPDATE properties exported by
> > analyse_instr() and invokes kvmppc_handle_load(s)/kvmppc_handle_store()
> > accordingly.
> >
> > The FP regs need to be flushed so that the right FP reg vals can be read
> > from vcpu->arch.fpr.
>
> This only applies for store instructions; it would be clearer if you
> said that explicitly.
I will correct this message.
>
> >
> > Suggested-by: Paul Mackerras <paulus at ozlabs.org>
> > Signed-off-by: Simon Guo <wei.guo.simon at gmail.com>
>
> Same comment about updating RA as for the other patches. Otherwise
> this looks fine.
>
> Paul.
Thanks,
- Simon
More information about the Linuxppc-dev
mailing list