From: Alexander Graf <agraf@suse.de>
To: Stuart Yoder <stuart.yoder@nxp.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Cc: German Rivera <german.rivera@nxp.com>,
"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"arnd@arndb.de" <arnd@arndb.de>, Leo Li <leoyang.li@nxp.com>
Subject: Re: [PATCH 0/9] staging: fsl-mc: move bus driver out of staging, add dpio
Date: Wed, 26 Oct 2016 09:02:49 +0200 [thread overview]
Message-ID: <58105519.5050907@suse.de> (raw)
In-Reply-To: <VI1PR0401MB2638583008C2537897723ADB8DAB0@VI1PR0401MB2638.eurprd04.prod.outlook.com>
On 10/26/2016 04:35 AM, Stuart Yoder wrote:
>
>> -----Original Message-----
>> From: Alexander Graf [mailto:agraf@suse.de]
>> Sent: Monday, October 24, 2016 9:34 AM
>> To: Stuart Yoder <stuart.yoder@nxp.com>; gregkh@linuxfoundation.org
>> Cc: German Rivera <german.rivera@nxp.com>; devel@driverdev.osuosl.org; linux-kernel@vger.kernel.org;
>> arnd@arndb.de; Leo Li <leoyang.li@nxp.com>
>> Subject: Re: [PATCH 0/9] staging: fsl-mc: move bus driver out of staging, add dpio
>>
>> Hi Stuart,
>>
>> On 10/21/2016 04:01 PM, Stuart Yoder wrote:
>>> This patch series: A) addresses the final item in the staging
>>> TODO list for the fsl-mc bus driver-- adding a functional driver
>>> on top of the bus driver, and B) requests that the fsl-mc bus driver
>>> be moved out of staging.
>> Awesome, it's great to see progress again! :)
>>
>>> The proposed destination for the bus driver is drivers/bus.
>>> Proposed location for global header files for fsl-mc and dpaa2
>>> is include/linux/fsl.
>>>
>>> The functional driver added is for the DPIO object which provides
>>> queuing services for other DPAA2 drivers. An overview of the
>> I thought the idea of the TODO item was to have a full-fledged user of
>> the bus, like a full network driver. The TODO item reads:
>>
>>> -* Add at least one device driver for a DPAA2 object (child device of the
>>> - fsl-mc bus). Most likely candidate for this is adding DPAA2 Ethernet
>>> - driver support, which depends on drivers for several objects: DPNI,
>>> - DPIO, DPMAC. Other pre-requisites include:
> DPIO is a "full fleged user" of the bus. But, yes, it does provide
> infrastructure services and so does not have a standalone I/O function.
>
>> which to me indicates that DPIO is only part of that goal. Of course I'm
>> the last person blocking progress to move the driver out of staging. But
>> are we at the right point yet?
> I thought the goal was to demonstrate a driver on top of the fsl-mc
> bus driver because without that it would have been difficult to validate/review
> that the bus infrastructure was correct.
>
> The DPIO driver demonstrates full use of the bus driver infrastructure--
> getting probed, discovering and mapping mmio regions, initializing the
> device, initializing interrupts.
>
>> To me the topmost important bit of having this outside of staging is
>> actually missing in the TODO list (probably since it's obvious): Have
>> stable, reliable, responsible maintainership for the code.
>>
>> So far I've seen German do the initial push upstream, then there was
>> silence for a while. Now some time passed and you push a few bits here
>> and there again. All of the efforts are great and very appreciated, but
>> I'm missing the "maintainer" figure. Some peer to German and you who
>> oversees the whole thing, reviews your patches and devotes at least 2-3
>> days a week to only upstream fsl-mc work. Someone like York for U-Boot
>> or Scott for general Linux work.
>>
>> Without that, there's too much of a chance that the code will stay
>> incomplete, bitrot, etc. And that'd be bad for everyone involved. I
>> think the concept behind fsl-mc is great and exactly what people need,
>> so we should make sure it succeeds.
> I agree we need that. We are actively working on getting an additional
> maintainer (or two), and until we can get the right person(s) I'm willing
> to fill that role. We're not going to let this code bitrot.
>
> I actually think getting the bus driver out of staging will help spur
> broader involvment by NXP engineers in the fsl-mc bus support. There
> are enhancements like a resource management interface for user space,
> an interface to see the MC log buffer, SMMU-related hooks for the fsl-mc
> bus, and vfio for the fsl-mc bus. All that stuff is on hold until we
> get the bus driver out of staging. The directive we have is to add no
> new features until the bus driver is out.
>
> For example, the ARM SMMU driver has an include of <linux/pci.h>,
> but I don't see the SMMU maintainers accepting the following in
> arm-smmu.c:
> #include <../drivers/staging/fsl-mc/include/mc.h>
>
> Given that the fsl-mc bus TODO list is done, there is not a whole lot
> for a new maintainer to do to the bus driver itself until we get the
> driver out of staging (aside from reviewing another DPAA2 object driver
> that would also go into staging).
>
> Once the bus driver + dpio is out staging it also opens up the door
> for other DPAA2 drivers-- network, crypto, DMA, L2 switch,
> decompression/compression, and others to be upstreamed. I didn't think
> we wanted all of those to go into staging, but we were waiting until
> some 1 driver was accepted first, proving the bus infrastructure is
> sound. I was hoping DPI could be that proof of concept.
>
> So, in short, I think getting the bus driver and DPIO out of staging
> will open some parallel development and will also provide more
> opportunities for some new maintainers to get involved, because there
> will be more to review and do.
>
> However, if you want things to stay in staging for now, I will resubmit
> and put DPIO there.
As long as Greg is ok with your approach, I'm fine moving it out of
staging too of course. And consider me eager to see the other drivers
pop up :).
Alex
prev parent reply other threads:[~2016-10-26 7:02 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 14:01 [PATCH 0/9] staging: fsl-mc: move bus driver out of staging, add dpio Stuart Yoder
2016-10-21 14:01 ` [PATCH 1/9] staging: fsl-mc: move bus driver out of staging Stuart Yoder
2016-10-21 14:01 ` [PATCH 2/9] bus: fsl-mc: dpio: add DPIO driver overview document Stuart Yoder
2016-10-21 14:01 ` [PATCH 3/9] bus: fsl-mc: dpio: add APIs for DPIO objects Stuart Yoder
2016-11-02 14:50 ` Ruxandra Ioana Radulescu
2016-11-04 14:06 ` Stuart Yoder
2016-10-21 14:01 ` [PATCH 4/9] bus: fsl-mc: dpio: add frame descriptor and scatter/gather APIs Stuart Yoder
[not found] ` <VI1PR0401MB2638FACBE40822E26ABBD7018DA30@VI1PR0401MB2638.eurprd04.prod.outlook.com>
2016-11-04 13:22 ` Ruxandra Ioana Radulescu
2016-11-04 14:32 ` Stuart Yoder
2016-11-04 15:04 ` Ruxandra Ioana Radulescu
2016-11-07 23:29 ` Stuart Yoder
2016-10-21 14:01 ` [PATCH 5/9] bus: fsl-mc: dpio: add global dpaa2 definitions Stuart Yoder
2016-10-21 14:01 ` [PATCH 6/9] bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2 Stuart Yoder
[not found] ` <VI1PR0401MB26389BCC00429B2C3396C3CD8DA30@VI1PR0401MB2638.eurprd04.prod.outlook.com>
2016-11-10 15:03 ` Ruxandra Ioana Radulescu
2016-11-10 17:25 ` Stuart Yoder
2016-11-28 18:09 ` Ruxandra Ioana Radulescu
2016-11-29 23:07 ` Stuart Yoder
2016-10-21 14:01 ` [PATCH 7/9] bus: fsl-mc: dpio: add the DPAA2 DPIO service interface Stuart Yoder
[not found] ` <VI1PR0401MB2638B079498EFB89BD8AA5BA8DA30@VI1PR0401MB2638.eurprd04.prod.outlook.com>
2016-11-04 14:46 ` Ruxandra Ioana Radulescu
2016-11-12 0:10 ` Stuart Yoder
2016-10-21 14:01 ` [PATCH 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver Stuart Yoder
[not found] ` <VI1PR0401MB263842A73049105182B1041E8DA30@VI1PR0401MB2638.eurprd04.prod.outlook.com>
2016-11-04 15:11 ` Ruxandra Ioana Radulescu
2016-11-10 0:20 ` Stuart Yoder
2016-10-21 14:01 ` [PATCH 9/9] bus: fsl-mc: dpio: add maintainer for DPIO Stuart Yoder
2016-10-24 14:34 ` [PATCH 0/9] staging: fsl-mc: move bus driver out of staging, add dpio Alexander Graf
2016-10-26 2:35 ` Stuart Yoder
2016-10-26 7:02 ` Alexander Graf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58105519.5050907@suse.de \
--to=agraf@suse.de \
--cc=arnd@arndb.de \
--cc=devel@driverdev.osuosl.org \
--cc=german.rivera@nxp.com \
--cc=gregkh@linuxfoundation.org \
--cc=leoyang.li@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stuart.yoder@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.