Skip to contentSkip to conversation

riscv-to-apply queue

GIT PULL Applied Alistair Francis 2 participants 3 messages Aug 1, 2022 – Aug 2, 2022 RISC-V

lore
Share & tools
lore
#0 lore raw

From: Alistair Francis <[email protected]>

The following changes since commit 0e0c2cf6de0bc6538840837c63b25817cd417347:

Merge tag 'pull-target-arm-20220801' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-08-01 12:00:08 -0700)

are available in the Git repository at:

[email protected]:alistair23/qemu.git tags/pull-riscv-to-apply-20220802

for you to fetch changes up to 1eaa63429a9944265c92efdb94c02fabb231f564:

linux-user/riscv: Align signal frame to 16 bytes (2022-08-02 08:56:49 +1000)

----------------------------------------------------------------
Seventh RISC-V PR for QEMU 7.1

This is a second PR to go in for RC1. It fixes a bug we have had for awhile, but it's a simple fix so let's pull it in for RC1.

* linux-user/riscv: Align signal frame to 16 bytes

----------------------------------------------------------------
Richard Henderson (1):
linux-user/riscv: Align signal frame to 16 bytes

 linux-user/riscv/signal.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
#1 lore raw

[PULL 1/1] linux-user/riscv: Align signal frame to 16 bytes

From: Richard Henderson <[email protected]>

Follow the kernel's alignment, as we already noted.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1093

Message-Id: <[email protected]>

---
 linux-user/riscv/signal.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
linux-user/riscv/signal.c +1 -3
index 296e39fbf0..eaa168199a 100644
@@ -64,9 +64,7 @@ static abi_ulong get_sigframe(struct target_sigaction *ka,
 
     /* This is the X/Open sanctioned signal stack switching.  */
     sp = target_sigsp(sp, ka) - framesize;
-
-    /* XXX: kernel aligns with 0xf ? */
-    sp &= ~3UL; /* align sp on 4-byte boundary */
+    sp &= ~0xf;
 
     return sp;
 }
Signature · 1 line
2.37.1
#2 lore raw
In reply to Alistair Francis
Quoted 14 lines · Alistair Francis

From: Alistair Francis <[email protected]>

The following changes since commit 0e0c2cf6de0bc6538840837c63b25817cd417347:

   Merge tag 'pull-target-arm-20220801' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-08-01 12:00:08 -0700)

are available in the Git repository at:

   [email protected]:alistair23/qemu.git tags/pull-riscv-to-apply-20220802

for you to fetch changes up to 1eaa63429a9944265c92efdb94c02fabb231f564:

   linux-user/riscv: Align signal frame to 16 bytes (2022-08-02 08:56:49 +1000)
Quoted 7 lines

----------------------------------------------------------------
Seventh RISC-V PR for QEMU 7.1

This is a second PR to go in for RC1. It fixes a bug we have had for awhile, but it's a simple fix so let's pull it in for RC1.

* linux-user/riscv: Align signal frame to 16 bytes

Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/7.1 as appropriate.

r~

Quoted 8 lines

----------------------------------------------------------------
Richard Henderson (1):
linux-user/riscv: Align signal frame to 16 bytes

  linux-user/riscv/signal.c | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)