Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space

2015-12-07 Thread Fabien Chouteau
On 12/07/2015 02:07 PM, "Züpke, Alexander" wrote: > Hi Fabien, > >> On December 7, 2015 at 1:56 PM Fabien Chouteau wrote: >> On 12/07/2015 01:41 PM, "Züpke, Alexander" wrote: >>> >>> The check for the CASA feature on SPARC v8 is already in the existng code, >>> just 3 lines above the second hunk

Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space

2015-12-07 Thread Züpke, Alexander
Hi Fabien, > On December 7, 2015 at 1:56 PM Fabien Chouteau wrote: > On 12/07/2015 01:41 PM, "Züpke, Alexander" wrote: > > > > The check for the CASA feature on SPARC v8 is already in the existng code, > > just 3 lines above the second hunk in the patch: > > > > Yes but you add a special case

Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space

2015-12-07 Thread Züpke, Alexander
Hi Fabien, > On December 7, 2015 at 12:35 PM Fabien Chouteau wrote: > > > Hello Alex, > > Thanks for your patch! I have a couple of comments. > > On 12/04/2015 04:01 PM, Alex Zuepke wrote: > > LEON3 allows the CASA instruction to be used from user space > > if the ASI is set to 0xa (user dat

Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space

2015-12-07 Thread Fabien Chouteau
On 12/07/2015 01:41 PM, "Züpke, Alexander" wrote: > > The check for the CASA feature on SPARC v8 is already in the existng code, > just 3 lines above the second hunk in the patch: > Yes but you add a special case that allow casa from user space, this special case is only available on LEON3 so th

Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space

2015-12-07 Thread Fabien Chouteau
Hello Alex, Thanks for your patch! I have a couple of comments. On 12/04/2015 04:01 PM, Alex Zuepke wrote: > LEON3 allows the CASA instruction to be used from user space > if the ASI is set to 0xa (user data). > > Signed-off-by: Alex Zuepke > --- > target-sparc/translate.c | 3 ++- > 1 file c

[Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space

2015-12-04 Thread Alex Zuepke
LEON3 allows the CASA instruction to be used from user space if the ASI is set to 0xa (user data). Signed-off-by: Alex Zuepke --- target-sparc/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 41a3319..6344