From: Peter Maydell <peter.maydell@linaro.org>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc: qemu-devel@nongnu.org, Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)
Date: Sun, 5 Jun 2011 20:23:06 +0100 [thread overview]
Message-ID: <BANLkTim_-xSOpuUhvz-hhyKwo2ein5arhg@mail.gmail.com> (raw)
In-Reply-To: <4DEBAF8C.2090502@embedded-brains.de>
On 5 June 2011 17:32, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
> On 05/06/11 16:57, Peter Maydell wrote:
>> I agree that the current behaviour is not right. However, to fix
>> this problem you need to work on a larger scale than attempting
>> to apply two line patches which fix your particular use case.
>
> I agree, but you have to start somewhere. What is "this problem"? Is
> that we have no execution priority (in the sense of the ARMv7
> architecture, B1.3.2 Exceptions), but instead use a mapping to CPSR_I
> and CPSR_F?
There is some notion of priority, see gic_update()
in hw/arm_gic.c; but it is only within the gic and is not
dealing with v7M specific issues.
At the moment I am mostly just warning you that you're entering
difficult territory; if I have time to read the qemu v7m code
more carefully next week I may have more concrete opinions.
-- PMM
prev parent reply other threads:[~2011-06-05 19:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-05 10:31 [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb) Sebastian Huber
2011-06-05 13:06 ` Sebastian Huber
2011-06-05 13:44 ` Peter Maydell
2011-06-05 14:17 ` Sebastian Huber
2011-06-05 14:57 ` Peter Maydell
2011-06-05 16:32 ` Sebastian Huber
2011-06-05 19:23 ` Peter Maydell [this message]
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=BANLkTim_-xSOpuUhvz-hhyKwo2ein5arhg@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
--cc=sebastian.huber@embedded-brains.de \
/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 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).