Re: spurious 8259A interrupt
From: Jamie Lokier
Date: Fri Mar 19 2004 - 09:58:03 EST
Anton Blanchard wrote:
> > Indeed. But why? What's the advantage?
>
> We enable IRQs during IRQ processing on ppc64 for one reason. We set the
> IPI priority higher than normal IRQs so we can service it as soon as
> possible and the calling cpu can move on.
Yes: when there are interrupt priorities, then enabling them at the
CPU and masking them at the controller is required.
Is that the reason for masking 8259 interrupts on x86 Linux?
I.e. are there any special "high priority" interrupts used on x86 Linux?
Otherwise, I don't see why we have the overhead of the extra I/O
operations to mask and unmask them. I'm sure there's a very good
reason: Linus wouldn't have written or accepted that code unless there
was a very good reason. But I would love to know what it is!
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/