From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5xJl-0005WF-So for qemu-devel@nongnu.org; Mon, 07 Dec 2015 10:03:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a5xJg-0006Jw-IS for qemu-devel@nongnu.org; Mon, 07 Dec 2015 10:03:09 -0500 Received: from mel.act-europe.fr ([194.98.77.210]:54274 helo=smtp.eu.adacore.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a5xJg-0006Jk-CU for qemu-devel@nongnu.org; Mon, 07 Dec 2015 10:03:04 -0500 References: <1449241262-3002-1-git-send-email-azu@sysgo.de> <56656F18.4060605@adacore.com> <704117391.2366.427cb7f3-4c69-4f2a-a0fb-fb2bd9dae5c4.open-xchange@xchange.sysgo.com> <56658203.2000301@adacore.com> <450274839.2417.427cb7f3-4c69-4f2a-a0fb-fb2bd9dae5c4.open-xchange@xchange.sysgo.com> From: Fabien Chouteau Message-ID: <56659FA6.7050703@adacore.com> Date: Mon, 7 Dec 2015 16:03:02 +0100 MIME-Version: 1.0 In-Reply-To: <450274839.2417.427cb7f3-4c69-4f2a-a0fb-fb2bd9dae5c4.open-xchange@xchange.sysgo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] sparc: allow CASA with ASI 0xa from user space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Z=c3=bcpke=2c_Alexander?= , qemu-devel@nongnu.org On 12/07/2015 02:07 PM, "Z=C3=BCpke, Alexander" wrote: > Hi Fabien, >=20 >> On December 7, 2015 at 1:56 PM Fabien Chouteau = wrote: >> On 12/07/2015 01:41 PM, "Z=C3=BCpke, 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, >> >=20 > 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. >=20 >=20 You're right, and ASI 0xA is also user data in SPARKv9. Patch looks good then :) Thanks,