RE: [PATCH v3 0/1] arm64: Add workaround for Fujitsu A64FX erratum 010001

From: Zhang, Lei
Date: Tue Feb 05 2019 - 08:32:18 EST


Hi Will,

> -----Original Message-----
> From: linux-arm-kernel
> [mailto:linux-arm-kernel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Will Deacon
> Sent: Friday, February 01, 2019 7:52 PM
> To: Zhang, Lei
> Cc: 'Mark Rutland'; 'Catalin Marinas'; 'James Morse';
> 'linux-kernel@xxxxxxxxxxxxxxx';
> 'linux-arm-kernel@xxxxxxxxxxxxxxxxxxx'
> Subject: Re: [PATCH v3 0/1] arm64: Add workaround for Fujitsu A64FX
> erratum 010001

> So I guess we should boot with NFD1 clear, and then set it only when we
> realise we're not on an A64FX?

In my patch, I do similar things at __cpu_setup which we
set NFD1=1 on all processors except A64FX.

Do you mean we would better to change the place where we
set/clear NFD1?

Thanks,
Zhang Lei