linux/arch/arm64/kernel/pi
Zenghui Yu ecc54006f1 arm64: Clear the initial ID map correctly before remapping
In the attempt to clear and recreate the initial ID map for LPA2, we
wrongly use 'start - end' as the map size and make the memset() almost a
nop.

Fix it by passing the correct map size.

Fixes: 9684ec186f ("arm64: Enable LPA2 at boot if supported by the system")
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20240621092809.162-1-yuzenghui@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2024-06-24 12:37:46 +01:00
..
.gitignore
idreg-override.c
kaslr_early.c
Makefile
map_kernel.c arm64: Clear the initial ID map correctly before remapping 2024-06-24 12:37:46 +01:00
map_range.c
patch-scs.c
pi.h
relacheck.c
relocate.c