# git rev-parse -q --verify 11cc92eb747aace5aa2b54b65b5cb8325a8981de^{commit} 11cc92eb747aace5aa2b54b65b5cb8325a8981de already have revision, skipping fetch # git checkout -q -f -B kisskb 11cc92eb747aace5aa2b54b65b5cb8325a8981de # git clean -qxdf # < git log -1 # commit 11cc92eb747aace5aa2b54b65b5cb8325a8981de # Author: Michael Ellerman # Date: Fri Dec 25 22:30:58 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 # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 11cc92eb747aace5aa2b54b65b5cb8325a8981de # < make -s -j 48 ARCH=arm64 O=/kisskb/build/powerpc-next_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- defconfig # < make -s -j 48 ARCH=arm64 O=/kisskb/build/powerpc-next_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- help # make -s -j 48 ARCH=arm64 O=/kisskb/build/powerpc-next_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- olddefconfig # make -s -j 48 ARCH=arm64 O=/kisskb/build/powerpc-next_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:33: LSE atomics not supported by binutils /kisskb/src/arch/arm64/kernel/smp.c: In function 'arch_show_interrupts': /kisskb/src/arch/arm64/kernel/smp.c:810:16: warning: unused variable 'irq' [-Wunused-variable] unsigned int irq = irq_desc_get_irq(ipi_desc[i]); ^ Completed OK # rm -rf /kisskb/build/powerpc-next_arm64-defconfig_arm64-gcc5.4 # Build took: 0:05:59.752174