aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2019-03-11 08:30:27 +0000
committerMichael Ellerman <[email protected]>2019-03-18 13:30:19 +0000
commit4622a2d43101ea2e3d54a2af090f25a5886c648b (patch)
tree56e6c8da5ca03d5dc969791f2b87da3c04d13067 /lib/string_helpers.c
parentpowerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038 (diff)
downloadkernel-4622a2d43101ea2e3d54a2af090f25a5886c648b.tar.gz
kernel-4622a2d43101ea2e3d54a2af090f25a5886c648b.zip
powerpc/6xx: fix setup and use of SPRN_SPRG_PGDIR for hash32
Not only the 603 but all 6xx need SPRN_SPRG_PGDIR to be initialised at startup. This patch move it from __setup_cpu_603() to start_here() and __secondary_start(), close to the initialisation of SPRN_THREAD. Previously, virt addr of PGDIR was retrieved from thread struct. Now that it is the phys addr which is stored in SPRN_SPRG_PGDIR, hash_page() shall not convert it to phys anymore. This patch removes the conversion. Fixes: 93c4a162b014 ("powerpc/6xx: Store PGDIR physical address in a SPRG") Reported-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions