summaryrefslogtreecommitdiffstats
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorMatt Redfearn <matt.redfearn@imgtec.com>2017-03-31 13:05:32 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2017-03-31 15:38:25 +0200
commit42969893b45a7a1864192f5634a8d2626e546a7b (patch)
treefa94e5781072a3ddf85715ed8cc11bf257b28542 /kernel/task_work.c
parentirqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN (diff)
downloadlinux-42969893b45a7a1864192f5634a8d2626e546a7b.tar.xz
linux-42969893b45a7a1864192f5634a8d2626e546a7b.zip
irqchip/mips-gic: Fix Local compare interrupt
Commit 4cfffcfa5106 ("irqchip/mips-gic: Fix local interrupts") added mapping of several local interrupts during initialisation of the gic driver. This associates virq numbers with these interrupts. Unfortunately, as not all of the interrupts are mapped in hardware order, when drivers subsequently request these interrupts they conflict with the mappings that have already been set up. For example, this manifests itself in the gic clocksource driver, which fails to probe with the message: clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0x7350c9738, max_idle_ns: 440795203769 ns GIC timer IRQ 25 setup failed: -22 This is because virq 25 (the correct IRQ number specified via device tree) was allocated to the PERFCTR interrupt (and 24 to the timer, 26 to the FDC). To fix this, map all of these local interrupts in the hardware order so as to associate their virq numbers with the correct hw interrupts. Fixes: 4cfffcfa5106 ("irqchip/mips-gic: Fix local interrupts") Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions