android_kernel_motorola_sm6375/arch/parisc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Helge Deller 6d091e0ddc parisc: Fix flush_dcache_page() for usage from irq context
commit 61e150fb310729c98227a5edf6e4a3619edc3702 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-30 12:44:09 +01:00
..
boot
configs
include parisc: Fix flush_dcache_page() for usage from irq context 2023-05-30 12:44:09 +01:00
kernel parisc: Fix flush_dcache_page() for usage from irq context 2023-05-30 12:44:09 +01:00
lib Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 2021-09-03 10:08:16 +02:00
math-emu parisc: math-emu: Fix fall-through warnings 2021-10-27 09:54:24 +02:00
mm parisc: Drop __init from map_pages declaration 2022-02-23 11:59:54 +01:00
oprofile
defpalo.conf
install.sh parisc: Fix "make install" on newer debian releases 2021-12-08 09:01:13 +01:00
Kconfig parisc: Enable ARCH_HAS_STRICT_MODULE_RWX 2022-06-29 08:58:48 +02:00
Kconfig.debug
Makefile module/ftrace: handle patchable-function-entry 2022-02-23 11:59:56 +01:00
nm