# git rev-parse -q --verify 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git fixes-test remote: warning: multi-pack bitmap is missing required reverse index # git rev-parse -q --verify 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9^{commit} 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9 # 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-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-gcc --version # < /opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-ld --version # < git log --format=%s --max-count=1 36686e99e6e09c4043c34cf0c44f84f1e52f7ac9 # make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- mmu_defconfig # < make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- help # make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- olddefconfig # make -s -j 40 ARCH=microblaze O=/kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- Kernel: arch/microblaze/boot/linux.bin is ready (#1) Completed OK # rm -rf /kisskb/build/powerpc-fixes_mmu_defconfig_microblaze-gcc5 # Build took: 0:00:34.323852