Re: [PATCH] iommu: Remove stub functions for !CONFIG_IOMMU_API

Ohad Ben-Cohen
2011-08-29T12:56:06Z

On Mon, Aug 29, 2011 at 3:25 PM, Roedel, Joerg <Joerg.Roedel@amd.com> wrote:
> Right, when the system has an iommu then the iommu-api is the right
> choice to do that. But how to you handle this on systems without an
> iommu?

On iommu-less systems this is completely moot, as the remote processor
can access the bus directly, and thus doesn't need any iommu
configuration to take place before it boots.

So in case there is an iommu - we configure it appropriately, and if
there isn't, we just skip that part.