Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-06 Thread Ard Biesheuvel
On Sat, 6 Feb 2021 at 14:10, Guillaume Tucker wrote: > > On 05/02/2021 12:05, Ard Biesheuvel wrote: > > On Fri, 5 Feb 2021 at 09:21, Ard Biesheuvel wrote: > >> > >> On Thu, 4 Feb 2021 at 22:31, Guillaume Tucker > >> wrote: > >>> > >>> On 04/02/2021 18:23, Nick Desaulniers wrote: > On Thu, F

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-06 Thread Guillaume Tucker
On 05/02/2021 12:05, Ard Biesheuvel wrote: > On Fri, 5 Feb 2021 at 09:21, Ard Biesheuvel wrote: >> >> On Thu, 4 Feb 2021 at 22:31, Guillaume Tucker >> wrote: >>> >>> On 04/02/2021 18:23, Nick Desaulniers wrote: On Thu, Feb 4, 2021 at 10:12 AM Nathan Chancellor wrote: > > On Th

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-05 Thread Ard Biesheuvel
On Fri, 5 Feb 2021 at 09:21, Ard Biesheuvel wrote: > > On Thu, 4 Feb 2021 at 22:31, Guillaume Tucker > wrote: > > > > On 04/02/2021 18:23, Nick Desaulniers wrote: > > > On Thu, Feb 4, 2021 at 10:12 AM Nathan Chancellor > > > wrote: > > >> > > >> On Thu, Feb 04, 2021 at 10:06:08AM -0800, 'Nick D

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-05 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 22:31, Guillaume Tucker wrote: > > On 04/02/2021 18:23, Nick Desaulniers wrote: > > On Thu, Feb 4, 2021 at 10:12 AM Nathan Chancellor wrote: > >> > >> On Thu, Feb 04, 2021 at 10:06:08AM -0800, 'Nick Desaulniers' via Clang > >> Built Linux wrote: > >>> On Thu, Feb 4, 2021 at

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Russell King - ARM Linux admin
On Thu, Feb 04, 2021 at 09:31:06PM +, Guillaume Tucker wrote: > On 04/02/2021 18:23, Nick Desaulniers wrote: > > You're right, I missed `LLVM=1`. Adding `LD=ld.bfd` I think should > > permit fallback to BFD. > > That was close, except we're cross-compiling with GCC for arm. > So I've now built

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Guillaume Tucker
On 04/02/2021 18:23, Nick Desaulniers wrote: > On Thu, Feb 4, 2021 at 10:12 AM Nathan Chancellor wrote: >> >> On Thu, Feb 04, 2021 at 10:06:08AM -0800, 'Nick Desaulniers' via Clang Built >> Linux wrote: >>> On Thu, Feb 4, 2021 at 8:02 AM Ard Biesheuvel wrote: On Thu, 4 Feb 2021 at 16:5

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Guillaume Tucker
On 04/02/2021 16:01, Ard Biesheuvel wrote: > On Thu, 4 Feb 2021 at 16:53, Guillaume Tucker > wrote: >> >> On 04/02/2021 15:42, Ard Biesheuvel wrote: >>> On Thu, 4 Feb 2021 at 12:32, Guillaume Tucker >>> wrote: On 04/02/2021 10:33, Guillaume Tucker wrote: > On 04/02/2021 10:27, Ard B

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Nick Desaulniers
On Thu, Feb 4, 2021 at 10:12 AM Nathan Chancellor wrote: > > On Thu, Feb 04, 2021 at 10:06:08AM -0800, 'Nick Desaulniers' via Clang Built > Linux wrote: > > On Thu, Feb 4, 2021 at 8:02 AM Ard Biesheuvel wrote: > > > > > > On Thu, 4 Feb 2021 at 16:53, Guillaume Tucker > > > wrote: > > > > > > >

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Nathan Chancellor
On Thu, Feb 04, 2021 at 10:06:08AM -0800, 'Nick Desaulniers' via Clang Built Linux wrote: > On Thu, Feb 4, 2021 at 8:02 AM Ard Biesheuvel wrote: > > > > On Thu, 4 Feb 2021 at 16:53, Guillaume Tucker > > wrote: > > > > > > On 04/02/2021 15:42, Ard Biesheuvel wrote: > > > > On Thu, 4 Feb 2021 at 1

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Nick Desaulniers
On Thu, Feb 4, 2021 at 8:02 AM Ard Biesheuvel wrote: > > On Thu, 4 Feb 2021 at 16:53, Guillaume Tucker > wrote: > > > > On 04/02/2021 15:42, Ard Biesheuvel wrote: > > > On Thu, 4 Feb 2021 at 12:32, Guillaume Tucker > > > wrote: > > >> > > >> Essentially: > > >> > > >> make -j18 ARCH=arm CROSS_

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 16:53, Guillaume Tucker wrote: > > On 04/02/2021 15:42, Ard Biesheuvel wrote: > > On Thu, 4 Feb 2021 at 12:32, Guillaume Tucker > > wrote: > >> > >> On 04/02/2021 10:33, Guillaume Tucker wrote: > >>> On 04/02/2021 10:27, Ard Biesheuvel wrote: > On Thu, 4 Feb 2021 at 11:

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 15:36, Russell King - ARM Linux admin wrote: > > On Thu, Feb 04, 2021 at 03:25:20PM +0100, Ard Biesheuvel wrote: > > Pushing contents of the cache hierarchy to main memory is *not* a > > valid use of set/way ops, and so there is no point in pretending that > > set/way ops wil

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Guillaume Tucker
On 04/02/2021 15:42, Ard Biesheuvel wrote: > On Thu, 4 Feb 2021 at 12:32, Guillaume Tucker > wrote: >> >> On 04/02/2021 10:33, Guillaume Tucker wrote: >>> On 04/02/2021 10:27, Ard Biesheuvel wrote: On Thu, 4 Feb 2021 at 11:06, Russell King - ARM Linux admin wrote: > > On Thu, Fe

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 12:32, Guillaume Tucker wrote: > > On 04/02/2021 10:33, Guillaume Tucker wrote: > > On 04/02/2021 10:27, Ard Biesheuvel wrote: > >> On Thu, 4 Feb 2021 at 11:06, Russell King - ARM Linux admin > >> wrote: > >>> > >>> On Thu, Feb 04, 2021 at 10:07:58AM +0100, Ard Biesheuvel wr

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Russell King - ARM Linux admin
On Thu, Feb 04, 2021 at 03:25:20PM +0100, Ard Biesheuvel wrote: > Pushing contents of the cache hierarchy to main memory is *not* a > valid use of set/way ops, and so there is no point in pretending that > set/way ops will produce the same results as by-VA ops. Only the by-VA > ops give the archite

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 15:09, Russell King - ARM Linux admin wrote: > > On Thu, Feb 04, 2021 at 12:26:44PM +, Marc Zyngier wrote: > > I agree. With set/way CMOs, there is no way to reach the PoC if > > it beyond the system cache, leading to an unbootable kernel. > > This is actually pretty well

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Russell King - ARM Linux admin
On Thu, Feb 04, 2021 at 12:26:44PM +, Marc Zyngier wrote: > I agree. With set/way CMOs, there is no way to reach the PoC if > it beyond the system cache, leading to an unbootable kernel. > This is actually pretty well documented in the architecture, > and it did bite us for the first time on XG

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Marc Zyngier
On 2021-02-04 10:55, Ard Biesheuvel wrote: (cc Marc) On Thu, 4 Feb 2021 at 11:48, Russell King - ARM Linux admin wrote: On Thu, Feb 04, 2021 at 11:27:16AM +0100, Ard Biesheuvel wrote: > Hi Russell, > > If Guillaume is willing to do the experiment, and it fixes the issue, > it proves that rk32

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 12:45, Russell King - ARM Linux admin wrote: > > On Thu, Feb 04, 2021 at 11:32:05AM +, Guillaume Tucker wrote: > > Yes it does fix the issue: > > > > https://lava.collabora.co.uk/scheduler/job/3173819 > > > > with Ard's fix applied to this test branch: > > > > > > ht

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Russell King - ARM Linux admin
On Thu, Feb 04, 2021 at 11:32:05AM +, Guillaume Tucker wrote: > Yes it does fix the issue: > > https://lava.collabora.co.uk/scheduler/job/3173819 > > with Ard's fix applied to this test branch: > > https://gitlab.collabora.com/gtucker/linux/-/commits/next-20210203-ard-fix/ > > > +clang

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Guillaume Tucker
On 04/02/2021 10:33, Guillaume Tucker wrote: > On 04/02/2021 10:27, Ard Biesheuvel wrote: >> On Thu, 4 Feb 2021 at 11:06, Russell King - ARM Linux admin >> wrote: >>> >>> On Thu, Feb 04, 2021 at 10:07:58AM +0100, Ard Biesheuvel wrote: On Thu, 4 Feb 2021 at 09:43, Guillaume Tucker wrote:

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
(cc Marc) On Thu, 4 Feb 2021 at 11:48, Russell King - ARM Linux admin wrote: > > On Thu, Feb 04, 2021 at 11:27:16AM +0100, Ard Biesheuvel wrote: > > Hi Russell, > > > > If Guillaume is willing to do the experiment, and it fixes the issue, > > it proves that rk3288 is relying on the flush before t

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Russell King - ARM Linux admin
On Thu, Feb 04, 2021 at 11:27:16AM +0100, Ard Biesheuvel wrote: > Hi Russell, > > If Guillaume is willing to do the experiment, and it fixes the issue, > it proves that rk3288 is relying on the flush before the MMU is > disabled, and so in that case, the fix is trivial, and we can just > apply it.

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Guillaume Tucker
On 04/02/2021 10:27, Ard Biesheuvel wrote: > On Thu, 4 Feb 2021 at 11:06, Russell King - ARM Linux admin > wrote: >> >> On Thu, Feb 04, 2021 at 10:07:58AM +0100, Ard Biesheuvel wrote: >>> On Thu, 4 Feb 2021 at 09:43, Guillaume Tucker >>> wrote: Hi Ard, Please see the bisection

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
On Thu, 4 Feb 2021 at 11:06, Russell King - ARM Linux admin wrote: > > On Thu, Feb 04, 2021 at 10:07:58AM +0100, Ard Biesheuvel wrote: > > On Thu, 4 Feb 2021 at 09:43, Guillaume Tucker > > wrote: > > > > > > Hi Ard, > > > > > > Please see the bisection report below about a boot failure on > > > r

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Russell King - ARM Linux admin
On Thu, Feb 04, 2021 at 10:07:58AM +0100, Ard Biesheuvel wrote: > On Thu, 4 Feb 2021 at 09:43, Guillaume Tucker > wrote: > > > > Hi Ard, > > > > Please see the bisection report below about a boot failure on > > rk3288 with next-20210203. It was also bisected on > > imx6q-var-dt6customboard with n

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Ard Biesheuvel
* > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > > > next/master bisection: baseline.login on rk3288-rock2-square > > > > Summary: > > Start: 58b6c0e507b7 Add linux-next specific files for 20210203 &g

Re: next/master bisection: baseline.login on rk3288-rock2-square

2021-02-04 Thread Guillaume Tucker
* > * Hope this helps! * > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > next/master bisection: baseline.login on rk3288-rock2-square > > Summary: > Start: 58b6c0e507b7 Add linux-next specific files for