From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/ipmmu-vmsa: IMUCTRn.TTSEL needs a special usage on R-Car Gen3 Date: Fri, 20 Jul 2018 14:04:22 +0200 Message-ID: <20180720120422.f6whui2dtr5ygscu@8bytes.org> References: <1531104811-23417-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1531104811-23417-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@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: Yoshihiro Shimoda Cc: linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Mon, Jul 09, 2018 at 11:53:31AM +0900, Yoshihiro Shimoda wrote: > The TTSEL bit of IMUCTRn register of R-Car Gen3 needs to be set > unused MMU context number even if uTLBs are disabled > (The MMUEN bit of IMUCTRn register = 0). > Since initial values of IMUCTRn.TTSEL on all IPMMU-domains are 0, > this patch adds a new feature "reserved_context" to reserve IPMMU > context number 0 as the unused MMU context. > > Signed-off-by: Yoshihiro Shimoda > --- > drivers/iommu/ipmmu-vmsa.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied, thanks.