From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47576 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ogige-00025N-Al for qemu-devel@nongnu.org; Wed, 04 Aug 2010 14:27:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ogigc-0004HD-Sy for qemu-devel@nongnu.org; Wed, 04 Aug 2010 14:27:32 -0400 Received: from smtp-out.google.com ([216.239.44.51]:40610) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ogigc-0004H1-E8 for qemu-devel@nongnu.org; Wed, 04 Aug 2010 14:27:30 -0400 Received: from hpaq14.eem.corp.google.com (hpaq14.eem.corp.google.com [172.25.149.14]) by smtp-out.google.com with ESMTP id o74IRRTV005483 for ; Wed, 4 Aug 2010 11:27:27 -0700 Received: from vws7 (vws7.prod.google.com [10.241.21.135]) by hpaq14.eem.corp.google.com with ESMTP id o74IQd3s013879 for ; Wed, 4 Aug 2010 11:27:26 -0700 Received: by vws7 with SMTP id 7so5223809vws.13 for ; Wed, 04 Aug 2010 11:27:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20100728142357.GG13511@bee.dooz.org> References: <20100728142357.GG13511@bee.dooz.org> Date: Wed, 4 Aug 2010 11:27:23 -0700 Message-ID: Subject: Re: [Qemu-devel] qemu cp15 access From: Raymes Khoury Content-Type: multipart/alternative; boundary=e0cb4e887a3fc3dec7048d0395ea List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Lo=EFc_Minier?= Cc: qemu-devel@nongnu.org --e0cb4e887a3fc3dec7048d0395ea Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable That patch did not fix my issue. My problem turned out to be due to TLS accesses to cp15 not being allowed by qemu in user mode, even though these are permitted in ARMv6 and above architectures (e.g. see http://infocenter.arm.com/help/topic/com.arm.doc.ddi0388f/CIHFGFGE.html). This was corrected by patch: http://patchwork.ozlabs.org/patch/43797/ which seems to be applied in trunk and will be released in 0.13.0 Thanks. On Wed, Jul 28, 2010 at 7:23 AM, Lo=EFc Minier wrote: > On Mon, Jul 26, 2010, Raymes Khoury wrote: > > I am having the problem with qemu, as described in the post > > > http://old.nabble.com/-PATCH:-PR-target-42671--Use-Thumb1-GOT-address-loa= ding-sequence-for--%09Thumb2-td27124497.html > > where > > accessing cp15 on ARM causes an error: > > See mid 1280086076-20649-1-git-send-email-loic.minier@linaro.org and > thread > > http://article.gmane.org/gmane.comp.emulators.qemu/77092 > > -- > Lo=EFc Minier > > --e0cb4e887a3fc3dec7048d0395ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable That patch did not fix my issue. My problem turned out to be due to TLS acc= esses to cp15 not being allowed by qemu in user mode, even though these are= permitted in ARMv6 and above architectures (e.g. see=A0http://inf= ocenter.arm.com/help/topic/com.arm.doc.ddi0388f/CIHFGFGE.html). This wa= s corrected by patch:=A0http://patchwork.ozlabs.org/patch/43797/=A0which seems to be applied = in trunk and will be released in 0.13.0

Thanks.

On Wed, Jul 2= 8, 2010 at 7:23 AM, Lo=EFc Minier <lool@dooz.org> wrote:
On Mon, Jul 26, 2010, Raymes Khoury wrote:
> I am having the problem with qemu, as described in the post
> http://old.nabble.com/-PATCH:-PR-target-42671--Use-Thumb1-GOT-address-lo= ading-sequence-for--%09Thumb2-td27124497.html
> where
> accessing cp15 on ARM causes an error:

=A0See mid 1280086076-20649-1-git-send-email-loic.minier@linaro.org<= /a> and
=A0thread

=A0
http://article.gmane.org/gmane.comp.emulators.qemu/77092=

--
Lo=EFc Minier


--e0cb4e887a3fc3dec7048d0395ea--