Re: [PATCH v2] armv8: Handle EL2 Host mode

2021-01-31 Thread Mark Kettenis
> Date: Sun, 31 Jan 2021 16:29:21 + > From: Andre Przywara > > On Sat, 30 Jan 2021 22:31:06 +0100 > Mark Kettenis wrote: > > Hi, > > > On implementations that support VHE, the layout of the CPTR_EL2 > > register depends on whether HCR_EL2.E2H is set. Check this bit > > and and set the apr

Re: [PATCH v2] armv8: Handle EL2 Host mode

2021-01-31 Thread Andre Przywara
On Sat, 30 Jan 2021 22:31:06 +0100 Mark Kettenis wrote: Hi, > On implementations that support VHE, the layout of the CPTR_EL2 > register depends on whether HCR_EL2.E2H is set. Check this bit > and and set the aprropriate bits to enable access to the FP/SIMD > registers. This allows U-Boot to r

[PATCH v2] armv8: Handle EL2 Host mode

2021-01-30 Thread Mark Kettenis
On implementations that support VHE, the layout of the CPTR_EL2 register depends on whether HCR_EL2.E2H is set. Check this bit and and set the aprropriate bits 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 ena