All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Eric Anholt <eric@anholt.net>
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 17:21:57 +0100	[thread overview]
Message-ID: <20150916162157.GB21084@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <87613a31jb.fsf@eliezer.anholt.net>

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.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

WARNING: multiple messages have this Message-ID (diff)
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] irqchip: bcm2835: Add FIQ support
Date: Wed, 16 Sep 2015 17:21:57 +0100	[thread overview]
Message-ID: <20150916162157.GB21084@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <87613a31jb.fsf@eliezer.anholt.net>

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.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

  reply	other threads:[~2015-09-16 16:22 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 [this message]
2015-09-16 16:21               ` Russell King - ARM Linux
2015-09-16 18:48               ` Eric Anholt
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=20150916162157.GB21084@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=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=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.