aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorTomas Krcka <[email protected]>2024-12-30 15:08:25 +0000
committerThomas Gleixner <[email protected]>2025-01-15 08:42:45 +0000
commit35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310 (patch)
treeb46e2d9010ef83670cb3b72b180fa6563683a56a /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentirqchip/gic-v3: Handle CPU_PM_ENTER_FAILED correctly (diff)
downloadkernel-35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310.tar.gz
kernel-35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310.zip
irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
The following call-chain leads to enabling interrupts in a nested interrupt disabled section: irq_set_vcpu_affinity() irq_get_desc_lock() raw_spin_lock_irqsave() <--- Disable interrupts its_irq_set_vcpu_affinity() guard(raw_spinlock_irq) <--- Enables interrupts when leaving the guard() irq_put_desc_unlock() <--- Warns because interrupts are enabled This was broken in commit b97e8a2f7130, which replaced the original raw_spin_[un]lock() pair with guard(raw_spinlock_irq). Fix the issue by using guard(raw_spinlock). [ tglx: Massaged change log ] Fixes: b97e8a2f7130 ("irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update()") Signed-off-by: Tomas Krcka <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions