# git rev-parse -q --verify fc37a1632d40c80c067eb1bc235139f5867a2667^{commit} fc37a1632d40c80c067eb1bc235139f5867a2667 already have revision, skipping fetch # git checkout -q -f -B kisskb fc37a1632d40c80c067eb1bc235139f5867a2667 # git clean -qxdf # < git log -1 # commit fc37a1632d40c80c067eb1bc235139f5867a2667 # Author: Desnes A. Nunes do Rosario # Date: Thu Feb 27 10:47:15 2020 -0300 # # powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems # # PowerVM systems running compatibility mode on a few Power8 revisions are # still vulnerable to the hardware defect that loses PMU exceptions arriving # prior to a context switch. # # The software fix for this issue is enabled through the CPU_FTR_PMAO_BUG # cpu_feature bit, nevertheless this bit also needs to be set for PowerVM # compatibility mode systems. # # Fixes: 68f2f0d431d9ea4 ("powerpc: Add a cpu feature CPU_FTR_PMAO_BUG") # Signed-off-by: Desnes A. Nunes do Rosario # Reviewed-by: Leonardo Bras # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200227134715.9715-1-desnesn@linux.ibm.com # < /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 fc37a1632d40c80c067eb1bc235139f5867a2667 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KPROBES_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # Added to kconfig CONFIG_KPROBES=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KPROBES_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_ppc64le_defconfig+NO_KPROBES_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KPROBES_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: vmlinux.o(.text+0x31e4): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x33c8): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KPROBES_powerpc-gcc9 # Build took: 0:03:20.919914