Re: [Qemu-devel] [PATCH 15/29] target-sparc: allow priveleged ASIs in hyperprivileged mode

2016-10-11 Thread Richard Henderson
On 10/01/2016 05:05 AM, Artyom Tarasenko wrote: @@ -1295,10 +1295,9 @@ uint64_t helper_ld_asi(CPUSPARCState *env, target_ulong addr, asi &= 0xff; -if ((asi < 0x80 && (env->pstate & PS_PRIV) == 0) -|| (cpu_has_hypervisor(env) -&& asi >= 0x30 && asi < 0x80 -

[Qemu-devel] [PATCH 15/29] target-sparc: allow priveleged ASIs in hyperprivileged mode

2016-10-01 Thread Artyom Tarasenko
Signed-off-by: Artyom Tarasenko --- target-sparc/ldst_helper.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/target-sparc/ldst_helper.c b/target-sparc/ldst_helper.c index 5fb9024..70febcb 100644 --- a/target-sparc/ldst_helper.c +++ b/target-sparc/ldst_helper.c