Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932728AbcLSXSN (ORCPT ); Mon, 19 Dec 2016 18:18:13 -0500 Received: from mail-db5eur01on0070.outbound.protection.outlook.com ([104.47.2.70]:9753 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751499AbcLSXSL (ORCPT ); Mon, 19 Dec 2016 18:18:11 -0500 From: Madalin-Cristian Bucur To: Scott Wood , "netdev@vger.kernel.org" CC: "mpe@ellerman.id.au" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "davem@davemloft.net" Subject: RE: [upstream-release] [PATCH net v3 2/4] powerpc: fsl/fman: remove fsl, fman from of_device_ids[] Thread-Topic: [upstream-release] [PATCH net v3 2/4] powerpc: fsl/fman: remove fsl, fman from of_device_ids[] Thread-Index: AQHSWjCb6HGG153NVUSfZNKTeCB5WqEPvKJA Date: Mon, 19 Dec 2016 20:43:47 +0000 Message-ID: References: <1482164013-6111-1-git-send-email-madalin.bucur@nxp.com> <1482164013-6111-3-git-send-email-madalin.bucur@nxp.com> <1482176783.32531.28.camel@buserror.net> In-Reply-To: <1482176783.32531.28.camel@buserror.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=madalin.bucur@nxp.com; x-originating-ip: [188.25.129.254] x-ms-office365-filtering-correlation-id: 654034d7-6fec-437d-9618-08d4284fbb4a x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:AM4PR04MB1601; x-microsoft-exchange-diagnostics: 1;AM4PR04MB1601;7:kr8GbkfQkculLuSG5KzsBa6M2i8WHA1ndL4qLr7eflTdZwEEeHFWtkVCvlNYLEj5FYqvfr7SpJ32r8pbxEsEQw4/QCgzvvQvP5Dsho1G3DJM4vaB2LWEKkcJ1ovhEhQz69E/ZbFCc/DpEyNtbQrPm//5H82+lK1TIQntlcsLbcV9J62B7Ht9znbqxvr3x8Hl49hz4qJubwg7frTH+OoVR0p5pXm53ikovrVnY6UGCeX1fZvUqQn6KmHWvAdMv6ikZCbwc/4Okk8b/6Dj91Q/F04te/sDGkX9606sAPF2F31a6fG3CPXuTRNV6QlGPLnjNktRgtkQ1/S+/+yZZ0DJbwCYyOh1guVSYngd4uiCBsZKx6hTtK+mH7i5LATeQ7oFC5bWXalBTueoCIjRAprkK5P6Ea+r+3f8oG6IydFmOVLkyL5FZ/aSUeT7JmVHGyBAW4PPwUaRvSCX9cxhIOe0SQ== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(101931422205132); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(6072148)(6047074);SRVR:AM4PR04MB1601;BCL:0;PCL:0;RULEID:;SRVR:AM4PR04MB1601; x-forefront-prvs: 01613DFDC8 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(39860400002)(39850400002)(39840400002)(39450400003)(39410400002)(377424004)(199003)(189002)(24454002)(377454003)(81166006)(81156014)(66066001)(76576001)(38730400001)(7736002)(305945005)(229853002)(106116001)(2501003)(33656002)(3846002)(102836003)(77096006)(101416001)(105586002)(106356001)(6436002)(25786008)(3280700002)(4326007)(74316002)(6116002)(3660700001)(6506006)(4001150100001)(2906002)(8676002)(5660300001)(2950100002)(5001770100001)(7696004)(189998001)(122556002)(2900100001)(92566002)(8936002)(9686002)(86362001)(76176999)(50986999)(54356999)(97736004)(68736007);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR04MB1601;H:AM4PR04MB1604.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2016 20:43:47.4726 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR04MB1601 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id uBJNIIuj017011 Content-Length: 2062 Lines: 63 > From: Scott Wood [mailto:oss@buserror.net] > Sent: Monday, December 19, 2016 9:46 PM > > On Mon, 2016-12-19 at 18:13 +0200, Madalin Bucur wrote: > > The fsl/fman drivers will use of_platform_populate() on all > > supported platforms. Call of_platform_populate() to probe the > > FMan sub-nodes. > > > > Signed-off-by: Igal Liberman > > Signed-off-by: Madalin Bucur > > --- > >  arch/powerpc/platforms/85xx/corenet_generic.c | 3 --- > >  drivers/net/ethernet/freescale/fman/fman.c    | 8 ++++++++ > >  2 files changed, 8 insertions(+), 3 deletions(-) > > > > diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c > > b/arch/powerpc/platforms/85xx/corenet_generic.c > > index 1179115..824b7f1 100644 > > --- a/arch/powerpc/platforms/85xx/corenet_generic.c > > +++ b/arch/powerpc/platforms/85xx/corenet_generic.c > > @@ -117,9 +117,6 @@ static const struct of_device_id of_device_ids[] = { > >   { > >   .compatible = "fsl,qe", > >   }, > > - { > > - .compatible    = "fsl,fman", > > - }, > >   /* The following two are for the Freescale hypervisor */ > >   { > >   .name = "hypervisor", > > For this part: > > Acked-by: Scott Wood Thank you, added to v4. > > diff --git a/drivers/net/ethernet/freescale/fman/fman.c > > b/drivers/net/ethernet/freescale/fman/fman.c > > index dafd9e1..0b7f711 100644 > > --- a/drivers/net/ethernet/freescale/fman/fman.c > > +++ b/drivers/net/ethernet/freescale/fman/fman.c > > @@ -2868,6 +2868,14 @@ static struct fman *read_dts_node(struct > > platform_device *of_dev) > > > >   fman->dev = &of_dev->dev; > > > > + /* call of_platform_populate in order to probe sub-nodes on arm64 > > */ > > + err = of_platform_populate(fm_node, NULL, NULL, &of_dev->dev); > > + if (err) { > > + dev_err(&of_dev->dev, "%s: of_platform_populate() > > failed\n", > > + __func__); > > + goto fman_free; > > + } > > The "on arm64" comment is no longer accurate (and the rest of the comment > seems unnecessary). > > -Scott Removed in v4.