Re: [PATCH v6 1/2] target/s390x: Implement the MVPG condition-code-option bit

2021-03-12 Thread Richard Henderson
On 3/11/21 1:44 PM, David Hildenbrand wrote: +if (exc) { +#if !defined(CONFIG_USER_ONLY) +if (exc == PGM_PROTECTION) { +stq_phys(env_cpu(env)->as, + env->psa + offsetof(LowCore, trans_exc_code), + env->tlb_fill_tec); +tcg

[PATCH v6 1/2] target/s390x: Implement the MVPG condition-code-option bit

2021-03-11 Thread David Hildenbrand
From: Richard Henderson If the CCO bit is set, MVPG should not generate an exception but report page translation faults via a CC code. Create a new helper, access_prepare_nf, which can use probe_access_flags in non-faulting mode, and then handle watchpoints. Signed-off-by: Richard Henderson [t