qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabien Chouteau <chouteau@adacore.com>
To: "Züpke, Alexander" <azu@sysgo.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space
Date: Mon, 7 Dec 2015 16:03:02 +0100	[thread overview]
Message-ID: <56659FA6.7050703@adacore.com> (raw)
In-Reply-To: <450274839.2417.427cb7f3-4c69-4f2a-a0fb-fb2bd9dae5c4.open-xchange@xchange.sysgo.com>

On 12/07/2015 02:07 PM, "Züpke, Alexander" wrote:
> Hi Fabien,
> 
>> On December 7, 2015 at 1:56 PM Fabien Chouteau <chouteau@adacore.com> 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.
> 
> 

You're right, and ASI 0xA is also user data in SPARKv9.

Patch looks good then :)

Thanks,

  reply	other threads:[~2015-12-07 15:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 15:01 [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space Alex Zuepke
2015-12-07 11:35 ` Fabien Chouteau
2015-12-07 12:41   ` "Züpke, Alexander"
2015-12-07 12:56     ` Fabien Chouteau
2015-12-07 13:07       ` "Züpke, Alexander"
2015-12-07 15:03         ` Fabien Chouteau [this message]
2015-12-08 19:59 ` [Qemu-devel] [PATCH for-2.5] " Richard Henderson
2015-12-08 21:28   ` Peter Maydell
2015-12-09 23:24     ` Mark Cave-Ayland
2015-12-10 11:43       ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56659FA6.7050703@adacore.com \
    --to=chouteau@adacore.com \
    --cc=azu@sysgo.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).