Hello. Atsushi Nemoto wrote:
You can use both irq_cpu and i8259 same time. :)
What's wrong with 8259 I wonder? It's happily converted to genirq by other arches...
Indeed. I missed other arch's i8259.c had changed. Maybe we should update i8259.c entirely.
The question is what flow to use: level/edge ones used in x86 code and actually intended for simplistic controllers, not the likes of 8259 OR the "fasteoi" one used in PowerPC code and (as it turned out in my earlier discussion in linuxppc-dev) intended for the controllers that are smart enough to mask off the lower-priority IRQs when getting the top level one acknowledged and unmask them upon EOI command...
--- Atsushi Nemoto
WBR, Sergei