]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: smp-cps: Clear Status IPL field when using EIC
authorPaul Burton <paul.burton@imgtec.com>
Tue, 17 May 2016 14:31:05 +0000 (15:31 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 28 May 2016 10:35:03 +0000 (12:35 +0200)
commit0d9af20e5764f614a188b6c6bbe580aff5d464c7
tree39ef96df7136e10f0f75127464fa3e65587603cd
parentf6fcb426d5db46debd69a81042f3548b7bf564e6
MIPS: smp-cps: Clear Status IPL field when using EIC

When using an external interrupt controller (EIC) the interrupt mask
bits in the cop0 Status register are reused for the Interrupt Priority
Level, and any interrupts with a priority lower than the field will be
ignored. Clear the field to 0 by default such that all interrupts are
serviced.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Matt Redfearn <matt.redfearn@imgtec.com>
Tested-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Qais Yousef <qsyousef@gmail.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/13273/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-cps.c