All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] target/sh4: Fix TB_FLAG_UNALIGN
@ 2022-08-29  2:13 Richard Henderson
  2022-08-29  2:16 ` Richard Henderson
  2022-08-29  9:05 ` BALATON Zoltan
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Henderson @ 2022-08-29  2:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: ysato, alex.bennee, qemu-stable

The value previously chosen overlaps GUSA_MASK.

Cc: qemu-stable@nongnu.org
Fixes: 4da06fb3062 ("target/sh4: Implement prctl_unalign_sigbus")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/856
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 target/sh4/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h
index 9f15ef913c..e79cbc59e2 100644
--- a/target/sh4/cpu.h
+++ b/target/sh4/cpu.h
@@ -84,7 +84,7 @@
 #define DELAY_SLOT_RTE         (1 << 2)
 
 #define TB_FLAG_PENDING_MOVCA  (1 << 3)
-#define TB_FLAG_UNALIGN        (1 << 4)
+#define TB_FLAG_UNALIGN        (1 << 13)
 
 #define GUSA_SHIFT             4
 #ifdef CONFIG_USER_ONLY
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-08-31 16:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-29  2:13 [PATCH] target/sh4: Fix TB_FLAG_UNALIGN Richard Henderson
2022-08-29  2:16 ` Richard Henderson
2022-08-29  9:05 ` BALATON Zoltan
2022-08-29 16:10   ` Richard Henderson
2022-08-31  1:30     ` Yoshinori Sato
2022-08-31 16:55       ` Richard Henderson
2022-08-31  8:30     ` Yoshinori Sato
2022-08-31 16:56       ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.