Skip to content

Adding new user mode target ppc64le-linux-user

Doug Kwan qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 11 repliesIn review
  2. v13 patches 29 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3linux-user: Support little-endian PPC64 in user mode.include/elf.h linux-user/elfload.c linux-user/uname.c+26 -22 replies
2/3PPC: Allow little-endian user mode.target-ppc/mem_helper.c target-ppc/translate.c target-ppc/translate_init.c+89 -954 replies
3/3Add a new user mode target for little-endian PPC64.configure default-configs/ppc64le-linux-user.mak+7 -03 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPeter Maydell
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] Adding new user mode target ppc64le-linux-user

Hi

I have made changes based on comments to the previous set of pathces.

1. Target name is now ppc64le-linux-user.
2. I used a memop mask to avoid generating redundant byteswap pairs that cancel out each other. This is suggested by Peter Maydell.
3. There is code to handle machine name correctly in uname.

This is not mean to be final though. Tom Musta of IBM kindly offered to help me with this. So I am handling over this set of patches. Tom will continue from this version.

Thanks for all the comments and suggestions so far.

-Doug

Doug Kwan (3):
linux-user: Support little-endian PPC64 in user mode.
PPC: Allow little-endian user mode.
Add a new user mode target for little-endian PPC64.

 configure                              |   6 ++
 default-configs/ppc64le-linux-user.mak |   1 +
 include/elf.h                          |   5 ++
 linux-user/elfload.c                   |  17 +++-
 linux-user/uname.c                     |   6 ++
 target-ppc/mem_helper.c                |  25 +++++-
 target-ppc/translate.c                 | 150 +++++++++++++--------------------
 target-ppc/translate_init.c            |   9 ++
 8 files changed, 122 insertions(+), 97 deletions(-)
 create mode 100644 default-configs/ppc64le-linux-user.mak
Signature · 1 line
1.9.1.423.g4596e3a