Skip to content

Commit ca94079

Browse files
brooniewilldeacon
authored andcommitted
arm64: Document requirement for access to FEAT_HCX
v8.7 of the architecture introduced FEAT_HCX which adds an additional hypervisor configuration register HCRX_EL2. Even though Linux does not currently make use of this feature let's document that the EL3 trap for access to the register should be disabled so that we are able to make use of it in future. Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20210512162350.20349-1-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
1 parent c468154 commit ca94079

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Documentation/arm64/booting.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,12 @@ Before jumping into the kernel, the following conditions must be met:
277277

278278
- SCR_EL3.FGTEn (bit 27) must be initialised to 0b1.
279279

280+
For CPUs with support for HCRX_EL2 (FEAT_HCX) present:
281+
282+
- If EL3 is present and the kernel is entered at EL2:
283+
284+
- SCR_EL3.HXEn (bit 38) must be initialised to 0b1.
285+
280286
For CPUs with Advanced SIMD and floating point support:
281287

282288
- If EL3 is present:

0 commit comments

Comments
 (0)