From: Peter Maydell <peter.maydell@linaro.org>
To: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Rob Herring <rob.herring@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>,
"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>
Subject: Re: [Qemu-devel] [PATCH] hw/intc/arm_gic: Fix GIC_SET_LEVEL
Date: Mon, 24 Feb 2014 15:36:48 +0000 [thread overview]
Message-ID: <CAFEAcA-h6Jw1g5TTLJEu5M9Z_JB_59yMRwJsV2LbqqGy=6b6DA@mail.gmail.com> (raw)
In-Reply-To: <CAMJs5B8UVh3wPkGFWgtAQF9uKVeC_0dCXFouzF842p9aL8B9=Q@mail.gmail.com>
On 23 February 2014 16:32, Christoffer Dall <christoffer.dall@linaro.org> wrote:
> On 21 February 2014 17:03, Christoffer Dall <christoffer.dall@linaro.org> wrote:
>> The GIC_SET_LEVEL macro unfortunately overwrote the entire level
>> bitmask instead of just or'ing on the necessary bits, causing active
>> level PPIs on a core to clear PPIs on other cores.
>>
>> I introduced this bug, sorry about that.
>>
> Actually it turns out this was ancient, I was a little too quick to
> blame myself there.
Yes, it's been present since 2007 or so. Probably not noticed
at that time because all the 11MPcore PPIs are edge rather than
level triggered.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
I'll remove the line about it being your fault when I apply
this to target-arm.next :-)
thanks
-- PMM
prev parent reply other threads:[~2014-02-24 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 1:03 [Qemu-devel] [PATCH] hw/intc/arm_gic: Fix GIC_SET_LEVEL Christoffer Dall
2014-02-23 16:32 ` Christoffer Dall
2014-02-24 15:36 ` 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='CAFEAcA-h6Jw1g5TTLJEu5M9Z_JB_59yMRwJsV2LbqqGy=6b6DA@mail.gmail.com' \
--to=peter.maydell@linaro.org \
--cc=christoffer.dall@linaro.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=qemu-devel@nongnu.org \
--cc=rob.herring@linaro.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 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).