# 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/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9 # make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-fixes_defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig Using /kisskb/src/arch/mips/configs/generic_defconfig as base Merging /kisskb/src/arch/mips/configs/generic/32r2.config Merging /kisskb/src/arch/mips/configs/generic/el.config Merging /kisskb/src/arch/mips/configs/generic/board-boston.config Merging /kisskb/src/arch/mips/configs/generic/board-marduk.config Merging /kisskb/src/arch/mips/configs/generic/board-ni169445.config Merging /kisskb/src/arch/mips/configs/generic/board-ocelot.config Merging /kisskb/src/arch/mips/configs/generic/board-ranchu.config Merging /kisskb/src/arch/mips/configs/generic/board-sead-3.config Merging /kisskb/src/arch/mips/configs/generic/board-virt.config Merging /kisskb/src/arch/mips/configs/generic/board-xilfpga.config # < make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-fixes_defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-fixes_defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 40 ARCH=mips O=/kisskb/build/powerpc-fixes_defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_defconfig_mipsel-gcc5 # Build took: 0:01:02.792923