From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mitchel Humpherys Subject: Re: [PATCH] iommu: arm-smmu: set a more appropriate DMA mask Date: Thu, 05 Mar 2015 13:20:03 -0800 Message-ID: References: <2ad6f0a7d198d607e252c420fef52d95dbe048c6.1425581413.git.robin.murphy@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2ad6f0a7d198d607e252c420fef52d95dbe048c6.1425581413.git.robin.murphy-5wv7dgnIgG8@public.gmane.org> (Robin Murphy's message of "Thu, 5 Mar 2015 18:56:36 +0000") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Robin Murphy Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Thu, Mar 05 2015 at 10:56:36 AM, Robin Murphy 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 Tested-by: Mitchel Humpherys 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