acrn-kernel/arch/loongarch
Huacai Chen ec80ad4585 LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage()
[ Upstream commit 477a0ebec1 ]

Replace kmap_atomic()/kunmap_atomic() calls with kmap_local_page()/
kunmap_local() in copy_user_highpage() which can be invoked from both
preemptible and atomic context [1].

[1] https://lore.kernel.org/all/20201029222652.302358281@linutronix.de/

Suggested-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-08 14:11:01 +01:00
..
boot
configs
include LoongArch: Define relocation types for ABI v2.10 2023-10-06 14:57:01 +02:00
kernel LoongArch: numa: Fix high_memory calculation 2023-10-06 14:57:01 +02:00
lib
mm LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage() 2023-11-08 14:11:01 +01:00
net LoongArch: BPF: Fix check condition to call lu32id in move_imm() 2023-08-03 10:24:15 +02:00
pci
vdso
Kbuild
Kconfig Revert "loongarch/cpu: Switch to arch_cpu_finalize_init()" 2023-08-16 18:27:20 +02:00
Kconfig.debug
Makefile