# git rev-parse -q --verify cd81acc600a9684ea4b4d25a47900d38a3890eab^{commit} cd81acc600a9684ea4b4d25a47900d38a3890eab already have revision, skipping fetch # git checkout -q -f -B kisskb cd81acc600a9684ea4b4d25a47900d38a3890eab # git clean -qxdf # < git log -1 # commit cd81acc600a9684ea4b4d25a47900d38a3890eab # Author: Nicholas Piggin # Date: Tue Nov 17 23:56:17 2020 +1000 # # powerpc/64s/exception: KVM Fix for host DSI being taken in HPT guest MMU context # # Commit 2284ffea8f0c ("powerpc/64s/exception: Only test KVM in SRR # interrupts when PR KVM is supported") removed KVM guest tests from # interrupts that do not set HV=1, when PR-KVM is not configured. # # This is wrong for HV-KVM HPT guest MMIO emulation case which attempts # to load the faulting instruction word with MSR[DR]=1 and MSR[HV]=1 with # the guest MMU context loaded. This can cause host DSI, DSLB interrupts # which must test for KVM guest. Restore this and add a comment. # # Fixes: 2284ffea8f0c ("powerpc/64s/exception: Only test KVM in SRR interrupts when PR KVM is supported") # Cc: stable@vger.kernel.org # v5.7+ # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20201117135617.3521127-1-npiggin@gmail.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 cd81acc600a9684ea4b4d25a47900d38a3890eab # < make -s -j 80 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 80 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 80 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 80 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 0x825900) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x825900) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x825900) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) INFO: Uncompressed kernel (size 0x815248) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) Image Name: Linux-5.10.0-rc2-gcd81acc600a9 Created: Fri Nov 20 20:18:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3737439 Bytes = 3649.84 KiB = 3.56 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.10.0-rc2-gcd81acc600a9 Created: Fri Nov 20 20:18:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3766577 Bytes = 3678.30 KiB = 3.59 MiB Load Address: 00900000 Entry Point: 00900284 Image Name: Linux-5.10.0-rc2-gcd81acc600a9 Created: Fri Nov 20 20:18:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3766413 Bytes = 3678.14 KiB = 3.59 MiB Load Address: 00900000 Entry Point: 00900284 Image Name: Linux-5.10.0-rc2-gcd81acc600a9 Created: Fri Nov 20 20:18:45 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3766609 Bytes = 3678.33 KiB = 3.59 MiB Load Address: 00900000 Entry Point: 00900284 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc5 # Build took: 0:01:22.121352