Re: [PATCHv3 06/19] iommu/tegra: smmu: Select ARM_DMA_USE_IOMMU in Kconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Warren <swarren@xxxxxxxxxxxxx> wrote @ Wed, 30 Oct 2013 23:15:00 +0100:

> On 10/18/2013 04:26 AM, Hiroshi Doyu wrote:
> > SMMU expects ARM_DMA_USE_IOMMU to be enabled to use DMA mapping API by
> > default.
> 
> Is the select required for the driver to be useful at all (in which case
> it's fine), or simply for things to work "better" (define "better"), in
> which case perhaps leaving it optional is more correct.

Practically DMA API is the only interface for IOMMU(ARM_DMA_USE_IOMMU)
for us, but technically they are/should be independent.

SMMU driver attaches a device to some specific "map" out of multiple
maps. "map" is the concept from DMA API. Attaching a device to a
specific "map" belongs to "policy", which board files used to deal
with. But I couldn't find any good place to do this now. Any idea?
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux