On 09/04/20 10:20, Uros Bizjak wrote: > Current mainline kernel fails to build (on Fedora 31) with: > > GEN .version > CHK include/generated/compile.h > LD vmlinux.o > MODPOST vmlinux.o > MODINFO modules.builtin.modinfo > GEN modules.builtin > LD .tmp_vmlinux.btf > ld: arch/x86/kvm/svm/sev.o: in function `sev_flush_asids': > /hdd/uros/git/linux/arch/x86/kvm/svm/sev.c:48: undefined reference to > `sev_guest_df_flush' > ld: arch/x86/kvm/svm/sev.o: in function `sev_hardware_setup': > /hdd/uros/git/linux/arch/x86/kvm/svm/sev.c:1146: undefined reference > to `sev_platform_status' > BTF .btf.vmlinux.bin.o Strange, the functions are defined and exported with CONFIG_CRYPTO_DEV_SP_PSP, which is "y" in your config. Paolo