# git rev-parse -q --verify f5747ed3179b5a9830487e84162100c6681624b7^{commit} f5747ed3179b5a9830487e84162100c6681624b7 already have revision, skipping fetch # git checkout -q -f -B kisskb f5747ed3179b5a9830487e84162100c6681624b7 # git clean -qxdf # < git log -1 # commit f5747ed3179b5a9830487e84162100c6681624b7 # Author: Michael Ellerman # Date: Fri Dec 25 21:37:08 2020 +1100 # # genirq: Fix export of irq_to_desc() for powerpc KVM # # Commit 64a1b95bb9fe ("genirq: Restrict export of irq_to_desc()") # removed the export of irq_to_desc() unless powerpc KVM is being built, # because there is still a use of irq_to_desc() in modular code there. # # However it used: # # #ifdef CONFIG_KVM_BOOK3S_64_HV # # Which doesn't work when that symbol is =m, leading to a build failure: # # ERROR: modpost: "irq_to_desc" [arch/powerpc/kvm/kvm-hv.ko] undefined! # # Fix it by checking for the definedness of the correct symbol which is # CONFIG_KVM_BOOK3S_64_HV_MODULE. # # Fixes: 64a1b95bb9fe ("genirq: Restrict export of irq_to_desc()") # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f5747ed3179b5a9830487e84162100c6681624b7 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTPLUG_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_MEMORY_HOTPLUG=n # Added to kconfig CONFIG_MEMORY_HOTREMOVE=n # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTPLUG_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTPLUG_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_defconfig+NO_MEMORY_HOTPLUG_powerpc-gcc9 # Build took: 0:02:13.787668