Re: [PATCH v4] powerpc: setup_64: set up PACA before parsing device tree

2020-03-18 Thread Michael Ellerman
Daniel Axtens writes: > Currently, we set up the PACA after parsing the device tree for CPU > features. Before that, r13 contains random data, which means there is > random data in r13 while we're running the generic dt parsing code. > > This random data varies depending on whether we boot through

[PATCH v4] powerpc: setup_64: set up PACA before parsing device tree

2020-03-15 Thread Daniel Axtens
Currently, we set up the PACA after parsing the device tree for CPU features. Before that, r13 contains random data, which means there is random data in r13 while we're running the generic dt parsing code. This random data varies depending on whether we boot through a vmlinux or a zImage: for the