Commit 79b1f5cd authored by Christophe Leroy's avatar Christophe Leroy Committed by Xie XiuQi
Browse files

powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.



[ Upstream commit fb0bdec5 ]

Commit 8c8c10b9 ("powerpc/8xx: fix handling of early NULL pointer
dereference") moved the loading of r6 earlier in the code. As some
functions are called inbetween, r6 needs to be loaded again with the
address of swapper_pg_dir in order to set PTE pointers for
the Abatron BDI.

Fixes: 8c8c10b9 ("powerpc/8xx: fix handling of early NULL pointer dereference")
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 6be682e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment