Re: [PATCH v6 2/2] arm64: Add workaround for Arm Cortex-A77 erratum 1508412

2020-10-26 Thread Will Deacon
On Wed, Oct 21, 2020 at 11:05:10AM +0100, Marc Zyngier wrote: > On 2020-10-20 15:40, Rob Herring wrote: > > On Thu, Sep 24, 2020 at 8:48 AM Rob Herring wrote: > > > > > > On Cortex-A77 r0p0 and r1p0, a sequence of a non-cacheable or device > > > load > > > and a store exclusive or PAR_EL1 read ca

Re: [PATCH v6 2/2] arm64: Add workaround for Arm Cortex-A77 erratum 1508412

2020-10-21 Thread Marc Zyngier
On 2020-10-20 15:40, Rob Herring wrote: On Thu, Sep 24, 2020 at 8:48 AM Rob Herring wrote: On Cortex-A77 r0p0 and r1p0, a sequence of a non-cacheable or device load and a store exclusive or PAR_EL1 read can cause a deadlock. The workaround requires a DMB SY before and after a PAR_EL1 regist

Re: [PATCH v6 2/2] arm64: Add workaround for Arm Cortex-A77 erratum 1508412

2020-10-20 Thread Rob Herring
On Thu, Sep 24, 2020 at 8:48 AM Rob Herring wrote: > > On Cortex-A77 r0p0 and r1p0, a sequence of a non-cacheable or device load > and a store exclusive or PAR_EL1 read can cause a deadlock. > > The workaround requires a DMB SY before and after a PAR_EL1 register > read. In addition, it's possible

Re: [PATCH v6 2/2] arm64: Add workaround for Arm Cortex-A77 erratum 1508412

2020-09-24 Thread Catalin Marinas
On Thu, Sep 24, 2020 at 07:48:53AM -0600, Rob Herring wrote: > On Cortex-A77 r0p0 and r1p0, a sequence of a non-cacheable or device load > and a store exclusive or PAR_EL1 read can cause a deadlock. > > The workaround requires a DMB SY before and after a PAR_EL1 register > read. In addition, it's

[PATCH v6 2/2] arm64: Add workaround for Arm Cortex-A77 erratum 1508412

2020-09-24 Thread Rob Herring
On Cortex-A77 r0p0 and r1p0, a sequence of a non-cacheable or device load and a store exclusive or PAR_EL1 read can cause a deadlock. The workaround requires a DMB SY before and after a PAR_EL1 register read. In addition, it's possible an interrupt (doing a device read) or KVM guest exit could be