# git rev-parse -q --verify eb761a1760bf30cf64e98ee8d914866e62ec9e8a^{commit} eb761a1760bf30cf64e98ee8d914866e62ec9e8a already have revision, skipping fetch # git checkout -q -f -B kisskb eb761a1760bf30cf64e98ee8d914866e62ec9e8a # git clean -qxdf # < git log -1 # commit eb761a1760bf30cf64e98ee8d914866e62ec9e8a # Author: Nicholas Piggin # Date: Wed Nov 16 14:39:53 2022 +1000 # # powerpc: Fix writable sections being moved into the rodata region # # .data.rel.ro* catches .data.rel.root_cpuacct, and the kernel crashes on # a store in css_clear_dir. At least we know read-only data protection is # working... # # Fixes: b6adc6d6d3272 ("powerpc/build: move .data.rel.ro, .sdata2 to read-only") # Signed-off-by: Nicholas Piggin # Reviewed-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20221116043954.3307852-1-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 eb761a1760bf30cf64e98ee8d914866e62ec9e8a # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_PPC_64K_PAGES=n # Added to kconfig CONFIG_PPC_4K_PAGES=y # Added to kconfig CONFIG_HUGETLBFS=n # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4648:warning: override: reassigning to symbol PPC_4K_PAGES # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64_defconfig+NO_HUGETLB+4K_PAGES_powerpc-gcc11 # Build took: 0:07:31.614346