arm64: Add the arm64.no32bit_el0 command line option
authorAndrea della Porta <andrea.porta@suse.com>
Mon, 29 Apr 2024 10:28:33 +0000 (12:28 +0200)
committerWill Deacon <will@kernel.org>
Fri, 3 May 2024 12:08:06 +0000 (13:08 +0100)
commit1279e8d0dcead53cf1f51e926a1cf6d2a79332d6
treefe21cfdec96b549a9925588d77312d07ce89abcb
parent080297beccf77433053621a222c332ae603a1a84
arm64: Add the arm64.no32bit_el0 command line option

Introducing the field 'el0' to the idreg-override for register
ID_AA64PFR0_EL1. This field is also aliased to the new kernel
command line option 'arm64.no32bit_el0' as a more recognizable
and mnemonic name to disable the execution of 32 bit userspace
applications (i.e. avoid Aarch32 execution state in EL0) from
kernel command line.

Link: https://lore.kernel.org/all/20240207105847.7739-1-andrea.porta@suse.com/
Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
Link: https://lore.kernel.org/r/20240429102833.6426-1-andrea.porta@suse.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/kernel/pi/idreg-override.c