qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Züpke, Alexander
Subject: Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space
Date: Mon, 7 Dec 2015 14:07:19 +0100 (CET)

Hi Fabien,

> On December 7, 2015 at 1:56 PM Fabien Chouteau <address@hidden> 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 that allow casa from user space, this
> special case is only available on LEON3 so that should be taken into
> account in the priv_insn check.
> 
> Regards,
> 

No, other v8 SPARCs do not have CASA at all, only LEON3 and 4 have CASA
backported from v9. But when CASA is available on LEON, it's available
in both user and supervisor mode. The only restriction for user mode
is that one must use ASI 0xa.


Best regards
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]