RE: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-26 Thread Zhang, Lei
-ker...@lists.infradead.org' > Subject: Re: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum > 010001 > > Hi Zhang, > > On 23/02/2019 13:06, Zhang, Lei wrote: > > Zhang, Lei wrote: > >> I think you mean it may be a problem to modify the KPTI trampoline >

Re: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-25 Thread James Morse
Hi Zhang, On 23/02/2019 13:06, Zhang, Lei wrote: > Zhang, Lei wrote: >> I think you mean it may be a problem to modify the KPTI trampoline because >> some patches about KPTI will be merged to mainline in the near future. >> I understood that. >> I should discuss with my colleagues whether we can

RE: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-23 Thread Zhang, Lei
-ker...@lists.infradead.org' > > Subject: RE: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum > 010001 > > > I think you mean it may be a problem to modify the KPTI trampoline because > some patches about KPTI will be merged to mainline in the near future. > I understood

RE: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-15 Thread Zhang, Lei
; Subject: Re: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001 > I think we should do this: never set NFDx on A64FX. I don't think we can > maintain > the TCR > swivel before any memory access in the KPTI trampoline. (It already uses the > FAR as a > scratch re

Re: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-14 Thread James Morse
Hi guys, On 14/02/2019 15:56, Mark Rutland wrote: > On Thu, Feb 14, 2019 at 07:26:24AM +, Zhang, Lei wrote: >> On the Fujitsu-A64FX cores ver(1.0, 1.1), memory access may >> cause an undefined fault (Data abort, DFSC=0b11). >> This fault occurs under a specific hardware condition when a

Re: [PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-14 Thread Mark Rutland
On Thu, Feb 14, 2019 at 07:26:24AM +, Zhang, Lei wrote: > Hi guys, > > Thanks for your comments. > I am sending the revised patch, version 4, which includes a whole > description of the patch. > > This patch adds a workaround for Fujitsu A64FX erratum 010001 > > There are some discussions

[PATCH v4] arm64: Add workaround for Fujitsu A64FX erratum 010001

2019-02-13 Thread Zhang, Lei
Hi guys, Thanks for your comments. I am sending the revised patch, version 4, which includes a whole description of the patch. This patch adds a workaround for Fujitsu A64FX erratum 010001 There are some discussions on former versions, as follows: [PATCH] arm64 memory accesses may cause