2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 00:34:10 +08:00
linux-next/arch/s390
Heiko Carstens 850612c8e4 s390/set_memory: add __set_memory() variant
Add a __set_memory_yy() variant for all set_memory_yy()
implementations. The new variant takes start and end void pointers,
which allows them to be used without the usual unsigned long cast.

However more important: the new variant can be used for areas larger
than 8TB. The old variant comes with an "int numpages" parameter, which
overflows with more than 8TB. Given that for debug_pagealloc
set_memory_4k() is used on the whole kernel mapping this is not only a
theoretical problem, but must be fixed.

Changing all set_memory_yy() variants only on s390 to take an "unsigned
long numpages" parameter is not possible, since the common module code
requires an int parameter from all architectures on these functions.
See module_set_memory().

Therefore change/fix this on s390 only with a new interface, and address
common code later.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2023-08-30 11:03:28 +02:00
..
appldata s390: include linux/io.h instead of asm/io.h 2023-07-03 11:19:40 +02:00
boot s390/mm: simplify kernel mapping setup 2023-08-30 11:03:27 +02:00
configs s390 updates for 6.6 merge window 2023-08-28 17:22:39 -07:00
crypto s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs 2023-08-17 15:18:53 +02:00
hypfs s390 updates for 6.6 merge window 2023-08-28 17:22:39 -07:00
include s390/set_memory: add __set_memory() variant 2023-08-30 11:03:28 +02:00
kernel s390/amode31: change type of __samode31, __eamode31, etc 2023-08-30 11:03:27 +02:00
kvm s390 updates for 6.6 merge window 2023-08-28 17:22:39 -07:00
lib s390: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-09 15:20:50 +02:00
mm s390/set_memory: add __set_memory() variant 2023-08-30 11:03:28 +02:00
net s390: consistently use .balign instead of .align 2023-06-28 13:57:09 +02:00
pci s390/pci: use builtin_misc_device macro to simplify the code 2023-08-23 14:37:42 +02:00
purgatory s390 updates for 6.5 merge window part 2 2023-07-06 13:18:30 -07:00
tools KVM: s390: Add facility 197 to the allow list 2022-07-13 15:25:25 +02:00
Kbuild s390/hypfs: factor out filesystem code 2023-07-24 12:12:22 +02:00
Kconfig s390/cert_store: select CRYPTO_LIB_SHA256 2023-08-01 08:01:39 +02:00
Kconfig.debug s390/Kconfig.debug: fix indentation 2022-06-01 12:03:15 +02:00
Makefile s390: use obj-y to descend into drivers/s390/ 2023-07-24 12:12:25 +02:00