Skip to content

target-ppc: Linux-User Mode Bug Fixes for Power

Tom Musta qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 1 replyIn review
  2. v212 patches 13 repliesSuperseded
  3. v112 patches 17 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13linux-user: PPC64 semid_ds Doesnt Include _unused1 and _unused2linux-user/syscall.c+4 -00 replies
2/13linux-user: Dereference Pointer Argument to ipc/semctl Sys Calllinux-user/syscall.c+8 -20 replies
3/13linux-user: Properly Handle semun Structure In Cross-Endian Situationslinux-user/syscall.c+11 -20 replies
4/13linux-user: Make ipc syscall's third argument an abi_longlinux-user/syscall.c+4 -40 replies
5/13linux-user: Conditionally Pass Attribute Pointer to mq_open()linux-user/syscall.c+7 -30 replies
6/13linux-user: Detect Negative Message Sizes in msgsnd System Calllinux-user/syscall.c+5 -10 replies
7/13linux-user: Handle NULL sched_param argument to sched_*linux-user/syscall.c+10 -00 replies
8/13linux-user: Detect fault in sched_rr_get_intervallinux-user/syscall.c+1 -10 replies
9/13linux-user: Move get_ppc64_abilinux-user/elfload.c linux-user/ppc/target_cpu.h+10 -90 replies
10/13linux-user: Minimum Sig Handler Stack Size for PPC64 ELF V2linux-user/aarch64/syscall.h linux-user/alpha/syscall.h linux-user/arm/syscall.h +15 more+34 -10 replies
11/13linux-user: clock_nanosleep errno Handling on PPClinux-user/syscall.c+8 -00 replies
12/13linux-user: Support target-to-host translation of mlockall argumentlinux-user/aarch64/syscall.h linux-user/alpha/syscall.h linux-user/arm/syscall.h +15 more+50 -10 replies
13/13linux-user: writev Partial Writeslinux-user/syscall.c+14 -20 replies

Reviews trailers per patch

5 of 13 patches have a Reviewed-by or Acked-by.

PatchPeter Maydell
1/13
2/13
3/13
4/13
5/13R-b
6/13R-b
7/13
8/13R-b
9/13
10/13
11/13R-b
12/13
13/13R-b

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

Read the v3 thread

Cover letter [Qemu-devel] [V3 PATCH 00/13] target-ppc: Linux-User Mode Bug Fixes for Power

This series of patches is the result of executing the Linux Test Program (LTP) System Call bucket (https://github.com/linux-test-project/ltp)
on the 64 bit big and little endian linux user mode targets for Power.

Some of the changes are not technically unique to Power, but are effectively so. For example, Power may be the only runtime that uses the ipc system call as a hub for other system calls (semctl, semop, ...).

The series is dependent on my previous patch series that adds signal handler support on PPC64 (http://lists.nongnu.org/archive/html/qemu-ppc/2014-06/msg00802.html).
That series has gone into Alex's ppcnext branch for QEMU 2.2.

V2: Addressing review comments from Peter Maydell.

V3: Included "linux-user: Move get_ppc64_abi" so that this series applies cleanly to the current git master.

Tom Musta (13):
linux-user: PPC64 semid_ds Doesnt Include _unused1 and _unused2
linux-user: Dereference Pointer Argument to ipc/semctl Sys Call
linux-user: Properly Handle semun Structure In Cross-Endian
Situations
linux-user: Make ipc syscall's third argument an abi_long
linux-user: Conditionally Pass Attribute Pointer to mq_open()
linux-user: Detect Negative Message Sizes in msgsnd System Call
linux-user: Handle NULL sched_param argument to sched_*
linux-user: Detect fault in sched_rr_get_interval
linux-user: Move get_ppc64_abi
linux-user: Minimum Sig Handler Stack Size for PPC64 ELF V2
linux-user: clock_nanosleep errno Handling on PPC
linux-user: Support target-to-host translation of mlockall argument
linux-user: writev Partial Writes

 linux-user/aarch64/syscall.h    |    3 +
 linux-user/alpha/syscall.h      |    3 +
 linux-user/arm/syscall.h        |    4 ++
 linux-user/cris/syscall.h       |    3 +
 linux-user/elfload.c            |    9 ----
 linux-user/i386/syscall.h       |    3 +
 linux-user/m68k/syscall.h       |    4 ++
 linux-user/microblaze/syscall.h |    3 +
 linux-user/mips/syscall.h       |    3 +
 linux-user/mips64/syscall.h     |    3 +
 linux-user/openrisc/syscall.h   |    4 ++
 linux-user/ppc/syscall.h        |    4 ++
 linux-user/ppc/target_cpu.h     |   10 ++++
 linux-user/s390x/syscall.h      |    3 +
 linux-user/sh4/syscall.h        |    4 ++
 linux-user/signal.c             |   12 ++++-
 linux-user/sparc/syscall.h      |    3 +
 linux-user/sparc64/syscall.h    |    3 +
 linux-user/syscall.c            |  100 +++++++++++++++++++++++++++++++++-----
 linux-user/unicore32/syscall.h  |    4 ++
 linux-user/x86_64/syscall.h     |    3 +
 21 files changed, 164 insertions(+), 24 deletions(-)