# git rev-parse -q --verify 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9^{commit} 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9 already have revision, skipping fetch # git checkout -q -f -B kisskb 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9 # git clean -qxdf # < git log -1 # commit 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9 # Author: Haren Myneni # Date: Thu Jun 22 00:42:46 2023 -0700 # # powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close # # VAS mmap (coproc_mmap()) and its fault handler (vas_mmap_fault()) # are called after holding mmap lock and acquire mmap_mutex to # update VAS window status. The migration / DLPAR window close can # hang while trying to acquire mmap lock if it is issued at the # same time with the user space ioctl mmap or VAS fault handler # execution. # # So this patch adds changes to acquire mmap lock before holding # mmap_mutex. # # Fixes: 8ef7b9e1765a ("powerpc/pseries/vas: Close windows with DLPAR core removal") # Signed-off-by: Haren Myneni # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20230622074246.144729-1-haren@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9 # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig Using /kisskb/src/arch/powerpc/configs/ppc64_defconfig as base Merging /kisskb/src/arch/powerpc/configs/le.config # # merged configuration written to .config (needs make) # # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64le_defconfig+NO_KVM_powerpc-gcc11 # Build took: 0:03:19.726030