Thread (10 messages) 10 messages, 5 authors, 2018-10-01

Re: [PATCH ppc-next] powerpc/fsl-booke: don't load early TLB at once

flat view

From: York Sun <hidden>
Date: 2018-09-21 18:07:54

On 09/21/2018 10:47 AM, Scott Wood wrote:=0A=
On Fri, 2018-09-21 at 17:40 +0000, York Sun wrote:=0A=
quoted
On 09/20/2018 05:31 PM, Scott Wood wrote:=0A=
quoted
On Fri, 2018-09-21 at 00:48 +0200, David Lamparter wrote:=0A=
quoted
This is a *partial* revert of "powerpc/85xx: Load all early TLB entrie=
s=0A=
quoted
quoted
quoted
at once" (d9e1831a420267a7ced708bb259d65b0a3c0344d.)=0A=
=0A=
My dusty old P4080DS just completely fails to boot (no output at all)=
=0A=
quoted
quoted
quoted
without this revert.  I have no clue what's going on here, I just=0A=
bisected it down and since it looks like an optimization to me I just=
=0A=
quoted
quoted
quoted
reverted it - and voil=E1, the P4080 boots again.=0A=
=0A=
It's not an optimization; it was required to get kdump working, at leas=
t=0A=
quoted
quoted
for certain choices of crash kernel location.  I just tried booting a 3=
2-=0A=
quoted
quoted
bit kernel and did not see this problem -- but I don't have access to a=
=0A=
quoted
quoted
p4080ds anymore.  I tried with qemu e500mc, and also running a 32-bit=
=0A=
quoted
quoted
kernel on e6500 (needs a tiny change to get past SMP init, since 32-bit=
=0A=
quoted
quoted
isn't really supported on e6500, but you do get output even without tha=
t).=0A=
quoted
quoted
=0A=
Do you have a JTAG that can be used to find out where it's hanging?  If=
=0A=
quoted
quoted
not, I can try to get early debug working (needs an early IOMMU mapping=
).=0A=
quoted
quoted
=0A=
York, can you try booting the latest kernel on p4080ds?=0A=
=0A=
=0A=
Scott,=0A=
=0A=
I haven't tried P4080DS for a long time. What defconfig do you use for=
=0A=
quoted
this board? I tried latest master branch (commit a27fb6d983c7b5) with=0A=
corenet_basic_defconfig, it didn't boot up. Kernel has an exception very=
=0A=
quoted
early (pc ffffae80).=0A=
=0A=
However, before I claimed the board, someone booted Linux 4.14.71 on=0A=
this board. I need to track down where the image came from.=0A=
=0A=
Use corenet32_smp_defconfig=0A=
=0A=
corenet_basic_defconfig is just a fragment used by the makefiles in assem=
bling=0A=
the final config.=0A=
=0A=
=0A=
Thanks for the instruction. Linux comes up OK with corenet32_smp_defconfig.=
=0A=
=0A=
root@p4080ds:~# uname -a=0A=
Linux p4080ds 4.19.0-rc4-00206-ga27fb6d #1 SMP Fri Sep 21 10:56:36 PDT=0A=
2018 ppc GNU/Linux=0A=
=0A=
York=0A=
=0A=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help