Skip to content

PPC: Add FSL (e500) MMU emulation v2

Alexander Graf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

v1 -> v2 from the cover letter

- fix linux-user build
- optimize tlb invalidate & search

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5PPC: Make MPC8544DS obey -cpu switchhw/ppce500_mpc8544ds.c+5 -10 replies
2/5PPC: Make MPC8544DS emulation work w/o KVMhw/ppce500_mpc8544ds.c+46 -102 replies
3/5PPC: Add GS MSR definitiontarget-ppc/cpu.h+2 -00 replies
4/5PPC: Add another 64 bits to instruction feature masktarget-ppc/cpu.h target-ppc/translate.c target-ppc/translate_init.c+110 -390 replies
5/5PPC: Implement e500 (FSL) MMUtarget-ppc/cpu.h target-ppc/helper.c target-ppc/helper.h +3 more+994 -970 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] PPC: Add FSL (e500) MMU emulation v2

In a global effort to get rid of KVM-only targets, this is the next important piece of the puzzle: e500 emulation :).

We had support for running an e500 KVM guest for a while now, but the code could not be tested without a real e500 machine, because it required KVM to work. This patchset adds emulation for the e500 MMU, enabling anyone to use the MPC8544DS emulation.

v1 -> v2:

- fix linux-user build
- optimize tlb invalidate & search

Alexander Graf (5):
PPC: Make MPC8544DS obey -cpu switch
PPC: Make MPC8544DS emulation work w/o KVM
PPC: Add GS MSR definition
PPC: Add another 64 bits to instruction feature mask
PPC: Implement e500 (FSL) MMU

 hw/ppce500_mpc8544ds.c      |   62 ++++++--
 target-ppc/cpu.h            |  220 ++++++++++++++++++++++-
 target-ppc/helper.c         |  233 +++++++++++++++++++-----
 target-ppc/helper.h         |    5 +
 target-ppc/op_helper.c      |  418 +++++++++++++++++++++++++++++++++++++++++++
 target-ppc/translate.c      |  116 +++++++++++-
 target-ppc/translate_init.c |  246 ++++++++++++++++++--------
 7 files changed, 1155 insertions(+), 145 deletions(-)