# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.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_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc512x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c: In function 'ads5121_select_chip': /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c:294:19: warning: unused variable 'mtd' [-Wunused-variable] struct mtd_info *mtd = nand_to_mtd(nand); ^ INFO: Uncompressed kernel (size 0x7f28e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.10.0-gf5747ed3179b Created: Fri Dec 25 22:54:24 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3520186 Bytes = 3437.68 KiB = 3.36 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc512x_defconfig_powerpc-gcc5 # Build took: 0:00:33.929277