On Tue, 14 Sep 2021, Peter Xu wrote: > On Tue, Sep 14, 2021 at 07:55:42PM +0200, Nicolas Saenz Julienne wrote: > > In arm64 it's possible for the processor to access memory appearing in > > program order after the read of the counter before the counter has been > > read. This would skew the counter value to a later point than intended. > > > > Fix this my adding an isb() following the counter read instruction. > > > > Suggested-by: Punit Agrawal <punitagrawal@xxxxxxxxx> > > Signed-off-by: Nicolas Saenz Julienne <nsaenzju@xxxxxxxxxx> > > Acked-by: Peter Xu <peterx@xxxxxxxxxx> > > -- > Peter Xu > > Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>