On Thu, Apr 9, 2020 at 10:31 AM Xu, Like <like.xu@xxxxxxxxx> wrote: > > Hi Bizjak, > > would you mind telling us the top commit ID in your kernel tree ? > Or you may try the queue branch of > https://git.kernel.org/pub/scm/virt/kvm/kvm.git > and check if this "undefined reference" issue gets fixed. Unfortunately no, the build breaks in the same way. Uros. > Thanks, > Like Xu > > On 2020/4/9 16: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 > > > > .config is attached. > > > > Uros. >