Re: [PATCH v8 01/26] arm64: Fix HCR.TGE status for NMI contexts

2019-01-28 Thread Marc Zyngier
On Tue, 08 Jan 2019 14:07:19 +, Julien Thierry wrote: > > When using VHE, the host needs to clear HCR_EL2.TGE bit in order > to interract with guest TLBs, switching from EL2&0 translation regime > to EL1&0. > > However, some non-maskable asynchronous event could happen while TGE is >

Re: [PATCH v8 01/26] arm64: Fix HCR.TGE status for NMI contexts

2019-01-14 Thread James Morse
Hi guys, On 14/01/2019 16:12, Julien Thierry wrote: > On 14/01/2019 15:56, Catalin Marinas wrote: >> On Tue, Jan 08, 2019 at 02:07:19PM +, Julien Thierry wrote: >>> When using VHE, the host needs to clear HCR_EL2.TGE bit in order >>> to interract with guest TLBs, switching from EL2&0

Re: [PATCH v8 01/26] arm64: Fix HCR.TGE status for NMI contexts

2019-01-14 Thread Julien Thierry
On 14/01/2019 15:56, Catalin Marinas wrote: > On Tue, Jan 08, 2019 at 02:07:19PM +, Julien Thierry wrote: >> When using VHE, the host needs to clear HCR_EL2.TGE bit in order >> to interract with guest TLBs, switching from EL2&0 translation regime >> to EL1&0. >> >> However, some

Re: [PATCH v8 01/26] arm64: Fix HCR.TGE status for NMI contexts

2019-01-14 Thread Catalin Marinas
On Tue, Jan 08, 2019 at 02:07:19PM +, Julien Thierry wrote: > When using VHE, the host needs to clear HCR_EL2.TGE bit in order > to interract with guest TLBs, switching from EL2&0 translation regime > to EL1&0. > > However, some non-maskable asynchronous event could happen while TGE is >

[PATCH v8 01/26] arm64: Fix HCR.TGE status for NMI contexts

2019-01-08 Thread Julien Thierry
When using VHE, the host needs to clear HCR_EL2.TGE bit in order to interract with guest TLBs, switching from EL2&0 translation regime to EL1&0. However, some non-maskable asynchronous event could happen while TGE is cleared like SDEI. Because of this address translation operations relying on