From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/mediatek: Do not call of_node_put in mtk_iommu_of_xlate Date: Tue, 21 Jun 2016 11:39:51 +0200 Message-ID: <20160621093951.GC28248@8bytes.org> References: <1465379444-14719-1-git-send-email-honghui.zhang@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1465379444-14719-1-git-send-email-honghui.zhang-NuS5LvNUpcJWk0Htik3J/w@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: honghui.zhang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org Cc: mark.rutland-5wv7dgnIgG8@public.gmane.org, catalin.marinas-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, youlin.pei-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kendrick.hsu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org, tfiga-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, eddie.huang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, pebolle-IWqWACnzNjzz+pZb47iToQ@public.gmane.org, srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, erin.lo-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, djkurtz-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Wed, Jun 08, 2016 at 05:50:44PM +0800, honghui.zhang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org wrote: > From: Honghui Zhang > > The device_node will be released in of_iommu_configure, it may be double > released if call of_node_put in mtk_iommu_of_xlate. > > Signed-off-by: Honghui Zhang > --- > drivers/iommu/mtk_iommu.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: joro@8bytes.org (Joerg Roedel) Date: Tue, 21 Jun 2016 11:39:51 +0200 Subject: [PATCH] iommu/mediatek: Do not call of_node_put in mtk_iommu_of_xlate In-Reply-To: <1465379444-14719-1-git-send-email-honghui.zhang@mediatek.com> References: <1465379444-14719-1-git-send-email-honghui.zhang@mediatek.com> Message-ID: <20160621093951.GC28248@8bytes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jun 08, 2016 at 05:50:44PM +0800, honghui.zhang at mediatek.com wrote: > From: Honghui Zhang > > The device_node will be released in of_iommu_configure, it may be double > released if call of_node_put in mtk_iommu_of_xlate. > > Signed-off-by: Honghui Zhang > --- > drivers/iommu/mtk_iommu.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751710AbcFUJnx (ORCPT ); Tue, 21 Jun 2016 05:43:53 -0400 Received: from 8bytes.org ([81.169.241.247]:52196 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbcFUJnv (ORCPT ); Tue, 21 Jun 2016 05:43:51 -0400 Date: Tue, 21 Jun 2016 11:39:51 +0200 From: Joerg Roedel To: honghui.zhang@mediatek.com Cc: treding@nvidia.com, mark.rutland@arm.com, matthias.bgg@gmail.com, robh@kernel.org, robin.murphy@arm.com, p.zabel@pengutronix.de, devicetree@vger.kernel.org, pebolle@tiscali.nl, kendrick.hsu@mediatek.com, arnd@arndb.de, srv_heupstream@mediatek.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, tfiga@google.com, iommu@lists.linux-foundation.org, robh+dt@kernel.org, djkurtz@google.com, kernel@pengutronix.de, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, l.stach@pengutronix.de, yingjoe.chen@mediatek.com, eddie.huang@mediatek.com, youlin.pei@mediatek.com, erin.lo@mediatek.com Subject: Re: [PATCH] iommu/mediatek: Do not call of_node_put in mtk_iommu_of_xlate Message-ID: <20160621093951.GC28248@8bytes.org> References: <1465379444-14719-1-git-send-email-honghui.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465379444-14719-1-git-send-email-honghui.zhang@mediatek.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 08, 2016 at 05:50:44PM +0800, honghui.zhang@mediatek.com wrote: > From: Honghui Zhang > > The device_node will be released in of_iommu_configure, it may be double > released if call of_node_put in mtk_iommu_of_xlate. > > Signed-off-by: Honghui Zhang > --- > drivers/iommu/mtk_iommu.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks.