Re: [Qemu-devel] [PATCH 09/11] target/hppa: add TLB protection id check

2019-03-11 Thread Richard Henderson
On 3/11/19 12:16 PM, Sven Schnelle wrote: > +/* access_id == 0 means public page and no check is performed */ > +if ((env->psw & PSW_P) && ent->access_id) { > +wd = 1; > + > +if (ent->access_id == (env->cr[CR_PID1] >> 1)) { > +wd &= env->cr[CR_PID1];

[Qemu-devel] [PATCH 09/11] target/hppa: add TLB protection id check

2019-03-11 Thread Sven Schnelle
Signed-off-by: Sven Schnelle --- target/hppa/cpu.h| 4 target/hppa/mem_helper.c | 28 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h index 861bbb1f16..d808796ee3 100644 --- a/target/hppa/cpu.h +++ b/