qemu-ppc
[Top][All Lists]
Advanced

[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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]