Re: [PATCH 13/14] x86_64 irq: Safely cleanup an irq after moving it.

2007-02-25 Thread Eric W. Biederman
Mika Penttilä <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> * Vectors 0x20-0x2f are used for ISA interrupts. >> */ >> -#define IRQ0_VECTOR FIRST_EXTERNAL_VECTOR >> +#define IRQ0_VECTOR FIRST_EXTERNAL_VECTOR + 0x10 >> #define IRQ1_VECTOR IRQ0_VECTOR + 1 >>

Re: [PATCH 13/14] x86_64 irq: Safely cleanup an irq after moving it.

2007-02-25 Thread Mika Penttilä
Eric W. Biederman wrote: * Vectors 0x20-0x2f are used for ISA interrupts. */ -#define IRQ0_VECTORFIRST_EXTERNAL_VECTOR +#define IRQ0_VECTORFIRST_EXTERNAL_VECTOR + 0x10 #define IRQ1_VECTORIRQ0_VECTOR + 1 #define IRQ2_VECTORIRQ0_VECTOR + 2 #def

[PATCH 13/14] x86_64 irq: Safely cleanup an irq after moving it.

2007-02-23 Thread Eric W. Biederman
The problem: After moving an interrupt when is it safe to teardown the data structures for receiving the interrupt at the old location? With a normal pci device it is possible to issue a read to a device to flush all posted writes. This does not work for the oldest ioapics because they are on a