Re: [Qemu-devel] [PATCH] target-arm/helper.c: fix access rights of SP_ELs

2016-05-14 Thread Tsung-Han Lin
2016-05-14 19:08 GMT+09:00 Peter Maydell : > > > The ARM ARM defines that SP_EL1 is accessible only from > EL2 or higher via the system-register instructions, and > SP_EL2 only from EL3 or higher (see table C5-7 on page > C5-288 of the v8 ARM ARM DDI0487A.h, or the register description > pages for

Re: [Qemu-devel] [PATCH] target-arm/helper.c: fix access rights of SP_ELs

2016-05-14 Thread Peter Maydell
On 14 May 2016 at 06:07, Tsung-Han Lin wrote: > Fix the access rights of SP_EL2 and SP_EL1, which should be able to be > accessed from EL2 and EL1 respectively. > > Signed-off-by: Tsung-Han Lin > --- > target-arm/helper.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[Qemu-devel] [PATCH] target-arm/helper.c: fix access rights of SP_ELs

2016-05-13 Thread Tsung-Han Lin
Fix the access rights of SP_EL2 and SP_EL1, which should be able to be accessed from EL2 and EL1 respectively. Signed-off-by: Tsung-Han Lin --- target-arm/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index a2ab701ca5c2