# git rev-parse -q --verify 9181c436cbe74f3d3e704ceaac96dc95b99e3958^{commit} 9181c436cbe74f3d3e704ceaac96dc95b99e3958 already have revision, skipping fetch # git checkout -q -f -B kisskb 9181c436cbe74f3d3e704ceaac96dc95b99e3958 # git clean -qxdf # < git log -1 # commit 9181c436cbe74f3d3e704ceaac96dc95b99e3958 # Author: Christophe Leroy # Date: Thu Aug 8 11:32:47 2024 +0200 # # powerpc/mm: Fix size of allocated PGDIR # # Commit 6b0e82791bd0 ("powerpc/e500: switch to 64 bits PGD on 85xx # (32 bits)") increased the size of PGD entries but failed to increase # the PGD directory. # # Use the size of pgd_t instead of the size of pointers to calculate # the allocated size. # # Reported-by: Guenter Roeck # Fixes: 6b0e82791bd0 ("powerpc/e500: switch to 64 bits PGD on 85xx (32 bits)") # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://msgid.link/1cdaacb391cbd3e0240f0e0faf691202874e9422.1723109462.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9181c436cbe74f3d3e704ceaac96dc95b99e3958 # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_NUMA=n # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_powerpc-gcc5 # Build took: 0:02:42.575035