diff options
author | Simon Guo <wei.guo.simon@gmail.com> | 2018-05-28 09:48:26 +0800 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-07-18 15:14:45 +1000 |
commit | 4eeb85568e5653c71d901f7593d3f3e7e2a5414f (patch) | |
tree | 5af1dc881d288592a9f2e3811cc2eae0fc1c87e6 /arch/powerpc/kvm/book3s_64_vio.c | |
parent | 6f0d349d922ba44e4348a17a78ea51b7135965b1 (diff) |
KVM: PPC: Remove mmio_vsx_tx_sx_enabled in KVM MMIO emulation
Originally PPC KVM MMIO emulation uses only 0~31#(5 bits) for VSR
reg number, and use mmio_vsx_tx_sx_enabled field together for
0~63# VSR regs.
Currently PPC KVM MMIO emulation is reimplemented with analyse_instr()
assistance. analyse_instr() returns 0~63 for VSR register number, so
it is not necessary to use additional mmio_vsx_tx_sx_enabled field
any more.
This patch extends related reg bits (expand io_gpr to u16 from u8
and use 6 bits for VSR reg#), so that mmio_vsx_tx_sx_enabled can
be removed.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_vio.c')
0 files changed, 0 insertions, 0 deletions