diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2018-05-21 13:24:23 +0800 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-05-22 19:51:18 +1000 |
commit | 2b33cb585f940180b4c527f0de46ff226a9d25ab (patch) | |
tree | 5edb6b3f693b7ded8920be3e556dea922f6f432c /samples/trace_printk | |
parent | 2e6baa46b4ae785e3e954aaf9d2e8a0bb06ad33a (diff) |
KVM: PPC: Reimplement LOAD_FP/STORE_FP instruction mmio emulation with analyse_instr() input
This patch reimplements LOAD_FP/STORE_FP instruction MMIO emulation with
analyse_instr() input. It utilizes the FPCONV/UPDATE properties exported by
analyse_instr() and invokes kvmppc_handle_load(s)/kvmppc_handle_store()
accordingly.
For FP store MMIO emulation, the FP regs need to be flushed firstly so
that the right FP reg vals can be read from vcpu->arch.fpr, which will
be stored into MMIO data.
Suggested-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'samples/trace_printk')
0 files changed, 0 insertions, 0 deletions