Skip to contentSkip to conversation

linux-next: build failure after merge of the iommu tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Nov 1, 2015 – Nov 2, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Joerg,

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

drivers/iommu/ipmmu-vmsa.c:24:27: fatal error: asm/dma-iommu.h: No such file or directory

Caused by commit

bad78b13e305 ("iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency")

Only arm has the include file ...

I have used the iommu tree from next-20151022 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw

Hi Stephen,

Quoted 5 lines · Stephen Rothwell

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

drivers/iommu/ipmmu-vmsa.c:24:27: fatal error: asm/dma-iommu.h: No such file or directory

Quoted 7 lines

Caused by commit

bad78b13e305 ("iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency")

Only arm has the include file ...

I have used the iommu tree from next-20151022 for today.

Thanks, I reverted the broken commit and will push out an updated tree soon.

Joerg

#2 lore raw

Hi Joerg, everyone,

Quoted 10 lines · Joerg Roedel

Hi Stephen,

Quoted 7 lines · Stephen Rothwell

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

drivers/iommu/ipmmu-vmsa.c:24:27: fatal error: asm/dma-iommu.h: No such file or directory

Caused by commit

Quoted 8 lines
Quoted 5 lines

bad78b13e305 ("iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency")

Only arm has the include file ...

I have used the iommu tree from next-20151022 for today.

Thanks, I reverted the broken commit and will push out an updated tree soon.

Thanks for your help and my apologies for the breakage. I did not expect this patch to enable build on non-ARM platforms but I can now understand that the LPAE Kconfig bits may have been the last bit stopping other architectures to build this driver.

I'm currently poking around with this driver on 32/64-bit ARM and getting rid of those includes from asm/ is for sure on my TODO list.

/ magnus