summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorPhil Elwell <phil@raspberrypi.org>2018-09-12 15:31:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-06 12:18:01 +0100
commit02e0d6654938f0d178c9be5e0d0641799142819e (patch)
treec4b97d20fc4bb5a597c5ed4b2856597bc39a043f /arch/x86/include/asm
parent7ff8f2104cc9f371d64fc87a3f9a08e6e88f6614 (diff)
sc16is7xx: Fix for "Unexpected interrupt: 8"
[ Upstream commit 30ec514d440cf2c472c8e4b0079af2c731f71a3e ] The SC16IS752 has an Enhanced Feature Register which is aliased at the same address as the Interrupt Identification Register; accessing it requires that a magic value is written to the Line Configuration Register. If an interrupt is raised while the EFR is mapped in then the ISR won't be able to access the IIR, leading to the "Unexpected interrupt" error messages. Avoid the problem by claiming a mutex around accesses to the EFR register, also claiming the mutex in the interrupt handler work item (this is equivalent to disabling interrupts to interlock against a non-threaded interrupt handler). See: https://github.com/raspberrypi/linux/issues/2529 Signed-off-by: Phil Elwell <phil@raspberrypi.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions