From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753981AbcLFRbL (ORCPT ); Tue, 6 Dec 2016 12:31:11 -0500 Received: from foss.arm.com ([217.140.101.70]:48658 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752353AbcLFRbK (ORCPT ); Tue, 6 Dec 2016 12:31:10 -0500 Date: Tue, 6 Dec 2016 17:31:11 +0000 From: Will Deacon To: Sricharan R Cc: jcrouse@codeaurora.org, pdaly@codeaurora.org, jgebben@codeaurora.org, joro@8bytes.org, linux-kernel@vger.kernel.org, pratikp@codeaurora.org, iommu@lists.linux-foundation.org, robin.murphy@arm.com, tzeng@codeaurora.org, linux-arm-kernel@lists.infradead.org, mitchelh@codeaurora.org, vinod.koul@intel.com Subject: Re: [PATCH V6 6/6] iommu/arm-smmu: Set privileged attribute to 'default' instead of 'unprivileged' Message-ID: <20161206173110.GT2498@arm.com> References: <1480690509-13490-1-git-send-email-sricharan@codeaurora.org> <1480690509-13490-7-git-send-email-sricharan@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1480690509-13490-7-git-send-email-sricharan@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 02, 2016 at 08:25:09PM +0530, Sricharan R wrote: > Currently the driver sets all the device transactions privileges > to UNPRIVILEGED, but there are cases where the iommu masters wants > to isolate privileged supervisor and unprivileged user. > So don't override the privileged setting to unprivileged, instead > set it to default as incoming and let it be controlled by the pagetable > settings. > > Signed-off-by: Sricharan R Acked-by: Will Deacon I'll let you and Robin sort out what you want to do with this series :) Will