From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] target-arm: Fixed ARMv7-M SHPR access
Date: Sun, 18 Dec 2011 14:30:46 +0100 [thread overview]
Message-ID: <4EEDEB06.8000206@embedded-brains.de> (raw)
In-Reply-To: <CAFEAcA-L4NZJ-TL-TWX1RqomeL3-u1BenD-Mrde4WB1-QzcGxQ@mail.gmail.com>
On 17/12/11 01:50, Peter Maydell wrote:
> On 16 December 2011 18:50, Sebastian Huber
> <sebastian.huber@embedded-brains.de> wrote:
>> According to "ARMv7-M Architecture Reference Manual" issue D section
>> "B3.2.10 System Handler Prioriy Register 1, SHPR1", "B3.2.11 System
>> Handler Prioriy Register 2, SHPR2", and "B3.2.12 System Handler Prioriy
>> Register 3, SHPR3".
> This would fix the specific issue of not being able to do byte or halfword
> accesses to the SHPR registers, but it doesn't do anything about other
> byte-accessible registers like the CFSR.
>
> The right fix for this is for armv7m_nvic to expose a memory region for
> the system control space which implements byte and halfword accesses,
> and not to try to indirect everything through a single GIC region.
I am primary a Qemu user and fixed the bugs only as far as it was
necessary to run my test suites. I used the surrounding code as a
reference. Maybe I find some time in the next months to clean this up.
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
next prev parent reply other threads:[~2011-12-18 13:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 18:50 [Qemu-devel] [PATCH] target-arm: Fixed ARMv7-M SHPR access Sebastian Huber
2011-12-17 0:50 ` Peter Maydell
2011-12-18 13:30 ` Sebastian Huber [this message]
2011-12-18 13:54 ` Peter Maydell
-- strict thread matches above, loose matches on Subject: below --
2011-12-16 18:58 Sebastian Huber
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=4EEDEB06.8000206@embedded-brains.de \
--to=sebastian.huber@embedded-brains.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.