Re: [XenPPC] Spurious interrupt count

2006-10-07 Thread Segher Boessenkool
One day, all mpic operations will happen in Xen, Ah, you got me worried already. But this MPIC-sharing architecture is temporary, good :-) Segher ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-d

Re: [XenPPC] Spurious interrupt count

2006-10-07 Thread Jimi Xenidis
On Oct 7, 2006, at 9:15 AM, Segher Boessenkool wrote: The code of concern seems well suited to catch a spurious interrupt storm, since when a valid external interrupt is recieved, the counter is reset. But given that we don't take our first external until way into dom0's boot, we are actu

Re: [XenPPC] Spurious interrupt count

2006-10-07 Thread Segher Boessenkool
The code of concern seems well suited to catch a spurious interrupt storm, since when a valid external interrupt is recieved, the counter is reset. But given that we don't take our first external until way into dom0's boot, we are actually asserting that 100 spurious interrupts won't be receiv

[XenPPC] Spurious interrupt count

2006-10-06 Thread Amos Waterland
I am having some doubts about this code in external.c: vec = xen_mpic_get_irq(regs); if (vec != -1) { ... spur_count = 0; } else { ++spur_count; if (spur_count > 100) panic("Too many (%d) spurrious interrupts in a row\n"); } When I do th