summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-10-22 21:58:14 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-06 13:06:30 +0100
commit8f5603029223a169ab2e73334a3bcaa7b2c3a60b (patch)
treef025d3cd3311e4943695bd371f9e3c378606ed16 /sound/hda
parent92930e9223994a4e26e9743e4131ad78d3f27ef0 (diff)
downloadlinux-stable-8f5603029223a169ab2e73334a3bcaa7b2c3a60b.tar.gz
linux-stable-8f5603029223a169ab2e73334a3bcaa7b2c3a60b.tar.bz2
linux-stable-8f5603029223a169ab2e73334a3bcaa7b2c3a60b.zip
powerpc/powernv: Fix CPU idle to be called with IRQs disabled
[ Upstream commit 7d6475051fb3d9339c5c760ed9883bc0a9048b21 ] Commit e78a7614f3876 ("idle: Prevent late-arriving interrupts from disrupting offline") changes arch_cpu_idle_dead to be called with interrupts disabled, which triggers the WARN in pnv_smp_cpu_kill_self. Fix this by fixing up irq_happened after hard disabling, rather than requiring there are no pending interrupts, similarly to what was done done until commit 2525db04d1cc5 ("powerpc/powernv: Simplify lazy IRQ handling in CPU offline"). Fixes: e78a7614f3876 ("idle: Prevent late-arriving interrupts from disrupting offline") Reported-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Add unexpected_mask rather than checking for known bad values, change the WARN_ON() to a WARN_ON_ONCE()] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20191022115814.22456-1-npiggin@gmail.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions