[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 51/66] linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v6 51/66] linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling |
Date: |
Sun, 31 Oct 2021 11:15:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
On 10/30/21 19:16, Richard Henderson wrote:
> We will raise SIGBUS directly from cpu_loop_exit_sigbus.
>
> 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 */
>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v6 36/66] target/s390x: Use probe_access_flags in s390_probe_access, (continued)
- [PATCH v6 36/66] target/s390x: Use probe_access_flags in s390_probe_access, Richard Henderson, 2021/10/30
- [PATCH v6 41/66] accel/tcg: Restrict TCGCPUOps::tlb_fill() to sysemu, Richard Henderson, 2021/10/30
- [PATCH v6 45/66] target/arm: Implement arm_cpu_record_sigbus, Richard Henderson, 2021/10/30
- [PATCH v6 40/66] target/xtensa: Make xtensa_cpu_tlb_fill sysemu only, Richard Henderson, 2021/10/30
- [PATCH v6 52/66] target/s390x: Implement s390x_cpu_record_sigbus, Richard Henderson, 2021/10/30
- [PATCH v6 44/66] target/alpha: Implement alpha_cpu_record_sigbus, Richard Henderson, 2021/10/30
- [PATCH v6 46/66] linux-user/hppa: Remove EXCP_UNALIGN handling, Richard Henderson, 2021/10/30
- [PATCH v6 51/66] linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling, Richard Henderson, 2021/10/30
- Re: [PATCH v6 51/66] linux-user/ppc: Remove POWERPC_EXCP_ALIGN handling,
Philippe Mathieu-Daudé <=
- [PATCH v6 42/66] hw/core: Add TCGCPUOps.record_sigbus, Richard Henderson, 2021/10/30
- [PATCH v6 43/66] linux-user: Add cpu_loop_exit_sigbus, Richard Henderson, 2021/10/30
- [PATCH v6 50/66] target/ppc: Restrict ppc_cpu_do_unaligned_access to sysemu, Richard Henderson, 2021/10/30
- [PATCH v6 49/66] target/ppc: Set fault address in ppc_cpu_do_unaligned_access, Richard Henderson, 2021/10/30
- [PATCH v6 59/66] tcg: Add helper_unaligned_{ld, st} for user-only sigbus, Richard Henderson, 2021/10/30
- [PATCH v6 57/66] accel/tcg: Report unaligned atomics for user-only, Richard Henderson, 2021/10/30
- [PATCH v6 60/66] linux-user: Handle BUS_ADRALN in host_signal_handler, Richard Henderson, 2021/10/30
- [PATCH v6 56/66] target/sparc: Set fault address in sparc_cpu_do_unaligned_access, Richard Henderson, 2021/10/30
- [PATCH v6 62/66] linux-user: Disable more prctl subcodes, Richard Henderson, 2021/10/30
- [PATCH v6 54/66] target/sparc: Remove DEBUG_UNALIGNED, Richard Henderson, 2021/10/30