summaryrefslogtreecommitdiff
path: root/include/linux/irqchip
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-02-03 06:15:27 +0300
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 15:01:49 +0300
commitd46812bb0bef04efa4e6cba677ba54c2e4f1ae59 (patch)
tree5f3c3857f2325cfc8774752ddcf395dcb022b1d6 /include/linux/irqchip
parenta60ae81e5e5918138703f22427dd8f2445985b55 (diff)
downloadlinux-d46812bb0bef04efa4e6cba677ba54c2e4f1ae59.tar.xz
irqchip: mips-gic: Use HW IDs for VPE_OTHER_ADDR
The Linux CPU number doesn't necessarily match up with the ID used for a VP by hardware. Convert the CPU number to the HW ID using mips_cm_vp_id when writing to the VP(E)_OTHER_ADDR register in order to ensure that we correctly access registers for the VPs of secondary cores. This most notably affects systems using CM3, such as those based around I6400. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/12333/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/linux/irqchip')
0 files changed, 0 insertions, 0 deletions