Re: [PATCH] Intel IOMMU Pass Through Support

From: Andrew Morton
Date: Thu Apr 30 2009 - 20:24:06 EST


On Thu, 30 Apr 2009 16:37:52 -0700
Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:

> >
> > arch/x86/built-in.o: In function `iommu_setup':
> > arch/x86/kernel/pci-dma.c:215: undefined reference to `iommu_pass_through'
> > arch/x86/built-in.o: In function `pci_swiotlb_init':
> > arch/x86/kernel/pci-swiotlb.c:74: undefined reference to `iommu_pass_through'
> >
> > Because iommu_pass_through is defined in drivers/pci/intel-iommu.c and
> >
> > # CONFIG_DMAR is not set
> >
> > I'll need to cook up some local hack to work around that.
> >
>
> Patch just went to linux-next mailing list (but should have also
> gone to lkml):
>
> http://marc.info/?l=linux-next&m=124113213400748&w=2

OK, thanks. My linux-next feed seems to have broken.

That patch modifies

arch/ia64/kernel/dma-mapping.c
arch/x86/kernel/pci-dma.c

but it would be more logical to modify

arch/ia64/kernel/pci-dma.c
arch/x86/kernel/pci-dma.c

is there a reason why that cannot be done?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/