Re: [PATCH RFC] MAINTAINERS: include GOOGLE FIRMWARE entry

From: Lukas Bulwahn
Date: Mon Mar 09 2020 - 17:03:28 EST




On Mon, 9 Mar 2020, Greg Kroah-Hartman wrote:

> On Mon, Mar 09, 2020 at 07:32:10AM +0100, Lukas Bulwahn wrote:
> >
> >
> > On Sun, 8 Mar 2020, Joe Perches wrote:
> >
> > > On Sun, 2020-03-08 at 15:32 -0700, Guenter Roeck wrote:
> > > > On Sun, Mar 8, 2020 at 12:51 PM Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> wrote:
> > > > > All files in drivers/firmware/google/ are identified as part of THE REST
> > > > > according to MAINTAINERS, but they are really maintained by others.
> > > []
> > > > > diff --git a/MAINTAINERS b/MAINTAINERS
> > > []
> > > > > @@ -7111,6 +7111,14 @@ S: Supported
> > > > > F: Documentation/networking/device_drivers/google/gve.rst
> > > > > F: drivers/net/ethernet/google
> > > > >
> > > > > +GOOGLE FIRMWARE
> > > > > +M: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > > > > +M: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> > > > > +R: Guenter Roeck <groeck@xxxxxxxxxxxx>
> > > > > +R: Julius Werner <jwerner@xxxxxxxxxxxx>
> > > > > +S: Maintained
> > > > > +F: drivers/firmware/google/
> > > > > +
> > > >
> > > > FWIW, I would not mind stepping up as maintainer if needed, but I
> > > > think we should strongly discourage this kind of auto-assignment of
> > > > maintainers and/or reviewers.
> > >
> > > Auto assignment should definitely _not_ be done.
> > >
> > > This is an RFC proposal though.
> > >
> > > Sometimes it's better to not produce an RFC as
> > > a patch, but maybe just show a proposed section
> > > and ask if is appropriate may be a better style
> > > going forward.
> > >
> >
> > Please interpret the RFC patch similar to an email as Joe wrote below,
> > simply reaching out to you.
> >
> > There is no auto-assignment intended, nor did I expect the patch to be
> > picked up on the first attempt of uneducated guessing.
> >
> > There are currently around 3,000 files identified being part of THE REST;
> > so they are all assigned to Linus and LKML.
> >
> > To confirm that they actually are maintained by someone else and reflect
> > that in MAINTAINERS, a bit of educated guessing who to contact and to
> > which entry to add the files to is required.
> >
> > I am starting with the "bigger" clustered files in drivers, and then try
> > to look at files in include and Documentation/ABI/.
> >
> > Here is a rough statistics on how many files from each directory are in
> > THE REST:
> >
> > 1368 include
> > 566 tools
> > 327 lib
> > 321 Documentation
> > 100 drivers
> > 91 kernel
> > 84 scripts
> > 75 samples
> > 13 ipc
> > 13 init
> > 8 usr
> > 2 arch
> > 1 virt
>
> When you use the get_maintainer.pl script, it should find reasonable
> people/lists for those files, so why not just stick with that? Trying
> to classify all of the kernel files to have MAINTAINERS entries seems
> like a loosing proposition as there are file that no one has touched in
> years.

I would at least hope that there are some quick wins with some cases that
are pretty obvious to be added to existing entries. A first scan suggested
that it should not take too much detective work to figure it out for some
of those files.

For files that have not been touched in years---which I hope are not the
majority of the cases---it would be nice to see if I can find out that
these files are part of a entry/subsystem that actually maintains them,
but did not need to touch them in years, or if these files are orphaned
(or even meaningless left-overs) but nobody noticed because it was never
made explicit in the MAINTAINERS file.

After those quick wins, getting this done for ALL files could turn out to
be impossible, and just checking for future changes and reacting to those
is the better approach to ensure that new files have an entry in
MAINTAINERS, but I guess I will find out how much is quickly and easily
allocated to a MAINTAINERS entry and what cannot be determined as outsider
and relying on get_maintainer.pl is more reliable than getting a
confirmation for a dedicated entry in MAINTAINERS.

If the feedback is consistently discouraging to update existing entries
with additions for currently non-assigned files, I will stop figuring out
the changes and relying on get_maintainers.pl without making use of any
data from the MAINTAINERS file for those cases remains the best option,
just as it is today.

I am willing to investigate if this point can be improved in the
MAINTAINERS file. If it is all good, as it is right now, or it simply
cannot be improved without a lot of attention from many developers,
everything can stay as-is and I will look into other topics.

Lukas