# git rev-parse -q --verify bc4188a2f56e821ea057aca6bf444e138d06c252^{commit} bc4188a2f56e821ea057aca6bf444e138d06c252 already have revision, skipping fetch # git checkout -q -f -B kisskb bc4188a2f56e821ea057aca6bf444e138d06c252 # git clean -qxdf # < git log -1 # commit bc4188a2f56e821ea057aca6bf444e138d06c252 # Author: Nicholas Piggin # Date: Fri Jul 16 12:43:10 2021 +1000 # # KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak # # vcpu_put is not called if the user copy fails. This can result in preempt # notifier corruption and crashes, among other issues. # # Fixes: b3cebfe8c1ca ("KVM: PPC: Move vcpu_load/vcpu_put down to each ioctl case in kvm_arch_vcpu_ioctl") # Reported-by: Alexey Kardashevskiy # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210716024310.164448-2-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 bc4188a2f56e821ea057aca6bf444e138d06c252 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_storcenter_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- storcenter_defconfig WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_storcenter_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_storcenter_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_storcenter_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_storcenter_defconfig_powerpc-gcc5 # Build took: 0:00:52.864541