qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: rbilson@qnx.com
Subject: [Qemu-devel] [PATCH 0/3] apic: ExtINT fixes for QNX
Date: Tue, 11 Nov 2014 15:23:18 +0100	[thread overview]
Message-ID: <1415715801-30782-1-git-send-email-pbonzini@redhat.com> (raw)

Richard Bilson reported some QNX emulation bugs.  I sent him offlist a
prototype patch, that he commented on.

The first patch here works around what is arguably a QNX bug, that is
triggered by the last two patches; but it is better to avoid spurious
HLT wakeups, so here it is.  The last two patches are what Richard
had tested, amended with a fix for Windows XP + KVM + QEMU apic.

Richard, can you confirm that these patches work?

Paolo

Paolo Bonzini (3):
  apic: avoid getting out of halted state on masked PIC interrupts
  apic: fix loss of IPI due to masked ExtINT
  apic: fix incorrect handling of ExtINT interrupts wrt processor
    priority

 hw/intc/apic.c    | 20 ++++++++++++--------
 target-i386/cpu.c |  8 ++++++--
 2 files changed, 18 insertions(+), 10 deletions(-)

-- 
2.1.0

             reply	other threads:[~2014-11-11 14:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11 14:23 Paolo Bonzini [this message]
2014-11-11 14:23 ` [Qemu-devel] [PATCH 1/3] apic: avoid getting out of halted state on masked PIC interrupts Paolo Bonzini
2014-11-11 14:23 ` [Qemu-devel] [PATCH 2/3] apic: fix loss of IPI due to masked ExtINT Paolo Bonzini
2014-11-11 14:23 ` [Qemu-devel] [PATCH 3/3] apic: fix incorrect handling of ExtINT interrupts wrt processor priority Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2014-11-14 17:53 [Qemu-devel] [PATCH 0/3] apic: ExtINT fixes for QNX Richard Bilson
2014-11-21 21:13 Richard Bilson

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=1415715801-30782-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rbilson@qnx.com \
    /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).