[PATCH v6 00/41] arm64: Reorganize kernel VA space for LPA2

Will Deacon will at kernel.org
Tue Dec 12 09:20:51 PST 2023


Hi Ard,

I applied some of this:

On Wed, 29 Nov 2023 12:15:56 +0100, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb at kernel.org>
> 
> At the request of Catalin, this series was split off from my LPA2 series
> [0] in order to make the changes a bit more manageable.
> 
> This series reorganizes the kernel VA space, and refactors/replaces the
> early mapping code so that:
> - everything is done only once, in the appropriate order;
> - everything is done with the MMU and caches enabled (*)
> - everything is done from C code (notably, 100s of lines of
>   incomprehensible asm code are removed from head.S).
> 
> [...]

Applied the first three to arm64 (for-next/lpa2-prep):

[01/41] arm64: kernel: Disable latent_entropy GCC plugin in early C runtime
        https://git.kernel.org/arm64/c/3dfdc2750c6c
[02/41] arm64: mm: Take potential load offset into account when KASLR is off
        https://git.kernel.org/arm64/c/a22fc8e102dc
[03/41] arm64: mm: get rid of kimage_vaddr global variable
        https://git.kernel.org/arm64/c/376f5a3bd7e2

Applied the idreg-override part to arm64 (for-next/early-idreg-overrides):

[14/41] arm64: idreg-override: Omit non-NULL checks for override pointer
        https://git.kernel.org/arm64/c/cbc59c9a4e57
[15/41] arm64: idreg-override: Prepare for place relative reloc patching
        https://git.kernel.org/arm64/c/01fd29092a35
[16/41] arm64: idreg-override: Avoid parameq() and parameqn()
        https://git.kernel.org/arm64/c/dc3f5aae0638
[17/41] arm64: idreg-override: avoid strlen() to check for empty strings
        https://git.kernel.org/arm64/c/bcf1eed3f8a0
[18/41] arm64: idreg-override: Avoid sprintf() for simple string concatenation
        https://git.kernel.org/arm64/c/060260a6be47
[19/41] arm64: idreg-override: Avoid kstrtou64() to parse a single hex digit
        https://git.kernel.org/arm64/c/ea48626f8f0e
[20/41] arm64/kernel: Move 'nokaslr' parsing out of early idreg code
        https://git.kernel.org/arm64/c/50f176175e96

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list