From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sricharan" Subject: RE: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface Date: Wed, 4 Jan 2017 13:30:28 +0530 Message-ID: <002c01d26660$a1bf2d40$e53d87c0$@codeaurora.org> References: <20170103173456.18154-1-lorenzo.pieralisi@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170103173456.18154-1-lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org> Content-Language: en-us 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: 'Lorenzo Pieralisi' , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Cc: 'Will Deacon' , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 'Matthias Brugger' , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org Hi Lorenzo, >With the introduction of the new iommu_{register/get}_instance() >interface in commit e4f10ffe4c9b ("iommu: Make of_iommu_set/get_ops() DT >agnostic") (based on struct fwnode_handle as look-up token, so firmware >agnostic) to register IOMMU instances with the core IOMMU layer there is >no reason to keep the old OF based interface around any longer. > >Convert all the IOMMU drivers (and OF IOMMU core code) that rely on the >of_iommu_{set/get}_ops() to the new kernel interface to register/retrieve >IOMMU instances and remove the of_iommu_{set/get}_ops() remaining glue >code in order to complete the interface rework. > >Signed-off-by: Lorenzo Pieralisi >Cc: Matthias Brugger >Cc: Will Deacon >Cc: Robin Murphy >Cc: Joerg Roedel >Cc: Marek Szyprowski >--- >Exynos, msm and mtk code compile tested only owing to lack of >test platforms, I would appreciate some help in testing this >patch on those platforms before merging it even if it is just >a simple interface conversion. > For msm, Tested-by: Sricharan R Regards, Sricharan From mboxrd@z Thu Jan 1 00:00:00 1970 From: sricharan@codeaurora.org (Sricharan) Date: Wed, 4 Jan 2017 13:30:28 +0530 Subject: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface In-Reply-To: <20170103173456.18154-1-lorenzo.pieralisi@arm.com> References: <20170103173456.18154-1-lorenzo.pieralisi@arm.com> Message-ID: <002c01d26660$a1bf2d40$e53d87c0$@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Lorenzo, >With the introduction of the new iommu_{register/get}_instance() >interface in commit e4f10ffe4c9b ("iommu: Make of_iommu_set/get_ops() DT >agnostic") (based on struct fwnode_handle as look-up token, so firmware >agnostic) to register IOMMU instances with the core IOMMU layer there is >no reason to keep the old OF based interface around any longer. > >Convert all the IOMMU drivers (and OF IOMMU core code) that rely on the >of_iommu_{set/get}_ops() to the new kernel interface to register/retrieve >IOMMU instances and remove the of_iommu_{set/get}_ops() remaining glue >code in order to complete the interface rework. > >Signed-off-by: Lorenzo Pieralisi >Cc: Matthias Brugger >Cc: Will Deacon >Cc: Robin Murphy >Cc: Joerg Roedel >Cc: Marek Szyprowski >--- >Exynos, msm and mtk code compile tested only owing to lack of >test platforms, I would appreciate some help in testing this >patch on those platforms before merging it even if it is just >a simple interface conversion. > For msm, Tested-by: Sricharan R Regards, Sricharan From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935110AbdADIAk (ORCPT ); Wed, 4 Jan 2017 03:00:40 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:37258 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934636AbdADIAi (ORCPT ); Wed, 4 Jan 2017 03:00:38 -0500 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 52C85611A4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sricharan@codeaurora.org From: "Sricharan" To: "'Lorenzo Pieralisi'" , Cc: "'Joerg Roedel'" , "'Will Deacon'" , , "'Matthias Brugger'" , "'Robin Murphy'" , , "'Marek Szyprowski'" References: <20170103173456.18154-1-lorenzo.pieralisi@arm.com> In-Reply-To: <20170103173456.18154-1-lorenzo.pieralisi@arm.com> Subject: RE: [PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface Date: Wed, 4 Jan 2017 13:30:28 +0530 Message-ID: <002c01d26660$a1bf2d40$e53d87c0$@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQG0zoanxMPTB6k8tub/JAccZeUcHaFjIxgQ Content-Language: en-us Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lorenzo, >With the introduction of the new iommu_{register/get}_instance() >interface in commit e4f10ffe4c9b ("iommu: Make of_iommu_set/get_ops() DT >agnostic") (based on struct fwnode_handle as look-up token, so firmware >agnostic) to register IOMMU instances with the core IOMMU layer there is >no reason to keep the old OF based interface around any longer. > >Convert all the IOMMU drivers (and OF IOMMU core code) that rely on the >of_iommu_{set/get}_ops() to the new kernel interface to register/retrieve >IOMMU instances and remove the of_iommu_{set/get}_ops() remaining glue >code in order to complete the interface rework. > >Signed-off-by: Lorenzo Pieralisi >Cc: Matthias Brugger >Cc: Will Deacon >Cc: Robin Murphy >Cc: Joerg Roedel >Cc: Marek Szyprowski >--- >Exynos, msm and mtk code compile tested only owing to lack of >test platforms, I would appreciate some help in testing this >patch on those platforms before merging it even if it is just >a simple interface conversion. > For msm, Tested-by: Sricharan R Regards, Sricharan