lkml.org 
[lkml]   [2010]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Intel Restricted Access Region Handler
On Fri, Mar 19, 2010 at 02:32:22PM -0700, Andrew Morton wrote:
> On Mon, 15 Mar 2010 16:45:08 -0700
> Greg KH <gregkh@suse.de> wrote:
>
> > On Mon, Mar 15, 2010 at 04:16:02PM -0700, Othman, Ossama wrote:
> > > Greg, Randy,
> > >
> > > > Can you also send me a patch, that adds a TODO file to the directory of
> > > > this driver, that explains what you think needs to be done in order to
> > > > get this code merged into the main portion of the kernel tree, and
> > > > include your email address in it so that people who wish to send
> > > > patches, know who to copy on them?
> > > >
> > > > See the other drivers/staging/*/TODO files for an example of what is
> > > > expected here.
> > >
> > > I just resubmitted a consolidated patch that includes the TODO file
> > > you requested, as well as the kernel-doc related updates that Randy
> > > requested. Randy, I know that you were not in a rush to get them. I
> > > just wanted to get them out of the way.
> >
> > Looks good, I'll queue it up in a few days.
>
> Then what happens? I guess I still don't understand the -staging process.
>
> Does the code get re-posted for re-review? If so, who does this? How
> do we ensure that suitably experienced/motivated reviewers and testers
> take a look at this code?

The code lives in the drivers/staging tree for a while, constantly being
cleaned up and the issues in the original TODO file addressed. When
those are finished, and me and the original authors feel the driver is
ready to move into the main portion of the kernel tree, the code is then
posted for review for the subsystem that the driver lives in.

After a few rounds of fixing stuff up there, then the code moves into
that subsystem and everyone lives happily ever after.

> Or does it just fester in -staging until we get bored of it then it
> gets merged anyway?

No, if it festers and no one pays attention to it, I delete it from the
drivers/staging tree. Lots of code has been recently removed this way.

> Regarding the code itself: it appears to implement a userspace
> interface via some /dev node. But there is no description of this
> interface at all in the changelog and there is no documentation
> provided. But the userspace-facing interface is the most important
> part of the entire feature, because it is something we cannot ever
> change. It should be exhaustively described right up-front in the
> changelog so that reviewers can easily and fully understand the
> proposed API.

I agree, that is one thing that always needs to be closely reviewed.

thanks,

greg k-h


\
 
 \ /
  Last update: 2010-03-19 22:45    [W:0.055 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site