qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v2 14/27] target/s390x: Assert masking of psw.addr in cpu_get


From: Ilya Leoshkevich
Subject: Re: [PATCH v2 14/27] target/s390x: Assert masking of psw.addr in cpu_get_tb_cpu_state
Date: Tue, 13 Dec 2022 18:14:16 +0100

On Sun, Dec 11, 2022 at 09:27:49AM -0600, Richard Henderson wrote:
> When changing modes via SAM, we raise a specification exception if the
> new PC is out of range.  The masking in s390x_tr_init_disas_context
> was too late to be correct, but may be removed.  Add a debugging
> assert in cpu_get_tb_cpu_state.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  target/s390x/cpu.h           | 20 ++++++++++++++------
>  target/s390x/tcg/translate.c |  6 +-----
>  2 files changed, 15 insertions(+), 11 deletions(-)

Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>



reply via email to

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