mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
26e7aacb83
Add 2 early command line parameters that allow to downgrade satp mode (using the same naming as x86): - "no5lvl": use a 4-level page table (down from sv57 to sv48) - "no4lvl": use a 3-level page table (down from sv57/sv48 to sv39) Note that going through the device tree to get the kernel command line works with ACPI too since the efi stub creates a device tree anyway with the command line. In KASAN kernels, we can't use the libfdt that early in the boot process since we are not ready to execute instrumented functions. So instead of using the "generic" libfdt, we compile our own versions of those functions that are not instrumented and that are prefixed so that they do not conflict with the generic ones. We also need the non-instrumented versions of the string functions and the prefixed versions of memcpy/memmove. This is largely inspired by commit |
||
---|---|---|
.. | ||
clear_page.S | ||
delay.c | ||
error-inject.c | ||
Makefile | ||
memcpy.S | ||
memmove.S | ||
memset.S | ||
strcmp.S | ||
strlen.S | ||
strncmp.S | ||
tishift.S | ||
uaccess.S |