Re: [Xen-devel] IO-APIC interrupts getting stuck

2015-01-15 Thread Roger Pau Monné
El 02/01/15 a les 17.20, Jan Beulich ha escrit: Roger Pau Monné 12/22/14 7:44 PM >>> >> No, the same box I have with Linux doesn't use the IO-APIC re-route >> quirk. I've also tested this on different hardware and when using >> FreeBSD with the new IO APIC Ack method I always end up in this st

Re: [Xen-devel] IO-APIC interrupts getting stuck

2015-01-05 Thread Roger Pau Monné
El 05/01/15 a les 9.50, Jan Beulich ha escrit: Roger Pau Monné 12/22/14 7:44 PM >>> >> To make sure FreeBSD was not playing tricks behind Xen's back, and >> AFAICT FreeBSD is not touching the IO APIC at all. Also Xen doesn't show >> any pending EOI timers ('a' debug key). > > Btw, as I'm not

Re: [Xen-devel] IO-APIC interrupts getting stuck

2015-01-05 Thread Jan Beulich
>>> Roger Pau Monné 12/22/14 7:44 PM >>> >To make sure FreeBSD was not playing tricks behind Xen's back, and >AFAICT FreeBSD is not touching the IO APIC at all. Also Xen doesn't show >any pending EOI timers ('a' debug key). Btw, as I'm not sure it was said explicitly earlier: Does use of interrupt

Re: [Xen-devel] IO-APIC interrupts getting stuck

2015-01-02 Thread Jan Beulich
>>> Roger Pau Monné 12/22/14 7:44 PM >>> >OK, this was misleading. The ASSERT I've added triggers on Linux also >but it doesn't lead to the irr=1 mask=0 blocked state, so I think >returning from end_level_ioapic_irq_new with irr=1 and mask=0 is a valid >state, is this right? Afaict this is not an

Re: [Xen-devel] IO-APIC interrupts getting stuck

2014-12-22 Thread Roger Pau Monné
El 18/12/14 a les 11.41, Jan Beulich ha escrit: On 17.12.14 at 13:51, wrote: >> I've also added the following patch to Xen, and it reliably triggers on >> FreeBSD, while it seems to work fine on Linux: >> >> --- a/xen/arch/x86/io_apic.c >> +++ b/xen/arch/x86/io_apic.c >> @@ -1729,6 +1729,8 @

Re: [Xen-devel] IO-APIC interrupts getting stuck

2014-12-18 Thread Jan Beulich
>>> On 17.12.14 at 13:51, wrote: > I've also added the following patch to Xen, and it reliably triggers on > FreeBSD, while it seems to work fine on Linux: > > --- a/xen/arch/x86/io_apic.c > +++ b/xen/arch/x86/io_apic.c > @@ -1729,6 +1729,8 @@ static void end_level_ioapic_irq_new(struct irq_desc

Re: [Xen-devel] IO-APIC interrupts getting stuck

2014-12-17 Thread Roger Pau Monné
El 16/12/14 a les 18.59, Andrew Cooper ha escrit: > On 16/12/14 17:34, Roger Pau Monné wrote: >> Hello, >> >> While working on the FreeBSD PVH Dom0 port I've realized that IO-APIC >> interrupts get stuck in a very strange state very easily with the >> current PIRQ implementation that I'm using on

Re: [Xen-devel] IO-APIC interrupts getting stuck

2014-12-17 Thread Roger Pau Monné
El 16/12/14 a les 18.59, Andrew Cooper ha escrit: > On 16/12/14 17:34, Roger Pau Monné wrote: >> Hello, >> >> While working on the FreeBSD PVH Dom0 port I've realized that IO-APIC >> interrupts get stuck in a very strange state very easily with the >> current PIRQ implementation that I'm using on

Re: [Xen-devel] IO-APIC interrupts getting stuck

2014-12-16 Thread Andrew Cooper
On 16/12/14 17:34, Roger Pau Monné wrote: > Hello, > > While working on the FreeBSD PVH Dom0 port I've realized that IO-APIC > interrupts get stuck in a very strange state very easily with the > current PIRQ implementation that I'm using on FreeBSD. > > Since I'm not sure what is going on, I woul

[Xen-devel] IO-APIC interrupts getting stuck

2014-12-16 Thread Roger Pau Monné
Hello, While working on the FreeBSD PVH Dom0 port I've realized that IO-APIC interrupts get stuck in a very strange state very easily with the current PIRQ implementation that I'm using on FreeBSD. Since I'm not sure what is going on, I would like to ask for some feedback and possible solution