diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-16 08:43:02 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-17 00:21:44 +0200 |
commit | e89dafb5ca5022d3bc63602018adfc766c73bc2b (patch) | |
tree | 967a3e145fd53ecace33692d15be25a150d0c498 /drivers/iommu/fsl_pamu_domain.c | |
parent | powerpc: sync pseries_le_defconfig with pseries_defconfig (diff) | |
download | linux-e89dafb5ca5022d3bc63602018adfc766c73bc2b.tar.xz linux-e89dafb5ca5022d3bc63602018adfc766c73bc2b.zip |
powerpc: Only do dynamic DMA zone limits on platforms that need it
Scott's patch 1c98025c6c95 "Dynamic DMA zone limits" changed
dma_direct_alloc_coherent() to start using dev->coherent_dma_mask.
That seems fair enough, but it exposes the fact that some of the drivers
we care about on IBM platforms aren't setting the coherent mask.
The proper fix is to have drivers set the coherent mask and also have
the platform code honor it.
For now, just restrict the dynamic DMA zone limits to the platforms that
need it.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers/iommu/fsl_pamu_domain.c')
0 files changed, 0 insertions, 0 deletions