Skip to contentSkip to conversation

linux-next: build failure after merge of the xen-tip tree

DISCUSSION Mark Brown 3 participants 4 messages Aug 4 – Aug 5 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the xen-tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: modpost: "init_mm" [drivers/xen/xen-privcmd.ko] undefined!

Caused by commit

64d26fb2ad1f2 (xen: privcmd: fix ioeventfd crash under PV domain)

I have used the tree from next-20260803 instead.

#1 lore raw
Quoted 5 lines · Mark Brown

Hi all,

After merging the xen-tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Quoted 7 lines

ERROR: modpost: "init_mm" [drivers/xen/xen-privcmd.ko] undefined!

Caused by commit

64d26fb2ad1f2 (xen: privcmd: fix ioeventfd crash under PV domain)

I have used the tree from next-20260803 instead.

Sorry for the trouble! Did not expect that to get applied so quickly.. I had noticed recently in my own testing that that patch wasn't actually ready to go in due to the symbol visibility issue, right. I'll work on resolving it. ~val

#2 lore raw
Quoted 10 lines · Val Packett
Quoted 7 lines · Mark Brown

Hi all,

After merging the xen-tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: modpost: "init_mm" [drivers/xen/xen-privcmd.ko] undefined!

Quoted 8 lines
Quoted 5 lines

Caused by commit

64d26fb2ad1f2 (xen: privcmd: fix ioeventfd crash under PV domain)

I have used the tree from next-20260803 instead.

Sorry for the trouble! Did not expect that to get applied so quickly.. I had noticed recently in my own testing that that patch wasn't actually ready to go in due to the symbol visibility issue, right. I'll work on resolving it. ~val

I'm pretty sure mm maintainers wouldn't like init_mm to be exported to modules.

I'd go for a special variant of xen_remap_domain_mfn_array() mapping just a single pfn into init_mm. This could be implemented in mmu_pv.c avoiding the need to export init_mm.

Juergen

#3 lore raw
In reply to Mark Brown
Quoted 5 lines · Mark Brown

Hi all,

After merging the xen-tip tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Quoted 7 lines

ERROR: modpost: "init_mm" [drivers/xen/xen-privcmd.ko] undefined!

Caused by commit

64d26fb2ad1f2 (xen: privcmd: fix ioeventfd crash under PV domain)

I have used the tree from next-20260803 instead.

I have dropped the offending patch from the xen-tip tree.

Juergen