linux-stable/arch/parisc/include
Helge Deller 61e150fb31 parisc: Fix flush_dcache_page() for usage from irq context
Since at least kernel 6.1, flush_dcache_page() is called with IRQs
disabled, e.g. from aio_complete().

But the current implementation for flush_dcache_page() on parisc
unintentionally re-enables IRQs, which may lead to deadlocks.

Fix it by using xa_lock_irqsave() and xa_unlock_irqrestore()
for the flush_dcache_mmap_*lock() macros instead.

Cc: linux-parisc@vger.kernel.org
Cc: stable@kernel.org # 5.18+
Signed-off-by: Helge Deller <deller@gmx.de>
2023-05-24 19:03:49 +02:00
..
asm parisc: Fix flush_dcache_page() for usage from irq context 2023-05-24 19:03:49 +02:00
uapi/asm parisc: Align parisc MADV_XXX constants with all other architectures 2022-12-17 23:19:39 +01:00