[PATCH] iommu: arm-smmu: set a more appropriate DMA mask
Mitchel Humpherys
mitchelh at codeaurora.org
Thu Mar 5 13:20:03 PST 2015
On Thu, Mar 05 2015 at 10:56:36 AM, Robin Murphy <robin.murphy at arm.com> wrote:
> Since we use dma_map_page() as an architecture-independent means of
> making page table updates visible to non-coherent SMMUs, we need to
> have a suitable DMA mask set to discourage the DMA mapping layer from
> creating bounce buffers and flushing those instead, if said page tables
> happen to lie outside the default 32-bit mask.
>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
Tested-by: Mitchel Humpherys <mitchelh at codeaurora.org>
Thanks Robin!
-Mitch
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list