# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f5747ed3179b5a9830487e84162100c6681624b7 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_corenet64_smp_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_MPIC=y # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_corenet64_smp_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_corenet64_smp_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4196:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_corenet64_smp_defconfig+KVM_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x1212d48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1300000) Image Name: Linux-5.10.0-gf5747ed3179b Created: Fri Dec 25 23:40:39 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7567781 Bytes = 7390.41 KiB = 7.22 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_corenet64_smp_defconfig+KVM_powerpc-gcc4.9 # Build took: 0:02:17.473016