[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 51/60] linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling
From: |
Richard Henderson |
Subject: |
[PATCH v7 51/60] linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling |
Date: |
Mon, 1 Nov 2021 13:27:20 -0400 |
We will raise SIGBUS directly from cpu_loop_exit_sigbus.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
linux-user/ppc/cpu_loop.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/linux-user/ppc/cpu_loop.c b/linux-user/ppc/cpu_loop.c
index 840b23736b..483e669300 100644
--- a/linux-user/ppc/cpu_loop.c
+++ b/linux-user/ppc/cpu_loop.c
@@ -162,14 +162,6 @@ void cpu_loop(CPUPPCState *env)
cpu_abort(cs, "External interrupt while in user mode. "
"Aborting\n");
break;
- case POWERPC_EXCP_ALIGN: /* Alignment exception */
- /* XXX: check this */
- info.si_signo = TARGET_SIGBUS;
- info.si_errno = 0;
- info.si_code = TARGET_BUS_ADRALN;
- info._sifields._sigfault._addr = env->nip;
- queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info);
- break;
case POWERPC_EXCP_PROGRAM: /* Program exception */
case POWERPC_EXCP_HV_EMU: /* HV emulation */
/* XXX: check this */
--
2.25.1
- [PATCH v7 29/60] target/microblaze: Make mb_cpu_tlb_fill sysemu only, (continued)
- [PATCH v7 29/60] target/microblaze: Make mb_cpu_tlb_fill sysemu only, Richard Henderson, 2021/11/01
- [PATCH v7 42/60] hw/core: Add TCGCPUOps.record_sigbus, Richard Henderson, 2021/11/01
- [PATCH v7 40/60] target/xtensa: Make xtensa_cpu_tlb_fill sysemu only, Richard Henderson, 2021/11/01
- [PATCH v7 44/60] target/alpha: Implement alpha_cpu_record_sigbus, Richard Henderson, 2021/11/01
- [PATCH v7 45/60] target/arm: Implement arm_cpu_record_sigbus, Richard Henderson, 2021/11/01
- [PATCH v7 47/60] target/microblaze: Do not set MO_ALIGN for user-only, Richard Henderson, 2021/11/01
- [PATCH v7 48/60] target/ppc: Move SPR_DSISR setting to powerpc_excp, Richard Henderson, 2021/11/01
- [PATCH v7 50/60] target/ppc: Restrict ppc_cpu_do_unaligned_access to sysemu, Richard Henderson, 2021/11/01
- [PATCH v7 41/60] accel/tcg: Restrict TCGCPUOps::tlb_fill() to sysemu, Richard Henderson, 2021/11/01
- [PATCH v7 43/60] linux-user: Add cpu_loop_exit_sigbus, Richard Henderson, 2021/11/01
- [PATCH v7 51/60] linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling,
Richard Henderson <=
- [PATCH v7 46/60] linux-user/hppa: Remove EXCP_UNALIGN handling, Richard Henderson, 2021/11/01
- [PATCH v7 49/60] target/ppc: Set fault address in ppc_cpu_do_unaligned_access, Richard Henderson, 2021/11/01
- [PATCH v7 56/60] target/sparc: Set fault address in sparc_cpu_do_unaligned_access, Richard Henderson, 2021/11/01
- [PATCH v7 54/60] target/sparc: Remove DEBUG_UNALIGNED, Richard Henderson, 2021/11/01
- [PATCH v7 57/60] accel/tcg: Report unaligned atomics for user-only, Richard Henderson, 2021/11/01
- [PATCH v7 58/60] accel/tcg: Report unaligned load/store for user-only, Richard Henderson, 2021/11/01
- [PATCH v7 52/60] target/s390x: Implement s390x_cpu_record_sigbus, Richard Henderson, 2021/11/01
- [PATCH v7 59/60] tcg: Add helper_unaligned_{ld, st} for user-only sigbus, Richard Henderson, 2021/11/01
- [PATCH v7 55/60] target/sparc: Split out build_sfsr, Richard Henderson, 2021/11/01
- [PATCH v7 53/60] target/sh4: Set fault address in superh_cpu_do_unaligned_access, Richard Henderson, 2021/11/01