Messages in this thread | | | Date | Tue, 18 Nov 2014 15:19:49 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg |
| |
On Tue, 18 Nov 2014, Yun Wu (Abel) wrote: > On 2014/11/18 21:43, Jiang Liu wrote: > > We provide an irq_chip for each type of interrupt controller > > instead of devices. For the example mentioned above, if device A > > and Group B has different interrupt controllers, we just need to > > implement irq_chip_A and irq_chip_B and set irq_chip.irq_write_msi_msg() > > to suitable callbacks. > > The framework already achieves what you you want:) > > What if device A and group B have the same interrupt controller?
Well, if write_msg() is different they are hardly the same.
Thanks,
tglx
| |