From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Takashi Iwai <tiwai@suse.de>,
axboe@kernel.dk, cbou@mail.ru, davem@davemloft.net, dtor@mail.ru,
dwmw2@infradead.org, grant.likely@secretlab.ca,
gregkh@linuxfoundation.org, jkosina@suse.cz, jslaby@suse.cz,
khali@linux-fr.org, mchehab@redhat.com, perex@perex.cz,
sameo@linux.intel.com, w.sang@pengutronix.de,
linux-kernel@vger.kernel.org, sebott@linux.vnet.ibm.com,
gerald.schaefer@de.ibm.com, schwidefsky@de.ibm.com
Subject: Re: [PATCH 12/15] sound: add missing HAS_IOPORT and GENERIC_HARDIRQS dependencies
Date: Thu, 7 Feb 2013 14:32:06 +0100 [thread overview]
Message-ID: <20130207133206.GB3929@osiris> (raw)
In-Reply-To: <201302062156.55910.arnd@arndb.de>
On Wed, Feb 06, 2013 at 09:56:55PM +0000, Arnd Bergmann wrote:
> On Wednesday 06 February 2013, Heiko Carstens wrote:
> > On Wed, Feb 06, 2013 at 06:26:02PM +0100, Takashi Iwai wrote:
> > > At Thu, 07 Feb 2013 02:13:19 +0100,
> > > Arnd Bergmann wrote:
> > > > Why not just make CONFIG_GENERIC_HARDIRQS mandatory for all
> > > > platforms. It is use almost everywhere now.
> > >
> > > I wonder it, too...
> >
> > I haven't looked into it, but I doubt if that is possible without large
> > effort, if at all. s390 doesn't have any irq chips, nor something like
> > edge or level triggered irqs.
> > Instead we have floating interrupts. Does that fit into the concept of
> > GENERIC_HARDIRQS at all?
> > If so, we can give it a try, sure. But that won't happen any time soon.
> >
> > Or are you simply proposing we should have both, our own irq handling plus
> > GENERIC_HARDIRQS with dummy functions?
>
> I think you should use GENERIC_HARDIRQ just for PCI, and rename the s390
> interrupt handling to something that does not conflict. I understand
> that the concepts are quite different, but with PCI support, you actually
> do get all the weird interrupt hardware.
> More importantly, some features provided by GENERIC_HARDIRQ are replacing
> the traditional interfaces now, e.g. devm_request_irq() is actually
> recommended over request_irq() for normal drivers these days, as it
> simplifies the error handling.
That sounds reasonable. And a quick grep seems to indicate that s390
is the last architecture with !GENERIC_HARDIRQS.
However having two completely different IRQ subsystems within one
architecture will bring up some interesting questions like e.g.
how should /proc/interrupts look like? Or /proc/stat:intr ?
Jan considered turning GENERIC_HARDIRQS on for PCI support, but didn't.
I don't know why he didn't and since he left, we can't ask him anymore.
So for the time being I'd appreciate it if we can simply add the
additional GENERIC_HARDIRQS dependencies where needed, since I consider
a working allmodconfig quite important.
Later on we should indeed try to switch to GENERIC_HARDIRQS and then
git rid of that config option completely. However I leave that to
Sebastian and Gerald who now take care of our PCI code ;)
Thanks,
Heiko
next prev parent reply other threads:[~2013-02-07 13:32 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 16:23 [PATCH 00/15] Add various missing GENERIC_HARDIRQS dependencies Heiko Carstens
2013-02-06 16:23 ` [PATCH 01/15] drivers/input: add couple of " Heiko Carstens
2013-02-14 4:22 ` Dmitry Torokhov
2013-02-06 16:23 ` [PATCH 02/15] drivers/i2c: remove !S390 dependency, add " Heiko Carstens
2013-02-06 16:23 ` [PATCH 03/15] drivers/mfd: add missing GENERIC_HARDIRQS dependecies Heiko Carstens
2013-02-07 7:39 ` Samuel Ortiz
2013-02-06 16:23 ` [PATCH 04/15] drivers/block/mtip32xx: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-07 6:35 ` Jens Axboe
2013-02-06 16:23 ` [PATCH 05/15] drivers/dma/dw_dmac: " Heiko Carstens
2013-02-06 16:23 ` [PATCH 06/15] drivers/gpio: add missing GENERIC_HARDIRQ dependency Heiko Carstens
2013-02-06 16:23 ` [PATCH 07/15] drivers/hid: " Heiko Carstens
2013-02-07 10:37 ` Jiri Kosina
2013-02-06 16:23 ` [PATCH 08/15] drivers/misc/cb710: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-08 20:23 ` Greg KH
2013-02-08 20:23 ` Greg KH
2013-02-06 16:23 ` [PATCH 09/15] drivers/media: add missing GENERIC_HARDIRQS dependencies Heiko Carstens
2013-02-07 14:01 ` Mauro Carvalho Chehab
2013-02-06 16:23 ` [PATCH 10/15] drivers/net,AT91RM9200: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-06 21:12 ` David Miller
2013-02-06 16:23 ` [PATCH 11/15] drivers/spi: add missing GENERIC_HARDIRQS dependencies Heiko Carstens
2013-02-06 16:24 ` [PATCH 12/15] sound: add missing HAS_IOPORT and " Heiko Carstens
2013-02-06 17:05 ` Takashi Iwai
2013-02-07 1:13 ` Arnd Bergmann
2013-02-06 17:26 ` Takashi Iwai
2013-02-06 18:12 ` Heiko Carstens
2013-02-06 21:56 ` Arnd Bergmann
2013-02-07 13:32 ` Heiko Carstens [this message]
2013-02-07 13:36 ` Arnd Bergmann
2013-02-07 13:39 ` Takashi Iwai
2013-02-13 21:34 ` Dmitry Torokhov
2013-02-06 16:24 ` [PATCH 13/15] drivers/usb: add missing " Heiko Carstens
2013-02-06 16:24 ` [PATCH 14/15] drivers/power,goldfisch battery: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-16 21:24 ` Anton Vorontsov
2013-02-06 16:24 ` [PATCH 15/15] drivers/serial: add " Heiko Carstens
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=20130207133206.GB3929@osiris \
--to=heiko.carstens@de.ibm.com \
--cc=arnd@arndb.de \
--cc=axboe@kernel.dk \
--cc=cbou@mail.ru \
--cc=davem@davemloft.net \
--cc=dtor@mail.ru \
--cc=dwmw2@infradead.org \
--cc=gerald.schaefer@de.ibm.com \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@linuxfoundation.org \
--cc=jkosina@suse.cz \
--cc=jslaby@suse.cz \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=perex@perex.cz \
--cc=sameo@linux.intel.com \
--cc=schwidefsky@de.ibm.com \
--cc=sebott@linux.vnet.ibm.com \
--cc=tiwai@suse.de \
--cc=w.sang@pengutronix.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.