Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752877AbcLFNdj (ORCPT ); Tue, 6 Dec 2016 08:33:39 -0500 Received: from mail-db5eur01on0066.outbound.protection.outlook.com ([104.47.2.66]:63255 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751593AbcLFNdi (ORCPT ); Tue, 6 Dec 2016 08:33:38 -0500 From: Stuart Yoder To: Greg KH , Ruxandra Ioana Radulescu CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "agraf@suse.de" , "arnd@arndb.de" , "Alexandru Marginean" , Bogdan Hamciuc , Roy Pledge , Laurentiu Tudor Subject: RE: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file Thread-Topic: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file Thread-Index: AQHST6P8gLAcyQr7sk6cziYpfvtUZaD6rywAgAACWoCAAAPcAIAAJqoQ Date: Tue, 6 Dec 2016 12:59:59 +0000 Message-ID: References: <20161206093442.11362-1-ruxandra.radulescu@nxp.com> <20161206093442.11362-8-ruxandra.radulescu@nxp.com> <20161206095800.GA4247@kroah.com> <20161206102014.GA7899@kroah.com> In-Reply-To: <20161206102014.GA7899@kroah.com> 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=stuart.yoder@nxp.com; x-originating-ip: [67.142.235.252] x-microsoft-exchange-diagnostics: 1;VI1PR0401MB2414;7:hnGhb1mQ3ftrkMEidpx6ZiJPrOQTCnGL7kSjhNpHxcukzxbsaWquWf1I2V0Bw9ygmLbcaitKuakEJZZMxVgti9spZQeM3eRQ5+J4Nteh1kUbFLtV18x074P5e9BQPlUAJeQ2bFcJGUPc2jYD//yT2/vj/UtxoOJdN7cm86bBMTTOwgi1lMeZhXhkyzN4QkSRFo/JTM0t8hCr7/qT5Hr79S9YysbdKuZ8VawBp311J6gmrnZpdXr17sKmq393HfcaLB9ij08FF0DltVJySjbKZ7nXRGB3e3CtedDV1isfWGIsfjYGz+YSyMql5h0WJL3zAVV7tlY4aUOiT0fYVw1SIG/wMGTgqfiwTQjcG9vgZKmHm6Yy/WsfDaM1vkX+xJWqpd1pHPSVnqbpzNY+XXnCLvjU/3caIuTdmD1cDSHgx/RCZYn6l/rMcKKODHFl9llZCagzuXcbWQxtUYag8hkSAw== x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(7916002)(377454003)(199003)(13464003)(189002)(24454002)(7846002)(6116002)(7736002)(3660700001)(39450400002)(5001770100001)(229853002)(97736004)(93886004)(5660300001)(39860400001)(77096006)(6636002)(106116001)(7696004)(39840400001)(50986999)(6506006)(106356001)(38730400001)(105586002)(74316002)(81166006)(54356999)(8936002)(92566002)(305945005)(33656002)(101416001)(86362001)(76176999)(68736007)(4326007)(81156014)(102836003)(2900100001)(2950100002)(9686002)(2906002)(66066001)(39850400001)(3280700002)(8676002)(189998001)(3846002)(39410400001)(122556002)(76576001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2414;H:VI1PR0401MB2638.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-correlation-id: 8f0c349b-f6c5-486e-1d01-08d41dd7c8fe x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:VI1PR0401MB2414; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6047074)(6072148);SRVR:VI1PR0401MB2414;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB2414; x-forefront-prvs: 01480965DA spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2016 12:59:59.1671 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2414 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 quoted-printable to 8bit by mail.home.local id uB6DXmxV017356 Content-Length: 4775 Lines: 106 > -----Original Message----- > From: Greg KH [mailto:gregkh@linuxfoundation.org] > Sent: Tuesday, December 06, 2016 4:20 AM > To: Ruxandra Ioana Radulescu > Cc: devel@driverdev.osuosl.org; linux-kernel@vger.kernel.org; agraf@suse.de; arnd@arndb.de; Alexandru > Marginean ; Bogdan Hamciuc ; Stuart Yoder > ; Roy Pledge ; Laurentiu Tudor > Subject: Re: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file > > On Tue, Dec 06, 2016 at 10:06:25AM +0000, Ruxandra Ioana Radulescu wrote: > > > -----Original Message----- > > > From: Greg KH [mailto:gregkh@linuxfoundation.org] > > > Sent: Tuesday, December 06, 2016 11:58 AM > > > To: Ruxandra Ioana Radulescu > > > Cc: devel@driverdev.osuosl.org; linux-kernel@vger.kernel.org; > > > agraf@suse.de; arnd@arndb.de; Alexandru Marginean > > > ; Bogdan Hamciuc > > > ; Stuart Yoder ; Roy > > > Pledge ; Laurentiu Tudor > > > > > > Subject: Re: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file > > > > > > On Tue, Dec 06, 2016 at 03:34:41AM -0600, Ioana Radulescu wrote: > > > > Add a list of TODO items for the Ethernet driver > > > > > > > > Signed-off-by: Ioana Radulescu > > > > --- > > > > drivers/staging/fsl-dpaa2/ethernet/TODO | 9 +++++++++ > > > > 1 files changed, 9 insertions(+), 0 deletions(-) > > > > create mode 100644 drivers/staging/fsl-dpaa2/ethernet/TODO > > > > > > > > diff --git a/drivers/staging/fsl-dpaa2/ethernet/TODO b/drivers/staging/fsl- > > > dpaa2/ethernet/TODO > > > > new file mode 100644 > > > > index 0000000..833265b > > > > --- /dev/null > > > > +++ b/drivers/staging/fsl-dpaa2/ethernet/TODO > > > > @@ -0,0 +1,9 @@ > > > > +* Add a DPAA2 MAC kernel driver in order to allow PHY management; > > > currently > > > > + the DPMAC objects and their link to DPNIs are handled by MC internally > > > > + and all PHYs are seen as fixed-link > > > > +* add more debug support: decide how to expose detailed debug > > > statistics, > > > > + add ingress error queue support > > > > +* MC firmware uprev; the DPAA2 objects used by the Ethernet driver > > > need to > > > > + be kept in sync with binary interface changes in MC > > > > +* refine README file > > > > +* cleanup > > > > > > These seem like very minor things, why not just spend a week and do this > > > work and get it merged to the "correct" portion of the kernel tree? Why > > > does this have to go into staging? > > > > Actually the first bullet is not minor at all and requires some design > > choices that we aren't yet completely clear with, and which in turn may > > affect parts of the Ethernet driver. We figured it would be best to try > > adding this in staging first (and also provide this way an example of using > > the fsl-mc bus and dpio driver) than wait until all MAC development > > questions are ironed-out. > > Ok, that makes sense. > > > I can remove the other bullets from the TODO list if you think they're > > not worth mentioning. > > No, they should be mentioned, I just didn't think they are all that much > work, and if you didn't have major things needed to get done, you could > just knock it all out in a week of local development. > > I'll look into taking this into the tree later today... Note, as mentioned in the cover letter, in it's current form this patch series is based on the series: [PATCH v3 0/9] staging: fsl-mc: move bus driver out of staging, add dpio ...which means that it won't build or run without that series being applied first, due to header file dependencies. It also functionally depends on the DPIO driver. So we need the dpio driver merged first. Is moving the fsl-mc bus driver out of staging a possibility now? Seems like there are several options-- A. Keep bus driver in drivers/staging for now, create new series to add dpio driver into staging, add fsl-dpaa2/eth into staging and refactor it to assume include dependencies in staging directories. B. Apply the series: [PATCH v3 0/9] staging: fsl-mc: move bus driver out of staging, add dpio ...in something close to it's current form. There is some minor feedback on the dpio driver that will require a v4, which I can send in the next day or so. The fsl-mc bus driver to do list is complete, with the exception of demonstrating a functional driver on top of the bus driver, and as described in the cover letter of the "move bus driver out of staging" series the dpio driver demonstrates what an fsl-mc device driver looks like. Thanks, Stuart