# git rev-parse -q --verify 01776f070ffcbf336be3bf1672bd3c589548d6c4^{commit} 01776f070ffcbf336be3bf1672bd3c589548d6c4 already have revision, skipping fetch # git checkout -q -f -B kisskb 01776f070ffcbf336be3bf1672bd3c589548d6c4 # git clean -qxdf # < git log -1 # commit 01776f070ffcbf336be3bf1672bd3c589548d6c4 # Author: Christophe Leroy # Date: Sat Nov 7 09:07:40 2020 +0000 # # powerpc/32s: Use relocation offset when setting early hash table # # When calling early_hash_table(), the kernel hasn't been yet # relocated to its linking address, so data must be addressed # with relocation offset. # # Add relocation offset to write into Hash in early_hash_table(). # # Fixes: 69a1593abdbc ("powerpc/32s: Setup the early hash table at all time.") # Reported-by: Erhard Furtner # Reported-by: Andreas Schwab # Signed-off-by: Christophe Leroy # Tested-by: Serge Belyshev # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/9e225a856a8b22e0e77587ee22ab7a2f5bca8753.1604740029.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 01776f070ffcbf336be3bf1672bd3c589548d6c4 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_RELOCATABLE=n # Added to kconfig CONFIG_STRICT_KERNEL_RWX=y # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4012:warning: override: reassigning to symbol RELOCATABLE # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 # Build took: 0:03:40.476421