Files
linux-stable-mirror/arch/s390/include/asm
Heiko CarstensandGreg Kroah-Hartman aa6e32c654 s390/pageattr: Implement missing kernel_page_present()
[ Upstream commit 2835f8bf55 ]

kernel_page_present() was intentionally not implemented when adding
ARCH_HAS_SET_DIRECT_MAP support, since it was only used for suspend/resume
which is not supported anymore on s390.

A new bpf use case led to a compile error specific to s390. Even though
this specific use case went away implement kernel_page_present(), so that
the API is complete and potential future users won't run into this problem.

Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Closes: https://lore.kernel.org/all/045de961-ac69-40cc-b141-ab70ec9377ec@iogearbox.net
Fixes: 0490d6d7ba ("s390/mm: enable ARCH_HAS_SET_DIRECT_MAP")
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-09 10:31:43 +01:00
..
2023-07-03 11:19:42 +02:00
2022-05-11 14:40:57 +02:00
2023-06-05 09:36:39 +02:00
2023-06-05 09:36:40 +02:00
2023-07-24 12:12:24 +02:00
2023-02-15 11:07:01 +01:00
2022-12-06 16:18:22 +01:00
2022-03-08 00:33:01 +01:00
2023-08-09 15:20:51 +02:00
2024-07-11 12:49:12 +02:00
2023-07-03 11:19:42 +02:00
2022-07-11 09:54:24 +02:00
2023-06-05 09:36:39 +02:00
2022-06-30 19:40:36 +02:00
2023-08-30 11:03:27 +02:00
2022-05-11 14:40:57 +02:00
2023-01-04 17:54:50 +01:00
2022-01-30 21:17:00 -05:00