linux-next: build failure after merge of the kvm tree
Subsystems (4)
Hi all,
After merging the kvm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
ERROR: modpost: ".follow_pte" [arch/powerpc/kvm/kvm.ko] undefined!
Caused by commit
bd2fae8da794 ("KVM: do not assume PTE is writable after follow_pfn")
follow_pte is not EXPORTed.
I have used the kvm tree from next-20210204 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Paolo Bonzini
maintainerQuoted 7 lines · Stephen Rothwell
Hi all,
After merging the kvm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:ERROR: modpost: ".follow_pte" [
arch/powerpc/kvm/kvm.ko] undefined!
Quoted 8 lines
Caused by commit
bd2fae8da794("KVM: do not assume PTE is writable afterfollow_pfn")
follow_pteis not EXPORTed.I have used the kvm tree from next-20210204 for today.
Stephen, can you squash in the following for the time being?
mm/memory.c +1 -0
@@ -4775,6 +4775,7 @@ int follow_pte(struct mm_struct *mm, unsigned long address, out:return -EINVAL ; } +EXPORT_SYMBOL_GPL (follow_pte);/** * follow_pfn - look up PFN at a user virtual address
A similar patch has been posted already, but Jason Gunthorpe asked to add some kerneldoc comments. Therefore it will not be in kvm/next for a few more days.
Paolo
Hi Paolo,
Quoted 11 lines · On Fri, 5 Feb 2021 11:08:39 +0100 Paolo Bonzini <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell
Hi all,
After merging the kvm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:ERROR: modpost: ".follow_pte" [
arch/powerpc/kvm/kvm.ko] undefined!Caused by commit
Quoted 8 lines
Quoted 6 lines
bd2fae8da794("KVM: do not assume PTE is writable afterfollow_pfn")
follow_pteis not EXPORTed.I have used the kvm tree from next-20210204 for today.
Stephen, can you squash in the following for the time being?
Wiil do. I will drop it when it no longer applies.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Paolo,
Quoted 14 lines · On Mon, 8 Feb 2021 06:48:32 +1100 Stephen Rothwell <[email protected]> wrote:
Quoted 12 lines · On Fri, 5 Feb 2021 11:08:39 +0100 Paolo Bonzini <[email protected]> wrote:
Quoted 10 lines · Stephen Rothwell
After merging the kvm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:ERROR: modpost: ".follow_pte" [
arch/powerpc/kvm/kvm.ko] undefined!Caused by commit
bd2fae8da794("KVM: do not assume PTE is writable afterfollow_pfn")
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
follow_pteis not EXPORTed.I have used the kvm tree from next-20210204 for today.
Stephen, can you squash in the following for the time being?
Wiil do. I will drop it when it no longer applies.
I am still applying this patch.
Signature · 2 lines
Cheers, Stephen Rothwell