From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEJ4A-0000xq-A4 for qemu-devel@nongnu.org; Fri, 14 Feb 2014 08:44:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEJ46-000482-Dq for qemu-devel@nongnu.org; Fri, 14 Feb 2014 08:44:30 -0500 Received: from mel.v6.act-europe.fr ([2a02:2ab8:224:1::a0a:d2]:36895 helo=smtp.eu.adacore.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEJ46-00047p-7k for qemu-devel@nongnu.org; Fri, 14 Feb 2014 08:44:26 -0500 Message-ID: <52FE1DC6.10205@adacore.com> Date: Fri, 14 Feb 2014 14:44:38 +0100 From: Fabien Chouteau MIME-Version: 1.0 References: <1392285137-10598-1-git-send-email-sebastian.huber@embedded-brains.de> <52FCB414.2050306@adacore.com> <52FCC1F3.9020205@embedded-brains.de> <52FCDCD7.3070903@adacore.com> <52FCE9BC.7040703@adacore.com> <52FDD6C1.6050108@embedded-brains.de> In-Reply-To: <52FDD6C1.6050108@embedded-brains.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2] SPARC: Add and use CPU_FEATURE_CASA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Huber Cc: blauwirbel@gmail.com, qemu-devel@nongnu.org On 02/14/2014 09:41 AM, Sebastian Huber wrote: > On 2014-02-13 16:50, Fabien Chouteau wrote: >> >> This ASI 0x80 is really defined nowhere in Leon3 not even in the sourc= es :) >> Maybe there's a bug in binutils... Did you try to run this program on = a real board? >=20 > Yes, I tested it on a NGMP board with a LEON4 processor (documentation = is the same for CAS as in LEON3). >=20 Alright so we can use the patch as is.=20 > The ASI 0x80 is defined in the SPARC V9 manual, Table 12=97Address Spac= e Identifiers (ASIs). Here we have: >=20 > 0x80, ASI_PRIMARY, Unrestricted access, Primary address space >=20 > So should I change it to use User Data Access? >=20 No I think supervisor data access closer to the definition in Leon3's doc= .