# 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 249fad734a25889a4f23ed014d43634af6798063 # < make -s -j 24 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # make -s -j 24 ARCH=sparc64 O=/kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/powerpc-fixes_sparc64-defconfig_sparc64 # Build took: 0:01:31.254488