[PATCH v4] armv8: Handle EL2 Host mode

Tom Rini trini at konsulko.com
Sat Jul 10 03:08:05 CEST 2021


On Wed, Feb 10, 2021 at 08:14:55PM +0100, Mark Kettenis wrote:

> On implementations that support VHE, the layout of the CPTR_EL2
> register depends on whether HCR_EL2.E2H is set.  If the bit is
> set, CPTR_EL2 uses the same layout as CPACR_EL1 and can in fact
> be accessed through that register.  In that case, jump to the
> EL1 code to enable access to the FP/SIMD registers.  This allows
> U-Boot to run on systems that pass control to U-Boot in EL2 with
> EL2 Host mode enabled such as machines using Apple's M1 SoC.
> 
> Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
> Acked-by: Marc Zyngier <maz at kernel.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210709/5d87aa8c/attachment.sig>


More information about the U-Boot mailing list