apf: Add support for translating hwirq to virq numbers
The patch "irqchip: gic: Support hierarchy irq domain." (sha1: 9a1091ef) changes hwirq to virq number connection which ends up that APF driver is registering incorrect DMA irqs to different irq controller or different IRQ number. This problem is using solution used by "ARM: OMAP: Work around hardcoded interrupts" (sha1: 0fb22a8f) where hwirq numbers are converted to virq. Better solution (workaround) will be provided in v4.2-rc1 where "staging: board: Add support for translating hwirq to virq numbers" (sha1: 72ee8626) is introducing new functions board_staging_gic_setup_xlate() and board_staging_gic_fixup_resources() which provide the same workaround as above in unify ways for ancient ARM platforms. Signed-off-by:Michal Simek <michal.simek@xilinx.com> Tested-by:
Yogesh Chobe <yogeshc@xilinx.com>
Loading
Please sign in to comment