]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/exynos-combiner: Switch to raw_spinlock
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 20 May 2026 22:04:22 +0000 (00:04 +0200)
committerThomas Gleixner <tglx@kernel.org>
Thu, 21 May 2026 09:48:30 +0000 (11:48 +0200)
commit96031b31a4b3b6ec836b9fe7be8f6e6ebcfe8d67
treef958c0a16829057efbd351f013a0e27e9d8c5a59
parent91840be8f710370607f949a627e070896faeddb8
irqchip/exynos-combiner: Switch to raw_spinlock

The exynos-combiner driver uses a regular spinlock to protect access to
the combiner interrupt status register in combiner_handle_cascade_irq(),
which is invoked in hard interrupt context as a chained interrupt handler.

When PREEMPT_RT is enabled on ARM, regular spinlock is converted to a
sleeping lock (mutex-based), which must not be used in atomic context
such as hard interrupt handlers.

Switch the irq_controller_lock to raw_spinlock, which remains a true
non-sleeping spinlock even under PREEMPT_RT.

Fixes: a900e5d99718 ("ARM: exynos: move exynos4210-combiner to drivers/irqchip")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
drivers/irqchip/exynos-combiner.c