* [Qemu-devel] qemu cp15 access
@ 2010-07-26 20:46 Raymes Khoury
2010-07-28 14:23 ` Loïc Minier
0 siblings, 1 reply; 3+ messages in thread
From: Raymes Khoury @ 2010-07-26 20:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 787 bytes --]
I am having the problem with qemu, as described in the post
http://old.nabble.com/-PATCH:-PR-target-42671--Use-Thumb1-GOT-address-loading-sequence-for--%09Thumb2-td27124497.html
where
accessing cp15 on ARM causes an error:
qemu: fatal: cp15 insn ee1d2f70
R00=00000000 R01=00000000 R02=00000000 R03=00000000
R04=00000000 R05=00000000 R06=400821c4 R07=00000000
R08=00000000 R09=00000000 R10=4008bf0c R11=00000000
R12=4007f6d0 R13=4007f650 R14=4a1bb3c4 R15=4a1bb3cc
PSR=60000010 -ZC- A usr32
According to that post, there are patches which fix this error. Currently I
am running:
qemu-arm version 0.12.2
Is there a newer version of qemu which applies these patches? If not, are
there other workarounds to solve this problem? Are these patches available
to apply myself?
Thanks,
Raymes
[-- Attachment #2: Type: text/html, Size: 1379 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] qemu cp15 access
2010-07-26 20:46 [Qemu-devel] qemu cp15 access Raymes Khoury
@ 2010-07-28 14:23 ` Loïc Minier
2010-08-04 18:27 ` Raymes Khoury
0 siblings, 1 reply; 3+ messages in thread
From: Loïc Minier @ 2010-07-28 14:23 UTC (permalink / raw)
To: qemu-devel
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-loading-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ïc Minier
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] qemu cp15 access
2010-07-28 14:23 ` Loïc Minier
@ 2010-08-04 18:27 ` Raymes Khoury
0 siblings, 0 replies; 3+ messages in thread
From: Raymes Khoury @ 2010-08-04 18:27 UTC (permalink / raw)
To: Loïc Minier; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 977 bytes --]
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ïc 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-loading-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ïc Minier
>
>
[-- Attachment #2: Type: text/html, Size: 1775 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-04 18:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 20:46 [Qemu-devel] qemu cp15 access Raymes Khoury
2010-07-28 14:23 ` Loïc Minier
2010-08-04 18:27 ` Raymes Khoury
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).