]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 9 Jan 2019 20:30:07 +0000 (20:30 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit9fffbcdeb22601767cd9653a1559ee1fb9b856e0
tree6ff3bbbe99c9a98db812c45016679ec291e4699b
parentb31e90f0253a01a8b0845774203c0c955e1e9615
powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.

BugLink: https://bugs.launchpad.net/bugs/1837813
[ Upstream commit fb0bdec51a4901b7dd088de0a1e365e1b9f5cd21 ]

Commit 8c8c10b90d88 ("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: 8c8c10b90d88 ("powerpc/8xx: fix handling of early NULL pointer dereference")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/powerpc/kernel/head_8xx.S