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

2022-12-13 Thread Ilya Leoshkevich
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

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

2022-12-11 Thread Richard Henderson
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 --- target/s390x/cpu.h