# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_linkstation_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- linkstation_defconfig WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_linkstation_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_linkstation_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI Depends on [n]: PCI [=n] Selected by [y]: - MPC10X_BRIDGE [=y] # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_linkstation_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x6c55e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.10.0-80716-gf5747ed3179 Created: Fri Dec 25 22:57:41 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3112085 Bytes = 3039.15 KiB = 2.97 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_linkstation_defconfig_powerpc-gcc5 # Build took: 0:01:00.928782