diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-09-19 23:21:18 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-06 17:30:59 +0200 |
commit | 690803acca14e8aa101ca5204f0a23c24d7ad8c3 (patch) | |
tree | f675196c7e4af241cac7f7eccbf174f932a27cd5 /drivers/clk/keystone | |
parent | MIPS: SEAD3: Remove custom read_persistent_clock (diff) | |
download | linux-690803acca14e8aa101ca5204f0a23c24d7ad8c3.tar.xz linux-690803acca14e8aa101ca5204f0a23c24d7ad8c3.zip |
irqchip: i8259: Add domain before mapping parent irq
Mapping the parent IRQ will use a virq number which may conflict with
the hardcoded I8259A_IRQ_BASE..I8259A_IRQ_BASE+15 range that the i8259
driver expects to be free. If this occurs then we'll hit errors when
adding the i8259 IRQ domain, since one of its virq numbers will already
be in use.
Avoid this by adding the i8259 domain before mapping the parent IRQ,
such that the i8259 virq numbers become used before the parent interrupt
controller gets a chance to use any of them.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14269/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/clk/keystone')
0 files changed, 0 insertions, 0 deletions