# git rev-parse -q --verify 8d0e2101274358d9b6b1f27232b40253ca48bab5^{commit} 8d0e2101274358d9b6b1f27232b40253ca48bab5 already have revision, skipping fetch # git checkout -q -f -B kisskb 8d0e2101274358d9b6b1f27232b40253ca48bab5 # git clean -qxdf # < git log -1 # commit 8d0e2101274358d9b6b1f27232b40253ca48bab5 # Author: Ganesh Goudar # Date: Fri Oct 9 12:10:04 2020 +0530 # # powerpc/mce: Avoid nmi_enter/exit in real mode on pseries hash # # Use of nmi_enter/exit in real mode handler causes the kernel to panic # and reboot on injecting SLB mutihit on pseries machine running in hash # MMU mode, because these calls try to accesses memory outside RMO # region in real mode handler where translation is disabled. # # Add check to not to use these calls on pseries machine running in hash # MMU mode. # # Fixes: 116ac378bb3f ("powerpc/64s: machine check interrupt update NMI accounting") # Cc: stable@vger.kernel.org # v5.8+ # Signed-off-by: Ganesh Goudar # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20201009064005.19777-2-ganeshgr@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 8d0e2101274358d9b6b1f27232b40253ca48bab5 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc5200_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression INFO: Uncompressed kernel (size 0x7d5570) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7d5570) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7d5570) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7c4eb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.9.0-rc2-g8d0e21012743 Created: Fri Oct 16 22:30:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3718074 Bytes = 3630.93 KiB = 3.55 MiB Load Address: 00800000 Entry Point: 00800284 Image Name: Linux-5.9.0-rc2-g8d0e21012743 Created: Fri Oct 16 22:30:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3689265 Bytes = 3602.80 KiB = 3.52 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.9.0-rc2-g8d0e21012743 Created: Fri Oct 16 22:30:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3718128 Bytes = 3630.98 KiB = 3.55 MiB Load Address: 00800000 Entry Point: 00800284 Image Name: Linux-5.9.0-rc2-g8d0e21012743 Created: Fri Oct 16 22:30:34 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3718090 Bytes = 3630.95 KiB = 3.55 MiB Load Address: 00800000 Entry Point: 00800284 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc5 # Build took: 0:01:11.375463