Re: PATCH for io_apic irq handling routines

Gabriel Paubert (paubert@iram.es)
Thu, 18 Jun 1998 10:02:31 +0200 (METDST)


On Wed, 17 Jun 1998, Harald Hoyer wrote:

> linux/arch/i386/kernel/bios32.c:
> o added back compatible setting of right IRQ in PCI_INTERRUPT_LINE
> - made the ne2k-pci happy and working without Alans patches, satisfies also
> scanpci
>
> linux/arch/i386/kernel/io_apic.c:
> o changed the disable_edge_ioapic_irq routine that nothing gets through
> o changed level to edge handling for all IRQs that use dest_LowestPrio
> delivery_mode:
> - According to Intel Architecture Soft. Dev. Man. Vol 3, Chapter 7, Page
> 7-26pp:
> Delivery Mode
> 000(Fixed) Deliver ..<snip>..
> The fixed interrupt is treated as an
> edge-triggered interrupt even if programmed otherwise.
> ^^^^^^^^^^^^^^^^^^^^^^^^
> 001(Lowest Priority)
> Same as fixed mode, ..<snip>..
> - Realtek PCI NE2000 clone replies flood pings without any problems
>
> linux/arch/i386/kernel/irq.c:
> o added printout of all unused/disabled interrupts to /proc/interrupts
> o disable interrupts, if no action is there in free_irq, probe_irq_off
> - Save my machine from irq storms of my RIVA128 card
>
>
> Any comments??

Yes, that you are using LOCAL-APIC documentation to program the IO-APIC.
Look closer, there are _differences_, especially when it comes to
edge/level selection.

Gabriel.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu