aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2022-01-24 14:39:28 +0000
committerMichael Ellerman <[email protected]>2022-01-25 05:50:10 +0000
commit8defc2a5dd8f4c0cb19ecbaca8d3e89ab98524da (patch)
tree78608ba49ddba38f09811bf36ebdd12534df8520 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentKVM: PPC: Book3S HV Nested: Fix nested HFSCR being clobbered with multiple vCPUs (diff)
downloadkernel-8defc2a5dd8f4c0cb19ecbaca8d3e89ab98524da.tar.gz
kernel-8defc2a5dd8f4c0cb19ecbaca8d3e89ab98524da.zip
powerpc/64s/interrupt: Fix decrementer storm
The decrementer exception can fail to be cleared when the interrupt returns in the case where the decrementer wraps with the next timer still beyond decrementer_max. This results in a decrementer interrupt storm. This is triggerable with small decrementer system with hard and soft watchdogs disabled. Fix this by always programming the decrementer if there was no timer. Fixes: 0faf20a1ad16 ("powerpc/64s/interrupt: Don't enable MSR[EE] in irq handlers unless perf is in use") Reported-by: Alexey Kardashevskiy <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions