qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 4cf234: linux-user/signal.c: Fix AArch64 big-


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 4cf234: linux-user/signal.c: Fix AArch64 big-endian FP reg...
Date: Mon, 10 Mar 2014 10:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4cf2348026002d64556f89d0971c663311be2525
      
https://github.com/qemu/qemu/commit/4cf2348026002d64556f89d0971c663311be2525
  Author: Peter Maydell <address@hidden>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M linux-user/signal.c

  Log Message:
  -----------
  linux-user/signal.c: Fix AArch64 big-endian FP register restore

Fix the loop restoring the FP registers from the signal frame to match
the one used when setting up the signal frame, so that it handles
TARGET_WORDS_BIGENDIAN being set.

Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 8a3ae9109eb45dd77b182a4953ef9e636f665296
      
https://github.com/qemu/qemu/commit/8a3ae9109eb45dd77b182a4953ef9e636f665296
  Author: Michael Matz <address@hidden>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M linux-user/signal.c

  Log Message:
  -----------
  linux-user: AArch64: Implement SA_RESTORER for signal handlers

Implement support for signal handlers with the SA_RESTORER
flag set.

Signed-off-by: Michael Matz <address@hidden>
[PMM: minor tweaks to make patch apply to current master]
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: cd98d390ae009c5c1be5ae9a656e943bb47e14f0
      
https://github.com/qemu/qemu/commit/cd98d390ae009c5c1be5ae9a656e943bb47e14f0
  Author: Andreas Schwab <address@hidden>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Don't use UID16 on AArch64

The AArch64 kernel defines its __kernel_uid_t type as 32 bits, unlike
32 bit ARM, so don't enable our 16-bit UID wrapper handling.

Signed-off-by: Andreas Schwab <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 76ca310a19463e9883e2e55a88ac8be1fc171eea
      
https://github.com/qemu/qemu/commit/76ca310a19463e9883e2e55a88ac8be1fc171eea
  Author: Peter Maydell <address@hidden>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Fix getresuid, getresgid if !USE_UID16

The size of the UID/GID types depends on whether USE_UID16 is
defined. Define a new put_user_id() which writes a uid/gid
type to guest memory. This fixes getresuid and getresgid, which
were always storing 16 bits even if the uid type was 32 bits.

Reported-by: Michael Matz <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: f19e00d776b781bfb0067b9b20a592440fd2990e
      
https://github.com/qemu/qemu/commit/f19e00d776b781bfb0067b9b20a592440fd2990e
  Author: Alexander Graf <address@hidden>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M linux-user/syscall.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Implement sendmmsg syscall

Glibc when built for newer kernels assumes that the sendmmsg syscall is
available. Without it, dns resolution simply fails to work.

Wrap the syscall with existing infrastructure so that we don't have a host
dependency on sendmmsg.

To avoid locking the same area of guest memory twice (which will break if
DEBUG_REMAP is defined) we pull the lock/unlock part of do_sendrecvmsg()
out into its own function so the actual implementation can be shared.

Signed-off-by: Alexander Graf <address@hidden>
[PMM: add recvmmsg support;
 handle errors (which also implies support for non-blocking operations);
 cap the vector length as the kernel implementation does;
 don't lock guest memory twice;
 support MSG_WAITFORONE flag]
Signed-off-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 974a196d7fc9f2f5553589b0022226b877e5c9b1
      
https://github.com/qemu/qemu/commit/974a196d7fc9f2f5553589b0022226b877e5c9b1
  Author: Petar Jovanovic <address@hidden>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: translate signal number on return from sigtimedwait

On success, sigtimedwait() returns a signal number that needs to be
translated from a host value to a target value.

This change also fixes issues with sigwait (that is implemented using
sigtimedwait()).

Signed-off-by: Petar Jovanovic <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>


  Commit: b51910baf227f0fd64abfa7ad6d8e00150a18194
      
https://github.com/qemu/qemu/commit/b51910baf227f0fd64abfa7ad6d8e00150a18194
  Author: Petar Jovanovic <address@hidden>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: correct handling of break exception for MIPS

Exception with break instruction has not been correctly propagated as
SIGTRAP. This resolves crash issues with examples that use break
instruction on MIPS.

Signed-off-by: Petar Jovanovic <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: cbc14e6f286169949105c10ec60c924e086521ad
      
https://github.com/qemu/qemu/commit/cbc14e6f286169949105c10ec60c924e086521ad
  Author: Riku Voipio <address@hidden>
  Date:   2014-03-10 (Mon, 10 Mar 2014)

  Changed paths:
    M linux-user/alpha/syscall.h
    M linux-user/arm/syscall.h
    M linux-user/cris/syscall.h
    M linux-user/i386/syscall.h
    M linux-user/m68k/syscall.h
    M linux-user/microblaze/syscall.h
    M linux-user/mips/syscall.h
    M linux-user/mips64/syscall.h
    M linux-user/openrisc/syscall.h
    M linux-user/ppc/syscall.h
    M linux-user/s390x/syscall.h
    M linux-user/sh4/syscall.h
    M linux-user/sparc/syscall.h
    M linux-user/sparc64/syscall.h
    M linux-user/unicore32/syscall.h
    M linux-user/x86_64/syscall.h

  Log Message:
  -----------
  linux-user: set minimum kernel version to 2.6.32

Popular glibc based distributions[1] require minimum
2.6.32 as kernel version. For some targets 2.6.18
would be enough, but dropping so low would mean some
suboptimal system calls could get used.

Set the minimum kernel advertized to 2.6.32 for
all architectures but aarch64 to ensure working qemu
linux-user in case host kernel is older.

[1] https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/921078

Signed-off-by: Riku Voipio <address@hidden>


  Commit: 3f1506704eca5f0f26dd7b5c56f4a8ca6d21f745
      
https://github.com/qemu/qemu/commit/3f1506704eca5f0f26dd7b5c56f4a8ca6d21f745
  Author: Peter Maydell <address@hidden>
  Date:   2014-03-10 (Mon, 10 Mar 2014)

  Changed paths:
    M linux-user/alpha/syscall.h
    M linux-user/arm/syscall.h
    M linux-user/cris/syscall.h
    M linux-user/i386/syscall.h
    M linux-user/m68k/syscall.h
    M linux-user/main.c
    M linux-user/microblaze/syscall.h
    M linux-user/mips/syscall.h
    M linux-user/mips64/syscall.h
    M linux-user/openrisc/syscall.h
    M linux-user/ppc/syscall.h
    M linux-user/s390x/syscall.h
    M linux-user/sh4/syscall.h
    M linux-user/signal.c
    M linux-user/sparc/syscall.h
    M linux-user/sparc64/syscall.h
    M linux-user/syscall.c
    M linux-user/syscall_defs.h
    M linux-user/unicore32/syscall.h
    M linux-user/x86_64/syscall.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/riku/linux-user-for-upstream' into 
staging

* remotes/riku/linux-user-for-upstream:
  linux-user: set minimum kernel version to 2.6.32
  linux-user: correct handling of break exception for MIPS
  linux-user: translate signal number on return from sigtimedwait
  linux-user: Implement sendmmsg syscall
  linux-user: Fix getresuid, getresgid if !USE_UID16
  linux-user: Don't use UID16 on AArch64
  linux-user: AArch64: Implement SA_RESTORER for signal handlers
  linux-user/signal.c: Fix AArch64 big-endian FP register restore

Signed-off-by: Peter Maydell <address@hidden>


  Commit: b304bf0021a2dfb24fa91f704a1d976b74f56f20
      
https://github.com/qemu/qemu/commit/b304bf0021a2dfb24fa91f704a1d976b74f56f20
  Author: Christian Borntraeger <address@hidden>
  Date:   2014-03-10 (Mon, 10 Mar 2014)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  s390/kvm: Add Maintainers for s390/kvm

Lets add Conny and myself as maintainers for s390/kvm and
related code. This does not include any tcg related code,
which is maintained by Richard and Alex.

Signed-off-by: Christian Borntraeger <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Acked-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/0c126db27cea...b304bf0021a2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]