arm64: cpufeature: add Permission Indirection Extension cpucap
authorJoey Gouly <joey.gouly@arm.com>
Tue, 6 Jun 2023 14:58:46 +0000 (15:58 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Jun 2023 15:52:40 +0000 (16:52 +0100)
commite43454c44232640bdb71a0c9ce49d39e856e5ebb
tree45fe8acf8d623e01b5d86f801cdeee178effa9e6
parent2b760046a2d3d630d42bbe416f5d7f43792a1639
arm64: cpufeature: add Permission Indirection Extension cpucap

This indicates if the system supports PIE. This is a CPUCAP_BOOT_CPU_FEATURE
as the boot CPU will enable PIE if it has it, so secondary CPUs must also
have this feature.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230606145859.697944-8-joey.gouly@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpufeature.c
arch/arm64/tools/cpucaps