summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/virt.h
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-03-26 15:12:41 +0100
committerWill Deacon <will.deacon@arm.com>2018-03-26 18:01:41 +0100
commitfd9d63da17daf09c0099e3d5e3f0c0f03d9b251b (patch)
treebf915e33b06a8bb5c8d543e14967fcbc508949bf /arch/arm64/include/asm/virt.h
parentd3aec8a28be3b88bf75442e7c24fd9da8d69a6df (diff)
downloadblackbird-op-linux-fd9d63da17daf09c0099e3d5e3f0c0f03d9b251b.tar.gz
blackbird-op-linux-fd9d63da17daf09c0099e3d5e3f0c0f03d9b251b.zip
arm64: capabilities: Add support for features enabled early
The kernel detects and uses some of the features based on the boot CPU and expects that all the following CPUs conform to it. e.g, with VHE and the boot CPU running at EL2, the kernel decides to keep the kernel running at EL2. If another CPU is brought up without this capability, we use custom hooks (via check_early_cpu_features()) to handle it. To handle such capabilities add support for detecting and enabling capabilities based on the boot CPU. A bit is added to indicate if the capability should be detected early on the boot CPU. The infrastructure then ensures that such capabilities are probed and "enabled" early on in the boot CPU and, enabled on the subsequent CPUs. Cc: Julien Thierry <julien.thierry@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Dave Martin <dave.martin@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/virt.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud