qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] db2af6: linux-user: Add infrastructure for a


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] db2af6: linux-user: Add infrastructure for a signal trampo...
Date: Mon, 04 Oct 2021 16:26:39 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: db2af69d6ba836a264878dbf2cf676d3c1fc46b4
      
https://github.com/qemu/qemu/commit/db2af69d6ba836a264878dbf2cf676d3c1fc46b4
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/signal-common.h
    M linux-user/signal.c

  Log Message:
  -----------
  linux-user: Add infrastructure for a signal trampoline page

Allocate a page to hold the signal trampoline(s).
Invoke a guest-specific hook to fill in the contents
of the page before marking it read-execute again.

Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-2-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: c70887a38212fd8ba0141d61502a33cda0a38d2d
      
https://github.com/qemu/qemu/commit/c70887a38212fd8ba0141d61502a33cda0a38d2d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/aarch64/signal.c
    M linux-user/aarch64/target_signal.h

  Log Message:
  -----------
  linux-user/aarch64: Implement setup_sigtramp

Create and record the rt signal trampoline.
Use it when the guest does not use SA_RESTORER.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: eef9790007e4282b808558f93089ad0b204487f0
      
https://github.com/qemu/qemu/commit/eef9790007e4282b808558f93089ad0b204487f0
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/arm/signal.c

  Log Message:
  -----------
  linux-user/arm: Drop v1 signal frames

Version 2 signal frames are used from 2.6.12 and since cbc14e6f286,
we have set UNAME_MINIMUM_RELEASE to 2.6.32.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-4-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: b807a1087ed864f6c37ccbf6ea416387f00a8b3c
      
https://github.com/qemu/qemu/commit/b807a1087ed864f6c37ccbf6ea416387f00a8b3c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/arm/signal.c

  Log Message:
  -----------
  linux-user/arm: Drop "_v2" from symbols in signal.c

Since we no longer support "v1", there's no need to distinguish "v2".

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-5-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: b5d66e0dd8dda3d58e58dafa425372d158bed3e8
      
https://github.com/qemu/qemu/commit/b5d66e0dd8dda3d58e58dafa425372d158bed3e8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/arm/signal.c
    M linux-user/arm/target_signal.h

  Log Message:
  -----------
  linux-user/arm: Implement setup_sigtramp

Mirror what the kernel does in arch/arm/kernel/signal.h,
using the old sigframe struct in the rt sigframe struct.

Update the trampoline code to match the kernel: this uses
sp-relative accesses rather than pc-relative.

Copy the code into frame->retcode from the trampoline page.
This minimises the different cases wrt arm vs thumb vs fdpic.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210929130553.121567-6-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: dd55f1c8b217e14293f42d8531371b7c626c61dd
      
https://github.com/qemu/qemu/commit/dd55f1c8b217e14293f42d8531371b7c626c61dd
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/alpha/signal.c
    M linux-user/alpha/target_signal.h

  Log Message:
  -----------
  linux-user/alpha: Implement setup_sigtramp

Create and record the two signal trampolines.
Use them when the guest does not use ka_restorer.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-7-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: e281c2bafe22135c47caf7e1fa9db19647e49c3d
      
https://github.com/qemu/qemu/commit/e281c2bafe22135c47caf7e1fa9db19647e49c3d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/cris/signal.c
    M linux-user/cris/target_signal.h

  Log Message:
  -----------
  linux-user/cris: Implement setup_sigtramp

Split out setup_sigreturn so that we can continue to
initialize the words on the stack, as documented.
However, use the off-stack trampoline.

Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-8-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: c8ef02b1acf0d78e909c6cbd38ed60ecc5ce52ff
      
https://github.com/qemu/qemu/commit/c8ef02b1acf0d78e909c6cbd38ed60ecc5ce52ff
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/hexagon/signal.c
    M linux-user/hexagon/target_signal.h

  Log Message:
  -----------
  linux-user/hexagon: Implement setup_sigtramp

Continue to initialize the words on the stack, as documented.
However, use the off-stack trampoline.

Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-9-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: a22fccd8b7de9e21fc31cc048e2bf9c15947f4a4
      
https://github.com/qemu/qemu/commit/a22fccd8b7de9e21fc31cc048e2bf9c15947f4a4
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/hppa/target_signal.h

  Log Message:
  -----------
  linux-user/hppa: Document non-use of setup_sigtramp

We cannot use a raw sigtramp page for hppa,
but must wait for full vdso support.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-10-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 8ee8a104807f67595c1a1963dbee208a52cc513b
      
https://github.com/qemu/qemu/commit/8ee8a104807f67595c1a1963dbee208a52cc513b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/i386/signal.c
    M linux-user/i386/target_signal.h
    M linux-user/x86_64/target_signal.h

  Log Message:
  -----------
  linux-user/i386: Implement setup_sigtramp

Create and record the two signal trampolines.
Use them when the guest does not use SA_RESTORER.
Note that x86_64 does not use this code.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-11-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: db2055415959bcc81cd6c2f0aa2c23e5f12c1eb6
      
https://github.com/qemu/qemu/commit/db2055415959bcc81cd6c2f0aa2c23e5f12c1eb6
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/i386/signal.c

  Log Message:
  -----------
  linux-user/x86_64: Raise SIGSEGV if SA_RESTORER not set

This has been a fixme for some time.  The effect of
returning -EFAULT from the kernel code is to raise SIGSEGV.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-12-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 5125aced7cd291ba232944bf980612f905e524a0
      
https://github.com/qemu/qemu/commit/5125aced7cd291ba232944bf980612f905e524a0
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/m68k/signal.c
    M linux-user/m68k/target_signal.h

  Log Message:
  -----------
  linux-user/m68k: Implement setup_sigtramp

Create and record the two signal trampolines.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-13-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 8004316d81c15681143c3b8d5e77f911b08cfc8b
      
https://github.com/qemu/qemu/commit/8004316d81c15681143c3b8d5e77f911b08cfc8b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/microblaze/signal.c
    M linux-user/microblaze/target_signal.h

  Log Message:
  -----------
  linux-user/microblaze: Implement setup_sigtramp

Create and record the rt signal trampoline.

Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-14-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 4f7a0a4c866fde385e65395f870d042c217d3c8b
      
https://github.com/qemu/qemu/commit/4f7a0a4c866fde385e65395f870d042c217d3c8b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/mips/signal.c

  Log Message:
  -----------
  linux-user/mips: Tidy install_sigtramp

The return value is constant 0, and unused as well -- change to void.
Drop inline marker.  Change tramp type to uint32_t* for clarity.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-15-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 317a33b6ebad8a9e94109b4421804f7945eb8935
      
https://github.com/qemu/qemu/commit/317a33b6ebad8a9e94109b4421804f7945eb8935
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/mips/signal.c
    M linux-user/mips/target_signal.h
    M linux-user/mips64/target_signal.h

  Log Message:
  -----------
  linux-user/mips: Implement setup_sigtramp

Create and record the two signal trampolines.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-16-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: f32d3b67938a42e320016fd15f5c34afa0fb105a
      
https://github.com/qemu/qemu/commit/f32d3b67938a42e320016fd15f5c34afa0fb105a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/nios2/target_signal.h

  Log Message:
  -----------
  linux-user/nios2: Document non-use of setup_sigtramp

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-17-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 9ce3ad4452539723d9204dbfc137f57124eb8e36
      
https://github.com/qemu/qemu/commit/9ce3ad4452539723d9204dbfc137f57124eb8e36
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/openrisc/signal.c
    M linux-user/openrisc/target_signal.h

  Log Message:
  -----------
  linux-user/openrisc: Implement setup_sigtramp

Create and record the rt signal trampoline.

Reviewed-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-18-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 5d2fc70f57916abc6afbe739636dffed6a5009c7
      
https://github.com/qemu/qemu/commit/5d2fc70f57916abc6afbe739636dffed6a5009c7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/ppc/signal.c

  Log Message:
  -----------
  linux-user/ppc: Simplify encode_trampoline

The sigret parameter is never 0, and even if it was the encoding
of the LI instruction would still work.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-19-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: c790e4ebfed8174f65d685f5a4f3262873c237a5
      
https://github.com/qemu/qemu/commit/c790e4ebfed8174f65d685f5a4f3262873c237a5
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/ppc/signal.c
    M linux-user/ppc/target_signal.h

  Log Message:
  -----------
  linux-user/ppc: Implement setup_sigtramp

Create and record the two signal trampolines.

Cc: qemu-ppc@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-20-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 3c62b5d2015b8292d4453f8174abf5fadbc6cc0f
      
https://github.com/qemu/qemu/commit/3c62b5d2015b8292d4453f8174abf5fadbc6cc0f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/riscv/signal.c
    M linux-user/riscv/target_signal.h

  Log Message:
  -----------
  linux-user/riscv: Implement setup_sigtramp

Create and record the rt signal trampoline.

This fixes a bug wrt libgcc fallback unwinding.  It expects
the stack pointer to point to the siginfo_t, whereas we had
inexplicably placed our private signal trampoline at the start
of the signal frame instead of the end.  Now moot because we
have removed it from the stack frame entirely.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-21-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 31330e6cecfdf2c4617ecb95c7e2804a8dae2488
      
https://github.com/qemu/qemu/commit/31330e6cecfdf2c4617ecb95c7e2804a8dae2488
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/s390x/signal.c
    M linux-user/s390x/target_signal.h

  Log Message:
  -----------
  linux-user/s390x: Implement setup_sigtramp

Create and record the two signal trampolines.
Use them when the guest does not use SA_RESTORER.

Cc: qemu-s390x@nongnu.org
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-22-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: b9188f9ccc2af655666cfaac12ff9fb4db3c6009
      
https://github.com/qemu/qemu/commit/b9188f9ccc2af655666cfaac12ff9fb4db3c6009
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/sh4/signal.c
    M linux-user/sh4/target_signal.h

  Log Message:
  -----------
  linux-user/sh4: Implement setup_sigtramp

Create and record the two signal trampolines.
Use them when the guest does not use SA_RESTORER.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-23-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 3f7685eaf90b36d0dc39d4719840e736c019a05c
      
https://github.com/qemu/qemu/commit/3f7685eaf90b36d0dc39d4719840e736c019a05c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/sparc/signal.c
    M linux-user/sparc/target_signal.h

  Log Message:
  -----------
  linux-user/sparc: Implement setup_sigtramp

Create and record the two signal trampolines.
Use them when the guest does not use SA_RESTORER.

Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-24-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 55e83c200594b5c3ab412dec2646898571b08b40
      
https://github.com/qemu/qemu/commit/55e83c200594b5c3ab412dec2646898571b08b40
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/xtensa/signal.c
    M linux-user/xtensa/target_signal.h

  Log Message:
  -----------
  linux-user/xtensa: Implement setup_sigtramp

Create and record the rt signal trampoline.
Use it when the guest does not use SA_RESTORER.

Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-25-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 525c4670c5612336cc50fa4190bdc72c1e3ee270
      
https://github.com/qemu/qemu/commit/525c4670c5612336cc50fa4190bdc72c1e3ee270
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Remove default for TARGET_ARCH_HAS_SIGTRAMP_PAGE

All targets now define TARGET_ARCH_HAS_SIGTRAMP_PAGE.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-26-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: efee71c8ca181d4f5b2211736b38a74a2a223375
      
https://github.com/qemu/qemu/commit/efee71c8ca181d4f5b2211736b38a74a2a223375
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M tests/tcg/hppa/Makefile.target
    M tests/tcg/i386/Makefile.target
    M tests/tcg/multiarch/Makefile.target
    M tests/tcg/sh4/Makefile.target

  Log Message:
  -----------
  tests/tcg/multiarch: Re-enable signals test for most guests

With signal trampolines safely off the stack for all
guests besides hppa, we can re-enable this test.

It does show up a problem with sh4 (unrelated?),
so leave that test disabled for now.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-27-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: e7ab6584784dbbd701f0ffe7b29918f44dcd98fd
      
https://github.com/qemu/qemu/commit/e7ab6584784dbbd701f0ffe7b29918f44dcd98fd
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M linux-user/aarch64/signal.c
    M linux-user/aarch64/target_signal.h
    M linux-user/alpha/signal.c
    M linux-user/alpha/target_signal.h
    M linux-user/arm/signal.c
    M linux-user/arm/target_signal.h
    M linux-user/cris/signal.c
    M linux-user/cris/target_signal.h
    M linux-user/elfload.c
    M linux-user/hexagon/signal.c
    M linux-user/hexagon/target_signal.h
    M linux-user/hppa/target_signal.h
    M linux-user/i386/signal.c
    M linux-user/i386/target_signal.h
    M linux-user/m68k/signal.c
    M linux-user/m68k/target_signal.h
    M linux-user/microblaze/signal.c
    M linux-user/microblaze/target_signal.h
    M linux-user/mips/signal.c
    M linux-user/mips/target_signal.h
    M linux-user/mips64/target_signal.h
    M linux-user/nios2/target_signal.h
    M linux-user/openrisc/signal.c
    M linux-user/openrisc/target_signal.h
    M linux-user/ppc/signal.c
    M linux-user/ppc/target_signal.h
    M linux-user/riscv/signal.c
    M linux-user/riscv/target_signal.h
    M linux-user/s390x/signal.c
    M linux-user/s390x/target_signal.h
    M linux-user/sh4/signal.c
    M linux-user/sh4/target_signal.h
    M linux-user/signal-common.h
    M linux-user/signal.c
    M linux-user/sparc/signal.c
    M linux-user/sparc/target_signal.h
    M linux-user/x86_64/target_signal.h
    M linux-user/xtensa/signal.c
    M linux-user/xtensa/target_signal.h
    M tests/tcg/hppa/Makefile.target
    M tests/tcg/i386/Makefile.target
    M tests/tcg/multiarch/Makefile.target
    M tests/tcg/sh4/Makefile.target

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/vivier/tags/linux-user-for-6.2-pull-request' into staging

Pull request linux-user 20211004

Move signal trampolines to new page

# gpg: Signature made Mon 04 Oct 2021 12:43:53 AM PDT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]

* remotes/vivier/tags/linux-user-for-6.2-pull-request: (26 commits)
  tests/tcg/multiarch: Re-enable signals test for most guests
  linux-user: Remove default for TARGET_ARCH_HAS_SIGTRAMP_PAGE
  linux-user/xtensa: Implement setup_sigtramp
  linux-user/sparc: Implement setup_sigtramp
  linux-user/sh4: Implement setup_sigtramp
  linux-user/s390x: Implement setup_sigtramp
  linux-user/riscv: Implement setup_sigtramp
  linux-user/ppc: Implement setup_sigtramp
  linux-user/ppc: Simplify encode_trampoline
  linux-user/openrisc: Implement setup_sigtramp
  linux-user/nios2: Document non-use of setup_sigtramp
  linux-user/mips: Implement setup_sigtramp
  linux-user/mips: Tidy install_sigtramp
  linux-user/microblaze: Implement setup_sigtramp
  linux-user/m68k: Implement setup_sigtramp
  linux-user/x86_64: Raise SIGSEGV if SA_RESTORER not set
  linux-user/i386: Implement setup_sigtramp
  linux-user/hppa: Document non-use of setup_sigtramp
  linux-user/hexagon: Implement setup_sigtramp
  linux-user/cris: Implement setup_sigtramp
  ...

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/30bd1db58b09...e7ab6584784d



reply via email to

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