linux/arch/parisc
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
..
boot Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
configs parisc: Update 32- and 64-bit defconfigs 2022-05-08 20:01:11 +02:00
include parisc: Fix flush_dcache_page() for usage from irq context 2023-05-24 19:03:49 +02:00
kernel parisc: Fix flush_dcache_page() for usage from irq context 2023-05-24 19:03:49 +02:00
lib parisc: Drop homebrewn io[read|write]64_[lo_hi|hi_lo] 2022-09-23 21:52:27 +02:00
math-emu parisc: align '*' in comment in math-emu code 2022-06-26 00:19:27 +02:00
mm parisc: fix livelock in uaccess 2023-03-02 12:31:40 -05:00
defpalo.conf parisc: switch to gzip-compressed vmlinuz kernel 2013-07-09 22:09:20 +02:00
install.sh kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig parisc: Enable LOCKDEP support 2023-05-24 14:27:28 +02:00
Kconfig.debug parisc: Add lightweight spinlock checks 2023-05-24 14:23:07 +02:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00