qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] apic: ExtINT fixes for QNX
@ 2014-11-11 14:23 Paolo Bonzini
  2014-11-11 14:23 ` [Qemu-devel] [PATCH 1/3] apic: avoid getting out of halted state on masked PIC interrupts Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paolo Bonzini @ 2014-11-11 14:23 UTC (permalink / raw)
  To: qemu-devel; +Cc: rbilson

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] apic: ExtINT fixes for QNX
@ 2014-11-14 17:53 Richard Bilson
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Bilson @ 2014-11-14 17:53 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]

I've been testing these against our entire kernel regression suite. While they definitely fix the original problems, there is one test that now hangs. I'm going to have to get to the bottom of that failure before I can sign off.

________________________________________________________________________
From: Paolo Bonzini <pbonzini@redhat.com<mailto:pbonzini@redhat.com>>
Date: Tue Nov 11 2014 09:23:38 GMT-0500 (EST)
To: qemu-devel@nongnu.org <qemu-devel@nongnu.org<mailto:qemu-devel@nongnu.org>>
Cc: Richard Bilson <rbilson@qnx.com<mailto:rbilson@qnx.com>>
Subject: [PATCH 0/3] apic: ExtINT fixes for QNX

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



[-- Attachment #2: Type: text/html, Size: 2606 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] apic: ExtINT fixes for QNX
@ 2014-11-21 21:13 Richard Bilson
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Bilson @ 2014-11-21 21:13 UTC (permalink / raw)
  To: Richard Bilson, Paolo Bonzini, qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 1996 bytes --]

The one failure turns out to be an intermittent failure that has nothing to do with the patch and probably nothing to do with qemu at all. So I heartily approve of these patches.

Thanks very much, Paolo, for taking the time to implement these fixes.

From: Richard Bilson <rbilson@qnx.com<mailto:rbilson@qnx.com>>
Date: Fri Nov 14 2014 12:53:49 GMT-0500 (EST)
To: Paolo Bonzini <pbonzini@redhat.com<mailto:pbonzini@redhat.com>>, qemu-devel@nongnu.org <qemu-devel@nongnu.org<mailto:qemu-devel@nongnu.org>>
Subject: Re: [PATCH 0/3] apic: ExtINT fixes for QNX

I've been testing these against our entire kernel regression suite. While they definitely fix the original problems, there is one test that now hangs. I'm going to have to get to the bottom of that failure before I can sign off.

___________________​____________________​____________________​_____________
From: Paolo Bonzini <pbonzini@redhat.com<mailto:pbonzini@redhat.com>>
Date: Tue Nov 11 2014 09:23:38 GMT-0500 (EST)
To: qemu-devel@nongnu.org <qemu-devel@nongnu.org<mailto:qemu-devel@nongnu.org>>
Cc: Richard Bilson <rbilson@qnx.com<mailto:rbilson@qnx.com>>
Subject: [PATCH 0/3] apic: ExtINT fixes for QNX

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



[-- Attachment #2: Type: text/html, Size: 3833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-21 21:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-11 14:23 [Qemu-devel] [PATCH 0/3] apic: ExtINT fixes for QNX Paolo Bonzini
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

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).