Commit 9b774f3d authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <michal.simek@xilinx.com>
Tested-by: default avatarYogesh Chobe <yogeshc@xilinx.com>
parent da716ff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment