Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-22 Thread Marc Zyngier
On 08/11/2018 20:10, Christoffer Dall wrote: > On Thu, Nov 08, 2018 at 06:05:55PM +, Marc Zyngier wrote: >> On 06/11/18 08:15, Christoffer Dall wrote: >>> On Mon, Nov 05, 2018 at 02:36:16PM +, Marc Zyngier wrote: Early versions of Cortex-A76 can end-up with corrupt TLBs if they

Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-21 Thread Marc Zyngier
On 21/11/2018 12:23, Julien Grall wrote: > Hi Marc, > > On 05/11/2018 14:36, Marc Zyngier wrote: >> Early versions of Cortex-A76 can end-up with corrupt TLBs if they >> speculate an AT instruction in during a guest switch while the >> S1/S2 system registers are in an inconsistent state. >> >>

Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-21 Thread Julien Grall
Hi Marc, On 05/11/2018 14:36, Marc Zyngier wrote: Early versions of Cortex-A76 can end-up with corrupt TLBs if they speculate an AT instruction in during a guest switch while the S1/S2 system registers are in an inconsistent state. Work around it by: - Mandating VHE - Make sure that S1 and S2

Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-09 Thread James Morse
Hi Marc, On 08/11/2018 17:18, Marc Zyngier wrote: On 05/11/18 18:34, James Morse wrote: On 05/11/2018 14:36, Marc Zyngier wrote: Early versions of Cortex-A76 can end-up with corrupt TLBs if they speculate an AT instruction in during a guest switch while the

Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-08 Thread Christoffer Dall
On Thu, Nov 08, 2018 at 06:05:55PM +, Marc Zyngier wrote: > On 06/11/18 08:15, Christoffer Dall wrote: > > On Mon, Nov 05, 2018 at 02:36:16PM +, Marc Zyngier wrote: > >> Early versions of Cortex-A76 can end-up with corrupt TLBs if they > >> speculate an AT instruction in during a guest

Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-08 Thread Marc Zyngier
On 06/11/18 08:15, Christoffer Dall wrote: > On Mon, Nov 05, 2018 at 02:36:16PM +, Marc Zyngier wrote: >> Early versions of Cortex-A76 can end-up with corrupt TLBs if they >> speculate an AT instruction in during a guest switch while the >> S1/S2 system registers are in an inconsistent state.

Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-08 Thread Marc Zyngier
On 05/11/18 18:34, James Morse wrote: > Hi Marc, > > On 05/11/2018 14:36, Marc Zyngier wrote: >> Early versions of Cortex-A76 can end-up with corrupt TLBs if they >> speculate an AT instruction in during a guest switch while the > > (in during?) > >> S1/S2 system

Re: [PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-05 Thread James Morse
Hi Marc, On 05/11/2018 14:36, Marc Zyngier wrote: Early versions of Cortex-A76 can end-up with corrupt TLBs if they speculate an AT instruction in during a guest switch while the (in during?) S1/S2 system registers are in an inconsistent state. Work around it

[PATCH 4/4] arm64: KVM: Implement workaround for Cortex-A76 erratum 1165522

2018-11-05 Thread Marc Zyngier
Early versions of Cortex-A76 can end-up with corrupt TLBs if they speculate an AT instruction in during a guest switch while the S1/S2 system registers are in an inconsistent state. Work around it by: - Mandating VHE - Make sure that S1 and S2 system registers are consistent before clearing