* Re: [PATCH 01/10] staging: fnic2 add initialization [not found] ` <20180405211644.GB12584@osmithde-lnx.cisco.com> @ 2018-04-06 5:07 ` Greg Kroah-Hartman [not found] ` <20180406220010.GA23478@osmithde-lnx.cisco.com> 0 siblings, 1 reply; 5+ messages in thread From: Greg Kroah-Hartman @ 2018-04-06 5:07 UTC (permalink / raw) To: Oliver Smith-Denny Cc: Sesidhar Baddela, Gian Carlo Boffa, linux-scsi, target-devel, linux-kernel On Thu, Apr 05, 2018 at 02:16:45PM -0700, Oliver Smith-Denny wrote: > These files contain module load and unload, global driver context, > PCI registration, PCI probe and remove, and definitions of > the fnic2 global context. > > Signed-off-by: Oliver Smith-Denny <osmithde@cisco.com> > Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com> > Signed-off-by: Anil Chintalapati <achintal@cisco.com> > Signed-off-by: Arulprabhu Ponnusamy <arulponn@cisco.com> > Signed-off-by: Gian Carlo Boffa <gcboffa@cisco.com> > Co-Developed-by: Arulprabhu Ponnusamy <arulponn@cisco.com> > Co-Developed-by: Gian Carlo Boffa <gcboffa@cisco.com> > Co-Developed-by: Oliver Smith-Denny <osmithde@cisco.com> > --- > drivers/staging/fnic2/src/fnic2.h | 256 ++++++++++++ > drivers/staging/fnic2/src/fnic2_main.c | 711 +++++++++++++++++++++++++++++++++ > 2 files changed, 967 insertions(+) > create mode 100644 drivers/staging/fnic2/src/fnic2.h > create mode 100644 drivers/staging/fnic2/src/fnic2_main.c Why is this a drivers/staging/ driver at all? What is keeping you from getting this merged into the "proper" place in the kernel? If you have a staging driver, you have to have a TODO file in the directory listing what is keeping this in the staging section. Also, one tiny thing to fix up: > --- /dev/null > +++ b/drivers/staging/fnic2/src/fnic2.h > @@ -0,0 +1,256 @@ > +/* > + * SPDX-License-Identifier: GPL-2.0 Please read the documentation on how to properly use SPDX tags on kernel files. This needs to be the first line of the file. thanks, greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20180406220010.GA23478@osmithde-lnx.cisco.com>]
* Re: [PATCH 01/10] staging: fnic2 add initialization [not found] ` <20180406220010.GA23478@osmithde-lnx.cisco.com> @ 2018-04-07 6:09 ` Greg Kroah-Hartman 2018-04-09 20:57 ` Martin K. Petersen 0 siblings, 1 reply; 5+ messages in thread From: Greg Kroah-Hartman @ 2018-04-07 6:09 UTC (permalink / raw) To: Oliver Smith-Denny Cc: Sesidhar Baddela, Gian Carlo Boffa, linux-scsi, target-devel, linux-kernel On Fri, Apr 06, 2018 at 03:00:11PM -0700, Oliver Smith-Denny wrote: > On Fri, Apr 06, 2018 at 07:07:52AM +0200, Greg Kroah-Hartman wrote: > > Why is this a drivers/staging/ driver at all? What is keeping you from > > getting this merged into the "proper" place in the kernel? > > > > If you have a staging driver, you have to have a TODO file in the > > directory listing what is keeping this in the staging section. > > Sorry Greg, we do have a TODO file in the directory, but it was > part of patch 10/10. I can move that to be part of patch 01/10. Ah, I missed that, sorry. > We think that this driver is a drivers/staging driver because > there are some changes we want to make before submitting > the driver to the "proper" place. Specifically, we want to > change how we allocate memory (move from a static allocation > to a mempool scenario), which will require some other code > changes. Why not just take a week and do that? I can't take any new patches until 4.17-rc1 is out anyway. > Also, we want to investigate if we need to change our locking schema. Again, why not just take the time to do that? > We think that making this driver part of the drivers/staging community > will allow interested people to try the driver in its current state > and offer up ideas as to its continued development. Have you asked the scsi developers what they think about this? And why not copy the staging developer mailing list on this patch series? > If you think that this driver doesn't belong in the > drivers/staging community, we are happy to explore getting > the driver fully ready on our side and getting it into the > "proper" place. I'll take anything in staging as long as it has the correct license and builds, that's not an issue :) But I do want to get agreement from the SCSI maintainers that this is ok to have in this part of the kernel as sometimes it can cause merge issues if there are core api changes. > > Please read the documentation on how to properly use SPDX tags on kernel > > files. This needs to be the first line of the file. > > Thanks Greg, I fixed the SPDX tags and removed all the boilerplate, > including the LICENSE file. Also, I have updated the MAINTAINERS > file, which accidentally slipped by my first patch set. If you > think that drivers/staging is a good temporary home for this > driver, then I will send another patchset with the changes, > as well as the changes from your other replies to patch 02/10 > and patch 03/10. A respin of this would be nice, and again, I can't do anything with it until 4.17-rc1 is out. thanks, greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 01/10] staging: fnic2 add initialization 2018-04-07 6:09 ` Greg Kroah-Hartman @ 2018-04-09 20:57 ` Martin K. Petersen 0 siblings, 0 replies; 5+ messages in thread From: Martin K. Petersen @ 2018-04-09 20:57 UTC (permalink / raw) To: Greg Kroah-Hartman Cc: Oliver Smith-Denny, Sesidhar Baddela, Gian Carlo Boffa, linux-scsi, target-devel, linux-kernel Greg, >> If you think that this driver doesn't belong in the drivers/staging >> community, we are happy to explore getting the driver fully ready on >> our side and getting it into the "proper" place. > > I'll take anything in staging as long as it has the correct license and > builds, that's not an issue :) But I do want to get agreement from the > SCSI maintainers that this is ok to have in this part of the kernel as > sometimes it can cause merge issues if there are core api changes. This is the first I hear of fnic2. My initial questions are: Why is a new driver necessary? Why can't the existing fnic driver be extended? And if it can't, what can be shared between the two drivers? A good place to have that discussion would be on linux-scsi... -- Martin K. Petersen Oracle Linux Engineering ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20180405211752.GC12584@osmithde-lnx.cisco.com>]
* Re: [PATCH 02/10] staging: fnic2 add resource allocation [not found] ` <20180405211752.GC12584@osmithde-lnx.cisco.com> @ 2018-04-06 5:08 ` Greg Kroah-Hartman 0 siblings, 0 replies; 5+ messages in thread From: Greg Kroah-Hartman @ 2018-04-06 5:08 UTC (permalink / raw) To: Oliver Smith-Denny Cc: Sesidhar Baddela, Gian Carlo Boffa, linux-scsi, target-devel, linux-kernel On Thu, Apr 05, 2018 at 02:17:52PM -0700, Oliver Smith-Denny wrote: > --- /dev/null > +++ b/drivers/staging/fnic2/src/fnic2_isr.c > @@ -0,0 +1,324 @@ > +/* > + * SPDX-License-Identifier: GPL-2.0 > + * Copyright 2018 Cisco Systems, Inc. All rights reserved. > + * > + * This program is free software; you may redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; version 2 of the License. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF > + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS > + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN > + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN > + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE > + * SOFTWARE. > + */ No need for the messy boilerplate text if you have a SPDX line, please remove both of those paragraphs. thanks, greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20180405211837.GD12584@osmithde-lnx.cisco.com>]
* Re: [PATCH 03/10] staging: fnic2 add fip handling [not found] ` <20180405211837.GD12584@osmithde-lnx.cisco.com> @ 2018-04-06 5:08 ` Greg Kroah-Hartman 0 siblings, 0 replies; 5+ messages in thread From: Greg Kroah-Hartman @ 2018-04-06 5:08 UTC (permalink / raw) To: Oliver Smith-Denny Cc: Sesidhar Baddela, Gian Carlo Boffa, linux-scsi, target-devel, linux-kernel On Thu, Apr 05, 2018 at 02:18:37PM -0700, Oliver Smith-Denny wrote: > --- /dev/null > +++ b/drivers/staging/fnic2/src/fip.c > @@ -0,0 +1,804 @@ > +/* > + * SPDX-License-Identifier: GPL-2.0 > + * Copyright 2018 Cisco Systems, Inc. All rights reserved. > + * > + * This program is free software; you may redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; version 2 of the License. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF > + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS > + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN > + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN > + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE > + * SOFTWARE. > + */ > + > +/*! \file */ What is that line for? ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-04-09 20:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180405211519.GA12584@osmithde-lnx.cisco.com>
[not found] ` <20180405211644.GB12584@osmithde-lnx.cisco.com>
2018-04-06 5:07 ` [PATCH 01/10] staging: fnic2 add initialization Greg Kroah-Hartman
[not found] ` <20180406220010.GA23478@osmithde-lnx.cisco.com>
2018-04-07 6:09 ` Greg Kroah-Hartman
2018-04-09 20:57 ` Martin K. Petersen
[not found] ` <20180405211752.GC12584@osmithde-lnx.cisco.com>
2018-04-06 5:08 ` [PATCH 02/10] staging: fnic2 add resource allocation Greg Kroah-Hartman
[not found] ` <20180405211837.GD12584@osmithde-lnx.cisco.com>
2018-04-06 5:08 ` [PATCH 03/10] staging: fnic2 add fip handling Greg Kroah-Hartman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox