# git rev-parse -q --verify 249fad734a25889a4f23ed014d43634af6798063^{commit} 249fad734a25889a4f23ed014d43634af6798063 already have revision, skipping fetch # git checkout -q -f -B kisskb 249fad734a25889a4f23ed014d43634af6798063 # git clean -qxdf # < git log -1 # commit 249fad734a25889a4f23ed014d43634af6798063 # Author: Madhavan Srinivasan # Date: Mon Nov 18 09:14:52 2019 +0530 # # powerpc/perf: Disable trace_imc pmu # # When a root user or a user with CAP_SYS_ADMIN privilege uses any # trace_imc performance monitoring unit events, to monitor application # or KVM threads, it may result in a checkstop (System crash). # # The cause is frequent switching of the "trace/accumulation" mode of # the In-Memory Collection hardware (LDBAR). # # This patch disables the trace_imc PMU unit entirely to avoid # triggering the checkstop. A future patch will reenable it at a later # stage once a workaround has been developed. # # Fixes: 012ae244845f ("powerpc/perf: Trace imc PMU functions") # Cc: stable@vger.kernel.org # v5.2+ # Signed-off-by: Madhavan Srinivasan # Tested-by: Hariharan T.S. # [mpe: Add pr_info_once() so dmesg shows the PMU has been disabled] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191118034452.9939-1-maddy@linux.vnet.ibm.com # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 249fad734a25889a4f23ed014d43634af6798063 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # Added to kconfig CONFIG_NUMA=n # yes \n | make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: vmlinux.o(.text+0x31dc): 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. Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 # Build took: 0:03:35.787607