aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorEdgar Bonet <[email protected]>2025-08-14 12:59:42 +0000
committerThomas Gleixner <[email protected]>2025-08-23 19:41:07 +0000
commitc2bac68067bba5edda09112c09f2f670792dcdc8 (patch)
treebb7b399bad0210979111062e9e66b173df93fc3b /drivers/cdx/controller/cdx_controller.c
parentLinux 6.17-rc1 (diff)
downloadkernel-c2bac68067bba5edda09112c09f2f670792dcdc8.tar.gz
kernel-c2bac68067bba5edda09112c09f2f670792dcdc8.zip
irqchip/atmel-aic[5]: Fix incorrect lock guard conversion
Commit b00bee8afaca ("irqchip: Convert generic irqchip locking to guards") replaced calls to irq_gc_lock_irq{save,restore}() with guard(raw_spinlock_irq). However, in irq-atmel-aic5.c and irq-atmel-aic.c, the xlate callback is used in the early boot process, before interrupts are initially enabled. As its destructor enables interrupts, this triggers the warning in start_kernel(): WARNING: CPU: 0 PID: 0 at init/main.c:1024 start_kernel+0x4d0/0x5dc Interrupts were enabled early Fix this by using guard(raw_spinlock_irqsave) instead. [ tglx: Folded the equivivalent fix for atmel-aic ] Fixes: b00bee8afaca ("irqchip: Convert generic irqchip locking to guards") Signed-off-by: Edgar Bonet <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions