2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 00:34:10 +08:00
linux-next/arch
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
..
alpha hardening updates for v6.6-rc1 2023-08-28 12:59:45 -07:00
arc asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
arm seccomp updates for v6.6-rc1 2023-08-28 12:38:26 -07:00
arm64 EFI updates for v6.6 2023-08-28 16:25:45 -07:00
csky arch/csky patches for 6.5 2023-07-01 21:12:32 -07:00
hexagon Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
ia64 v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
loongarch Perf events changes for v6.6: 2023-08-28 16:35:01 -07:00
m68k v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
microblaze arch: Register fchmodat2, usually as syscall 452 2023-07-27 12:25:35 +02:00
mips Perf events changes for v6.6: 2023-08-28 16:35:01 -07:00
nios2 slab updates for 6.5 2023-06-29 16:34:12 -07:00
openrisc OpenRISC fix for 6.5 2023-07-12 16:28:53 -07:00
parisc v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
powerpc v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
riscv EFI updates for v6.6 2023-08-28 16:25:45 -07:00
s390 s390/set_memory: add __set_memory() variant 2023-08-30 11:03:28 +02:00
sh v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
sparc v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
um hardening updates for v6.6-rc1 2023-08-28 12:59:45 -07:00
x86 Misc x86 cleanups. 2023-08-28 17:05:58 -07:00
xtensa v6.6-vfs.fchmodat2 2023-08-28 11:25:27 -07:00
.gitignore
Kconfig cpu/SMT: Create topology_smt_thread_allowed() 2023-07-28 09:53:37 +02:00