qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 37/41] target/s390x: Implement s390_cpu_record_sigsegv


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 37/41] target/s390x: Implement s390_cpu_record_sigsegv
Date: Sun, 19 Sep 2021 20:39:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

On 9/18/21 20:45, Richard Henderson wrote:
> Move the masking of the address from cpu_loop into
> s390_cpu_record_sigsegv -- this is governed by hw, not linux.
> This does mean we have to raise our own exception, rather
> than return to the fallback.
> 
> Use maperr to choose between PGM_PROTECTION and PGM_ADDRESSING.
> Use the appropriate si_code for each in cpu_loop.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  target/s390x/s390x-internal.h  | 13 ++++++++++---
>  linux-user/s390x/cpu_loop.c    | 14 +++++++-------
>  target/s390x/cpu.c             |  6 ++++--
>  target/s390x/tcg/excp_helper.c | 18 +++++++++++-------
>  4 files changed, 32 insertions(+), 19 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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