All of lore.kernel.org
 help / color / mirror / Atom feed
* New Realtek driver
@ 2017-07-21  1:18 Larry Finger
  2017-07-21 10:13 ` Marcel Holtmann
  2017-07-21 15:08 ` Greg KH
  0 siblings, 2 replies; 9+ messages in thread
From: Larry Finger @ 2017-07-21  1:18 UTC (permalink / raw)
  To: Kalle Valo, Greg KH; +Cc: linux-wireless, Birming Chiu, Pkshih

Kalle and Greg,

Once again I find myself in the awkward position of needing to submit code to 
two different trees, i.e. wireless and staging.

The code in question concerns a new Realtek device, the RTL8822BE. The device is 
already shipping, and Realtek would like it to be available in kernel 3.14. As 
it consists of ~120,000 new lines of code, I have assured Realtek that 3.14 
would not be possible, at least in the wireless tree. What I plan to do is 
submit the changes in the existing drivers through wireless, and the three 
totally new drivers through staging. My expectation is that this code would live 
for a relatively short time there, but going that route would give time for the 
code to be reviewed properly, but still be available in a kernel driver. All of 
the new code will be available in a GitHub repo maintained by Realtek for those 
users whose distros do not configure anything in staging.

For my part, I will push the wireless tree material as fast as I can and hope 
there is time available near the end of the 4.13-rcX sequence for the material 
to reach 4.14-rc1.

Thanks for your understanding and help.

Larry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-21  1:18 New Realtek driver Larry Finger
@ 2017-07-21 10:13 ` Marcel Holtmann
  2017-07-22  2:04   ` Larry Finger
  2017-07-21 15:08 ` Greg KH
  1 sibling, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2017-07-21 10:13 UTC (permalink / raw)
  To: Larry Finger; +Cc: Kalle Valo, Greg KH, linux-wireless, Birming Chiu, Pkshih

Hi Larry,

> Once again I find myself in the awkward position of needing to submit code to two different trees, i.e. wireless and staging.
> 
> The code in question concerns a new Realtek device, the RTL8822BE. The device is already shipping, and Realtek would like it to be available in kernel 3.14. As it consists of ~120,000 new lines of code, I have assured Realtek that 3.14 would not be possible, at least in the wireless tree. What I plan to do is submit the changes in the existing drivers through wireless, and the three totally new drivers through staging. My expectation is that this code would live for a relatively short time there, but going that route would give time for the code to be reviewed properly, but still be available in a kernel driver. All of the new code will be available in a GitHub repo maintained by Realtek for those users whose distros do not configure anything in staging.
> 
> For my part, I will push the wireless tree material as fast as I can and hope there is time available near the end of the 4.13-rcX sequence for the material to reach 4.14-rc1.

I really do not understand the need for staging if there is already active cleanup and submission to wireless-drivers happening. I find it also unfair to others who submit code to linux-wireless and have it reviewed there before it gets merged.

Also the faster it gets into wireless-drivers the faster it can be available via linux-backports. Seems many companies have used linux-backports successfully to deal with older kernel versions.

Regards

Marcel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-21  1:18 New Realtek driver Larry Finger
  2017-07-21 10:13 ` Marcel Holtmann
@ 2017-07-21 15:08 ` Greg KH
  2017-07-22  0:36   ` Larry Finger
  1 sibling, 1 reply; 9+ messages in thread
From: Greg KH @ 2017-07-21 15:08 UTC (permalink / raw)
  To: Larry Finger; +Cc: Kalle Valo, linux-wireless, Birming Chiu, Pkshih

On Thu, Jul 20, 2017 at 08:18:13PM -0500, Larry Finger wrote:
> Kalle and Greg,
> 
> Once again I find myself in the awkward position of needing to submit code
> to two different trees, i.e. wireless and staging.
> 
> The code in question concerns a new Realtek device, the RTL8822BE. The
> device is already shipping, and Realtek would like it to be available in
> kernel 3.14. As it consists of ~120,000 new lines of code, I have assured
> Realtek that 3.14 would not be possible, at least in the wireless tree. What
> I plan to do is submit the changes in the existing drivers through wireless,
> and the three totally new drivers through staging. My expectation is that
> this code would live for a relatively short time there, but going that route
> would give time for the code to be reviewed properly, but still be available
> in a kernel driver. All of the new code will be available in a GitHub repo
> maintained by Realtek for those users whose distros do not configure
> anything in staging.
> 
> For my part, I will push the wireless tree material as fast as I can and
> hope there is time available near the end of the 4.13-rcX sequence for the
> material to reach 4.14-rc1.

Why do you need a staging driver to have changes in the wireless tree?
Staging drivers should be self-contained and not rely on anything
outside of it in order to work properly (i.e. don't add code to the real
kernel only for a staging driver.)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-21 15:08 ` Greg KH
@ 2017-07-22  0:36   ` Larry Finger
  2017-07-22  3:51     ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Larry Finger @ 2017-07-22  0:36 UTC (permalink / raw)
  To: Greg KH; +Cc: Kalle Valo, linux-wireless, Birming Chiu, Pkshih

On 07/21/2017 10:08 AM, Greg KH wrote:
> On Thu, Jul 20, 2017 at 08:18:13PM -0500, Larry Finger wrote:
>> Kalle and Greg,
>>
>> Once again I find myself in the awkward position of needing to submit code
>> to two different trees, i.e. wireless and staging.
>>
>> The code in question concerns a new Realtek device, the RTL8822BE. The
>> device is already shipping, and Realtek would like it to be available in
>> kernel 3.14. As it consists of ~120,000 new lines of code, I have assured
>> Realtek that 3.14 would not be possible, at least in the wireless tree. What
>> I plan to do is submit the changes in the existing drivers through wireless,
>> and the three totally new drivers through staging. My expectation is that
>> this code would live for a relatively short time there, but going that route
>> would give time for the code to be reviewed properly, but still be available
>> in a kernel driver. All of the new code will be available in a GitHub repo
>> maintained by Realtek for those users whose distros do not configure
>> anything in staging.
>>
>> For my part, I will push the wireless tree material as fast as I can and
>> hope there is time available near the end of the 4.13-rcX sequence for the
>> material to reach 4.14-rc1.
> 
> Why do you need a staging driver to have changes in the wireless tree?
> Staging drivers should be self-contained and not rely on anything
> outside of it in order to work properly (i.e. don't add code to the real
> kernel only for a staging driver.)

Greg,

To add the new driver to staging without any other changes, I will need to 
duplicate a lot of code. That is no problem, other than the duplicate entry 
points that will show up in a makeallyes configuration. If that is what you 
want, then that is what I will do.

Larry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-21 10:13 ` Marcel Holtmann
@ 2017-07-22  2:04   ` Larry Finger
  2017-07-25 11:51     ` Kalle Valo
  0 siblings, 1 reply; 9+ messages in thread
From: Larry Finger @ 2017-07-22  2:04 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: Kalle Valo, Greg KH, linux-wireless, Birming Chiu, Pkshih

On 07/21/2017 05:13 AM, Marcel Holtmann wrote:
> Hi Larry,
> 
>> Once again I find myself in the awkward position of needing to submit code to two different trees, i.e. wireless and staging.
>>
>> The code in question concerns a new Realtek device, the RTL8822BE. The device is already shipping, and Realtek would like it to be available in kernel 3.14. As it consists of ~120,000 new lines of code, I have assured Realtek that 3.14 would not be possible, at least in the wireless tree. What I plan to do is submit the changes in the existing drivers through wireless, and the three totally new drivers through staging. My expectation is that this code would live for a relatively short time there, but going that route would give time for the code to be reviewed properly, but still be available in a kernel driver. All of the new code will be available in a GitHub repo maintained by Realtek for those users whose distros do not configure anything in staging.
>>
>> For my part, I will push the wireless tree material as fast as I can and hope there is time available near the end of the 4.13-rcX sequence for the material to reach 4.14-rc1.
> 
> I really do not understand the need for staging if there is already active cleanup and submission to wireless-drivers happening. I find it also unfair to others who submit code to linux-wireless and have it reviewed there before it gets merged.
> 
> Also the faster it gets into wireless-drivers the faster it can be available via linux-backports. Seems many companies have used linux-backports successfully to deal with older kernel versions.

The part that is being submitted to wireless drivers is only a small part of the 
entire effort.

Beyond that is the new driver with roughly 120,000 lines of code that have not 
yet been seen by any reviewers. My experience says that there is no way that 
this much new code will be reviewed and approved in a month. Including 
everything in wireless would likely take until 4.15 or 4.16.

Larry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-22  0:36   ` Larry Finger
@ 2017-07-22  3:51     ` Greg KH
  2017-07-22 12:51       ` Larry Finger
  0 siblings, 1 reply; 9+ messages in thread
From: Greg KH @ 2017-07-22  3:51 UTC (permalink / raw)
  To: Larry Finger; +Cc: Kalle Valo, linux-wireless, Birming Chiu, Pkshih

On Fri, Jul 21, 2017 at 07:36:41PM -0500, Larry Finger wrote:
> On 07/21/2017 10:08 AM, Greg KH wrote:
> > On Thu, Jul 20, 2017 at 08:18:13PM -0500, Larry Finger wrote:
> > > Kalle and Greg,
> > > 
> > > Once again I find myself in the awkward position of needing to submit code
> > > to two different trees, i.e. wireless and staging.
> > > 
> > > The code in question concerns a new Realtek device, the RTL8822BE. The
> > > device is already shipping, and Realtek would like it to be available in
> > > kernel 3.14. As it consists of ~120,000 new lines of code, I have assured
> > > Realtek that 3.14 would not be possible, at least in the wireless tree. What
> > > I plan to do is submit the changes in the existing drivers through wireless,
> > > and the three totally new drivers through staging. My expectation is that
> > > this code would live for a relatively short time there, but going that route
> > > would give time for the code to be reviewed properly, but still be available
> > > in a kernel driver. All of the new code will be available in a GitHub repo
> > > maintained by Realtek for those users whose distros do not configure
> > > anything in staging.
> > > 
> > > For my part, I will push the wireless tree material as fast as I can and
> > > hope there is time available near the end of the 4.13-rcX sequence for the
> > > material to reach 4.14-rc1.
> > 
> > Why do you need a staging driver to have changes in the wireless tree?
> > Staging drivers should be self-contained and not rely on anything
> > outside of it in order to work properly (i.e. don't add code to the real
> > kernel only for a staging driver.)
> 
> Greg,
> 
> To add the new driver to staging without any other changes, I will need to
> duplicate a lot of code. That is no problem, other than the duplicate entry
> points that will show up in a makeallyes configuration. If that is what you
> want, then that is what I will do.

What do you mean by "duplicate entry points"?  Duplicate global symbols?
Something else?

confused,

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-22  3:51     ` Greg KH
@ 2017-07-22 12:51       ` Larry Finger
  2017-07-22 13:09         ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Larry Finger @ 2017-07-22 12:51 UTC (permalink / raw)
  To: Greg KH; +Cc: Kalle Valo, linux-wireless, Birming Chiu, Pkshih

On 07/21/2017 10:51 PM, Greg KH wrote:
> On Fri, Jul 21, 2017 at 07:36:41PM -0500, Larry Finger wrote:
>> On 07/21/2017 10:08 AM, Greg KH wrote:
>>> On Thu, Jul 20, 2017 at 08:18:13PM -0500, Larry Finger wrote:
>>>> Kalle and Greg,
>>>>
>>>> Once again I find myself in the awkward position of needing to submit code
>>>> to two different trees, i.e. wireless and staging.
>>>>
>>>> The code in question concerns a new Realtek device, the RTL8822BE. The
>>>> device is already shipping, and Realtek would like it to be available in
>>>> kernel 3.14. As it consists of ~120,000 new lines of code, I have assured
>>>> Realtek that 3.14 would not be possible, at least in the wireless tree. What
>>>> I plan to do is submit the changes in the existing drivers through wireless,
>>>> and the three totally new drivers through staging. My expectation is that
>>>> this code would live for a relatively short time there, but going that route
>>>> would give time for the code to be reviewed properly, but still be available
>>>> in a kernel driver. All of the new code will be available in a GitHub repo
>>>> maintained by Realtek for those users whose distros do not configure
>>>> anything in staging.
>>>>
>>>> For my part, I will push the wireless tree material as fast as I can and
>>>> hope there is time available near the end of the 4.13-rcX sequence for the
>>>> material to reach 4.14-rc1.
>>>
>>> Why do you need a staging driver to have changes in the wireless tree?
>>> Staging drivers should be self-contained and not rely on anything
>>> outside of it in order to work properly (i.e. don't add code to the real
>>> kernel only for a staging driver.)
>>
>> Greg,
>>
>> To add the new driver to staging without any other changes, I will need to
>> duplicate a lot of code. That is no problem, other than the duplicate entry
>> points that will show up in a makeallyes configuration. If that is what you
>> want, then that is what I will do.
> 
> What do you mean by "duplicate entry points"?  Duplicate global symbols?
> Something else?

Of course, I meant duplicate global symbols.

Larry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-22 12:51       ` Larry Finger
@ 2017-07-22 13:09         ` Greg KH
  0 siblings, 0 replies; 9+ messages in thread
From: Greg KH @ 2017-07-22 13:09 UTC (permalink / raw)
  To: Larry Finger; +Cc: Kalle Valo, linux-wireless, Birming Chiu, Pkshih

On Sat, Jul 22, 2017 at 07:51:20AM -0500, Larry Finger wrote:
> On 07/21/2017 10:51 PM, Greg KH wrote:
> > On Fri, Jul 21, 2017 at 07:36:41PM -0500, Larry Finger wrote:
> > > On 07/21/2017 10:08 AM, Greg KH wrote:
> > > > On Thu, Jul 20, 2017 at 08:18:13PM -0500, Larry Finger wrote:
> > > > > Kalle and Greg,
> > > > > 
> > > > > Once again I find myself in the awkward position of needing to submit code
> > > > > to two different trees, i.e. wireless and staging.
> > > > > 
> > > > > The code in question concerns a new Realtek device, the RTL8822BE. The
> > > > > device is already shipping, and Realtek would like it to be available in
> > > > > kernel 3.14. As it consists of ~120,000 new lines of code, I have assured
> > > > > Realtek that 3.14 would not be possible, at least in the wireless tree. What
> > > > > I plan to do is submit the changes in the existing drivers through wireless,
> > > > > and the three totally new drivers through staging. My expectation is that
> > > > > this code would live for a relatively short time there, but going that route
> > > > > would give time for the code to be reviewed properly, but still be available
> > > > > in a kernel driver. All of the new code will be available in a GitHub repo
> > > > > maintained by Realtek for those users whose distros do not configure
> > > > > anything in staging.
> > > > > 
> > > > > For my part, I will push the wireless tree material as fast as I can and
> > > > > hope there is time available near the end of the 4.13-rcX sequence for the
> > > > > material to reach 4.14-rc1.
> > > > 
> > > > Why do you need a staging driver to have changes in the wireless tree?
> > > > Staging drivers should be self-contained and not rely on anything
> > > > outside of it in order to work properly (i.e. don't add code to the real
> > > > kernel only for a staging driver.)
> > > 
> > > Greg,
> > > 
> > > To add the new driver to staging without any other changes, I will need to
> > > duplicate a lot of code. That is no problem, other than the duplicate entry
> > > points that will show up in a makeallyes configuration. If that is what you
> > > want, then that is what I will do.
> > 
> > What do you mean by "duplicate entry points"?  Duplicate global symbols?
> > Something else?
> 
> Of course, I meant duplicate global symbols.

Just make the staging driver only be built as a module then there should
not be the chance for any global symbols to occur.  We've done that many
times in the past, probably for these same drivers...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New Realtek driver
  2017-07-22  2:04   ` Larry Finger
@ 2017-07-25 11:51     ` Kalle Valo
  0 siblings, 0 replies; 9+ messages in thread
From: Kalle Valo @ 2017-07-25 11:51 UTC (permalink / raw)
  To: Larry Finger
  Cc: Marcel Holtmann, Greg KH, linux-wireless, Birming Chiu, Pkshih

Larry Finger <Larry.Finger@lwfinger.net> writes:

> On 07/21/2017 05:13 AM, Marcel Holtmann wrote:
>> Hi Larry,
>>
>>> Once again I find myself in the awkward position of needing to
>>> submit code to two different trees, i.e. wireless and staging.
>>>
>>> The code in question concerns a new Realtek device, the RTL8822BE.
>>> The device is already shipping, and Realtek would like it to be
>>> available in kernel 3.14. As it consists of ~120,000 new lines of
>>> code, I have assured Realtek that 3.14 would not be possible, at
>>> least in the wireless tree. What I plan to do is submit the changes
>>> in the existing drivers through wireless, and the three totally new
>>> drivers through staging. My expectation is that this code would
>>> live for a relatively short time there, but going that route would
>>> give time for the code to be reviewed properly, but still be
>>> available in a kernel driver. All of the new code will be available
>>> in a GitHub repo maintained by Realtek for those users whose
>>> distros do not configure anything in staging.
>>>
>>> For my part, I will push the wireless tree material as fast as I
>>> can and hope there is time available near the end of the 4.13-rcX
>>> sequence for the material to reach 4.14-rc1.
>>
>> I really do not understand the need for staging if there is already
>> active cleanup and submission to wireless-drivers happening. I find
>> it also unfair to others who submit code to linux-wireless and have
>> it reviewed there before it gets merged.
>>
>> Also the faster it gets into wireless-drivers the faster it can be
>> available via linux-backports. Seems many companies have used
>> linux-backports successfully to deal with older kernel versions.
>
> The part that is being submitted to wireless drivers is only a small
> part of the entire effort.
>
> Beyond that is the new driver with roughly 120,000 lines of code that
> have not yet been seen by any reviewers.

120 kLOC is a lot, why is the driver so big? I would like to take a
quick look, is the code available somewhere?

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-07-25 11:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21  1:18 New Realtek driver Larry Finger
2017-07-21 10:13 ` Marcel Holtmann
2017-07-22  2:04   ` Larry Finger
2017-07-25 11:51     ` Kalle Valo
2017-07-21 15:08 ` Greg KH
2017-07-22  0:36   ` Larry Finger
2017-07-22  3:51     ` Greg KH
2017-07-22 12:51       ` Larry Finger
2017-07-22 13:09         ` Greg KH

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.