All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Anholt <eric@anholt.net>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: "Noralf Trønnes" <noralf@tronnes.org>,
	tglx@linutronix.de, jason@lakedaemon.net,
	linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] irqchip: bcm2835: Add FIQ support
Date: Wed, 16 Sep 2015 14:48:57 -0400	[thread overview]
Message-ID: <87si6e9p46.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <20150916162157.GB21084@n2100.arm.linux.org.uk>

[-- Attachment #1: Type: text/plain, Size: 2326 bytes --]

Russell King - ARM Linux <linux@arm.linux.org.uk> writes:

> On Wed, Sep 16, 2015 at 10:02:32AM -0400, Eric Anholt wrote:
>> Russell King - ARM Linux <linux@arm.linux.org.uk> writes:
>> 
>> > On Mon, Sep 14, 2015 at 07:33:09AM -0700, Eric Anholt wrote:
>> >> So, while FIQ isn't used in upstream, I think it's worthwhile to merge.
>> >> It is another step to bringing the downstream developers into the fold.
>> >
>> > I want to see the code _first_.  Until then, I'm sorry, this patch can't
>> > go in.
>> 
>> If you just want to see "Yes, GPL-compatible code using this is
>> available", then that is:
>
> It's got nothing to do with "GPL-compatible code".  I want to audit
> _all_ code that makes use of FIQ.  It disgusts me that you're trying
> to dress this up as a licensing issue.  It isn't.
>
>> https://github.com/raspberrypi/linux/blob/rpi-4.1.y/drivers/usb/host/dwc_otg/dwc_otg_fiq_stub.S
>> https://github.com/raspberrypi/linux/blob/rpi-4.1.y/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c
>> 
>> If not, I'm curious what exactly is the reason the patch can't go in.
>
> In any case, I'm not going to say yes to code which provides a new
> internal kernel facility for mainline kernels, but with no mainline
> kernel users.  Such code can only be to make external tree maintanence
> easlier, but it has the unintended effect of making mainline kernel
> maintanence harder.
>
> Such facilities _should_ always come with a user of that new facility.
>
> It's nothing personal, it's sane policy from experience.  I've had stuff
> like this in the past, where people have sent new facilities without any
> users, years have gone by without that facility being used.  The facility
> has eventually been removed from the mainline kernel _because_ it doesn't
> have any users.
>
> Moreover, there are people who audit the kernel looking for facilities
> which have no users and propose patches to remove them.
>
> So, if you want some new facility to be merged into mainline kernels,
> and for it to remain in the kernel, always accompany it with a user.

Thanks, this was all I needed.  In the subsystem I work in, the rule has
been "You need to have open userspace using the thing that you can
show", but obviously you only get to merge the user once the core stuff
is done.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: eric@anholt.net (Eric Anholt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] irqchip: bcm2835: Add FIQ support
Date: Wed, 16 Sep 2015 14:48:57 -0400	[thread overview]
Message-ID: <87si6e9p46.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <20150916162157.GB21084@n2100.arm.linux.org.uk>

Russell King - ARM Linux <linux@arm.linux.org.uk> writes:

> On Wed, Sep 16, 2015 at 10:02:32AM -0400, Eric Anholt wrote:
>> Russell King - ARM Linux <linux@arm.linux.org.uk> writes:
>> 
>> > On Mon, Sep 14, 2015 at 07:33:09AM -0700, Eric Anholt wrote:
>> >> So, while FIQ isn't used in upstream, I think it's worthwhile to merge.
>> >> It is another step to bringing the downstream developers into the fold.
>> >
>> > I want to see the code _first_.  Until then, I'm sorry, this patch can't
>> > go in.
>> 
>> If you just want to see "Yes, GPL-compatible code using this is
>> available", then that is:
>
> It's got nothing to do with "GPL-compatible code".  I want to audit
> _all_ code that makes use of FIQ.  It disgusts me that you're trying
> to dress this up as a licensing issue.  It isn't.
>
>> https://github.com/raspberrypi/linux/blob/rpi-4.1.y/drivers/usb/host/dwc_otg/dwc_otg_fiq_stub.S
>> https://github.com/raspberrypi/linux/blob/rpi-4.1.y/drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c
>> 
>> If not, I'm curious what exactly is the reason the patch can't go in.
>
> In any case, I'm not going to say yes to code which provides a new
> internal kernel facility for mainline kernels, but with no mainline
> kernel users.  Such code can only be to make external tree maintanence
> easlier, but it has the unintended effect of making mainline kernel
> maintanence harder.
>
> Such facilities _should_ always come with a user of that new facility.
>
> It's nothing personal, it's sane policy from experience.  I've had stuff
> like this in the past, where people have sent new facilities without any
> users, years have gone by without that facility being used.  The facility
> has eventually been removed from the mainline kernel _because_ it doesn't
> have any users.
>
> Moreover, there are people who audit the kernel looking for facilities
> which have no users and propose patches to remove them.
>
> So, if you want some new facility to be merged into mainline kernels,
> and for it to remain in the kernel, always accompany it with a user.

Thanks, this was all I needed.  In the subsystem I work in, the rule has
been "You need to have open userspace using the thing that you can
show", but obviously you only get to merge the user once the core stuff
is done.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150916/49a2a36d/attachment.sig>

  reply	other threads:[~2015-09-16 18:49 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12 17:26 [PATCH] irqchip: bcm2835: Add FIQ support Noralf Trønnes
2015-06-12 17:26 ` Noralf Trønnes
2015-06-18  2:26 ` Stephen Warren
2015-06-18  2:26   ` Stephen Warren
2015-06-18 13:32   ` Noralf Trønnes
2015-06-18 13:32     ` Noralf Trønnes
2015-06-18 16:23     ` Noralf Trønnes
2015-06-18 16:23       ` Noralf Trønnes
2015-07-11  4:09     ` Stephen Warren
2015-07-11  4:09       ` Stephen Warren
2015-07-11 15:26       ` Noralf Trønnes
2015-07-11 15:26         ` Noralf Trønnes
2015-07-14  4:50         ` Stephen Warren
2015-07-14  4:50           ` Stephen Warren
2015-07-14 11:48           ` Noralf Trønnes
2015-07-14 11:48             ` Noralf Trønnes
2015-07-22  1:50             ` Stephen Warren
2015-07-22  1:50               ` Stephen Warren
2015-07-22 14:07   ` Noralf Trønnes
2015-07-22 14:07     ` Noralf Trønnes
2015-07-24  4:04     ` Stephen Warren
2015-07-24  4:04       ` Stephen Warren
2015-07-22 21:32 ` Eric Anholt
2015-07-22 21:32   ` Eric Anholt
2015-09-13 19:24   ` Noralf Trønnes
2015-09-13 19:24     ` Noralf Trønnes
2015-09-14  9:08     ` Russell King - ARM Linux
2015-09-14  9:08       ` Russell King - ARM Linux
2015-09-14 14:33       ` Eric Anholt
2015-09-14 14:33         ` Eric Anholt
2015-09-14 14:34         ` Russell King - ARM Linux
2015-09-14 14:34           ` Russell King - ARM Linux
2015-09-16 14:02           ` Eric Anholt
2015-09-16 14:02             ` Eric Anholt
2015-09-16 16:21             ` Russell King - ARM Linux
2015-09-16 16:21               ` Russell King - ARM Linux
2015-09-16 18:48               ` Eric Anholt [this message]
2015-09-16 18:48                 ` Eric Anholt
2015-09-16 19:13               ` Russell King - ARM Linux
2015-09-16 19:13                 ` Russell King - ARM Linux

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=87si6e9p46.fsf@eliezer.anholt.net \
    --to=eric@anholt.net \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=noralf@tronnes.org \
    --cc=tglx@linutronix.de \
    /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.