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

2021-07-09 Thread Tom Rini
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.

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

2021-02-11 Thread Marc Zyngier
Hi Mark, On 2021-02-11 10:22, Mark Kettenis wrote: Date: Thu, 11 Feb 2021 09:58:49 + From: Marc Zyngier On 2021-02-10 19:14, 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_E

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

2021-02-11 Thread Mark Kettenis
> Date: Thu, 11 Feb 2021 09:58:49 + > From: Marc Zyngier > > On 2021-02-10 19:14, 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

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

2021-02-11 Thread Marc Zyngier
On 2021-02-10 19:14, 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 EL