From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH v5 07/19] iommu/arm-smmu: Set PRIVCFG in stage 1 STEs Date: Thu, 1 Sep 2016 18:19:17 +0100 Message-ID: <20160901171917.GR6721@arm.com> References: <1cda9861ce3ede6c2de9c6c4f2294549808b421b.1471975357.git.robin.murphy@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1cda9861ce3ede6c2de9c6c4f2294549808b421b.1471975357.git.robin.murphy-5wv7dgnIgG8@public.gmane.org> 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: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, punit.agrawal-5wv7dgnIgG8@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, thunder.leizhen-hv44wF8Li93QT0dZR+AlfA@public.gmane.org List-Id: devicetree@vger.kernel.org On Tue, Aug 23, 2016 at 08:05:18PM +0100, Robin Murphy wrote: > Implement the SMMUv3 equivalent of d346180e70b9 ("iommu/arm-smmu: Treat > all device transactions as unprivileged"), so that once again those > pesky DMA controllers with their privileged instruction fetches don't > unexpectedly fault in stage 1 domains due to VMSAv8 rules. > > Signed-off-by: Robin Murphy > --- > drivers/iommu/arm-smmu-v3.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Acked-by: Will Deacon Will