linux/arch/powerpc
Christophe Leroy 9cbacb834b powerpc: Don't ignore errors from set_memory_{n}p() in __kernel_map_pages()
set_memory_p() and set_memory_np() can fail.

As mentioned in linux/mm.h:

/*
 * To support DEBUG_PAGEALLOC architecture must ensure that
 * __kernel_map_pages() never fails
 */

So panic in case set_memory_p() or set_memory_np() fail
in __kernel_map_pages().

Link: https://github.com/KSPP/linux/issues/7
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20ef75884aa6a636e8298736f3d1056b0793d3d9.1708078640.git.christophe.leroy@csgroup.eu
2024-03-03 22:18:45 +11:00
..
boot powerpc/fsl: Fix fsl,tmu-calibration to match the schema 2023-12-19 21:53:56 +11:00
configs Revert "powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2" 2024-02-21 23:15:26 +11:00
crypto crypto: p10-aes-gcm - Avoid -Wstringop-overflow warnings 2023-12-01 18:03:26 +08:00
include powerpc: Refactor __kernel_map_pages() 2024-03-03 22:18:45 +11:00
kernel powerpc/kprobes: Handle error returned by set_memory_rox() 2024-02-22 21:55:33 +11:00
kexec Quite a lot of kexec work this time around. Many singleton patches in 2024-01-09 11:46:20 -08:00
kvm powerpc: Add Power11 architected and raw mode 2024-02-21 23:11:00 +11:00
lib powerpc: Use user_mode() macro when possible 2024-02-22 21:55:33 +11:00
math-emu
mm powerpc: Don't ignore errors from set_memory_{n}p() in __kernel_map_pages() 2024-03-03 22:18:45 +11:00
net powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free] 2023-10-23 20:33:19 +11:00
perf powerpc: Use user_mode() macro when possible 2024-02-22 21:55:33 +11:00
platforms powerpc: papr_scm: Convert to platform remove callback returning void 2024-02-22 21:55:33 +11:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-12 11:31:50 -07:00
sysdev powerpc: pmi: Convert to platform remove callback returning void 2024-02-22 21:55:33 +11:00
tools powerpc/tools: Pass -mabi=elfv2 to gcc-check-mprofile-kernel.sh 2023-10-20 17:46:33 +11:00
xmon powerpc: Use user_mode() macro when possible 2024-02-22 21:55:33 +11:00
Kbuild
Kconfig powerpc fixes for 6.8 #2 2024-01-21 11:04:29 -08:00
Kconfig.debug powerpc/ps3: move udbg_shutdown_ps3gelic prototype 2023-11-21 12:06:50 +11:00
Makefile powerpc/Makefile: Auto detect cross compiler 2023-12-07 23:34:38 +11:00
Makefile.postlink kbuild: remove ARCH_POSTLINK from module builds 2023-10-28 21:10:08 +09:00