]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: mips-gic: Convert CPU numbers to VP IDs.
authorPaul Burton <paul.burton@imgtec.com>
Tue, 22 Sep 2015 18:29:10 +0000 (11:29 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 27 Sep 2015 12:11:17 +0000 (14:11 +0200)
commit824f5ae6de9e3af301bc95eb9a8c231e7c835be8
tree7d5081dd54460e3a7533ec2a51da304b4f4bdbb3
parent11558029d66baa6cb30a1c9b6dbf82aa0a4aa999
irqchip: mips-gic: Convert CPU numbers to VP IDs.

Make use of the mips_cm_vp_id function to convert from Linux CPU numbers
to the VP IDs used by hardware, which are not identical in all systems.
Without doing so we map interrupts to incorrect VP(E)s.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11212/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/irqchip/irq-mips-gic.c