[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 53/67] linux-user/hppa: Remove POWERPC_EXCP_ALIGN handling
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v5 53/67] linux-user/hppa: Remove POWERPC_EXCP_ALIGN handling |
Date: |
Sat, 30 Oct 2021 01:39:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Typo s/hppa/ppc/ in subject.
On 10/15/21 06:10, 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 */
>
- [PATCH v5 45/67] target/alpha: Implement alpha_cpu_record_sigbus, (continued)
- [PATCH v5 45/67] target/alpha: Implement alpha_cpu_record_sigbus, Richard Henderson, 2021/10/15
- [PATCH v5 48/67] target/microblaze: Do not set MO_ALIGN for user-only, Richard Henderson, 2021/10/15
- [PATCH v5 51/67] target/ppc: Restrict ppc_cpu_do_unaligned_access to sysemu, Richard Henderson, 2021/10/15
- [PATCH v5 52/67] target/s390x: Implement s390x_cpu_record_sigbus, Richard Henderson, 2021/10/15
- [PATCH v5 47/67] linux-user/hppa: Remove EXCP_UNALIGN handling, Richard Henderson, 2021/10/15
- [PATCH v5 50/67] target/ppc: Set fault address in ppc_cpu_do_unaligned_access, Richard Henderson, 2021/10/15
- [PATCH v5 53/67] linux-user/hppa: Remove POWERPC_EXCP_ALIGN handling, Richard Henderson, 2021/10/15
- Re: [PATCH v5 53/67] linux-user/hppa: Remove POWERPC_EXCP_ALIGN handling,
Philippe Mathieu-Daudé <=
- [PATCH v5 54/67] target/sh4: Set fault address in superh_cpu_do_unaligned_access, Richard Henderson, 2021/10/15
- [PATCH v5 57/67] target/sparc: Set fault address in sparc_cpu_do_unaligned_access, Richard Henderson, 2021/10/15
- [PATCH v5 55/67] target/sparc: Remove DEBUG_UNALIGNED, Richard Henderson, 2021/10/15
- [PATCH v5 60/67] tcg: Add helper_unaligned_{ld, st} for user-only sigbus, Richard Henderson, 2021/10/15
- [PATCH v5 58/67] accel/tcg: Report unaligned atomics for user-only, Richard Henderson, 2021/10/15
- [PATCH v5 61/67] linux-user: Handle BUS_ADRALN in host_signal_handler, Richard Henderson, 2021/10/15