* [PATCH 6/8] Kconfig: no userspace I/O on s390.
@ 2007-04-20 11:34 Martin Schwidefsky
2007-05-03 5:30 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Martin Schwidefsky @ 2007-04-20 11:34 UTC (permalink / raw)
To: linux-kernel, linux-s390; +Cc: akpm, gregkh
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Hide the config menu for userspace I/O on s390.
Goes on top of gregkh-driver-uio.patch.
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
drivers/uio/Kconfig | 2 ++
1 files changed, 2 insertions(+)
diff -urpN linux-2.6/drivers/uio/Kconfig linux-2.6-patched/drivers/uio/Kconfig
--- linux-2.6/drivers/uio/Kconfig 2007-04-19 15:24:40.000000000 +0200
+++ linux-2.6-patched/drivers/uio/Kconfig 2007-04-20 10:51:24.000000000 +0200
@@ -1,4 +1,6 @@
menu "Userspace I/O"
+ depends on !S390
+
config UIO
tristate "Userspace I/O drivers"
default n
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/8] Kconfig: no userspace I/O on s390.
2007-04-20 11:34 [PATCH 6/8] Kconfig: no userspace I/O on s390 Martin Schwidefsky
@ 2007-05-03 5:30 ` Greg KH
2007-05-03 8:36 ` Martin Schwidefsky
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2007-05-03 5:30 UTC (permalink / raw)
To: Martin Schwidefsky; +Cc: linux-kernel, linux-s390, akpm, gregkh
On Fri, Apr 20, 2007 at 01:34:30PM +0200, Martin Schwidefsky wrote:
> From: Martin Schwidefsky <schwidefsky@de.ibm.com>
>
> Hide the config menu for userspace I/O on s390.
Why? Who says s390 can't have userspace I/O drivers someday?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/8] Kconfig: no userspace I/O on s390.
2007-05-03 5:30 ` Greg KH
@ 2007-05-03 8:36 ` Martin Schwidefsky
2007-05-13 9:35 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Martin Schwidefsky @ 2007-05-03 8:36 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel, linux-s390, akpm, gregkh
On Wed, 2007-05-02 at 22:30 -0700, Greg KH wrote:
> > Hide the config menu for userspace I/O on s390.
>
> Why? Who says s390 can't have userspace I/O drivers someday?
Theoretically yes, but in practice this is very unlikely to happen. Some
reasons why:
1) There are only very few device drivers for s390, the few we need
we'll do as kernel space drivers
2) The irq abstraction of uio is awkward. The irq handler uses a 32-bit
integer. On s390 each ccw device has it's own irq and ccw devices are
identified with a string "x.y.zzzz". Then there are devices that deliver
external interrupts where a 16-bit number is used to identify the
source. You could invent some mapping logic of a 32 bit integer to all
the possible interrupt sources but it doesn't really match.
3) s390 doesn't use memory mapped i/o, you always need to execute a
privileged instruction to trigger activity on the device, e.g. ssch for
a ccw device, siga for qdio, nqap for crypto, ...
So I have my doubts that we will ever see a uio driver for s390. If we
do we can unhide the config menu again.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/8] Kconfig: no userspace I/O on s390.
2007-05-03 8:36 ` Martin Schwidefsky
@ 2007-05-13 9:35 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2007-05-13 9:35 UTC (permalink / raw)
To: Martin Schwidefsky; +Cc: Greg KH, linux-kernel, linux-s390, akpm
On Thu, May 03, 2007 at 10:36:14AM +0200, Martin Schwidefsky wrote:
> On Wed, 2007-05-02 at 22:30 -0700, Greg KH wrote:
> > > Hide the config menu for userspace I/O on s390.
> >
> > Why? Who says s390 can't have userspace I/O drivers someday?
>
> Theoretically yes, but in practice this is very unlikely to happen. Some
> reasons why:
> 1) There are only very few device drivers for s390, the few we need
> we'll do as kernel space drivers
> 2) The irq abstraction of uio is awkward. The irq handler uses a 32-bit
> integer. On s390 each ccw device has it's own irq and ccw devices are
> identified with a string "x.y.zzzz". Then there are devices that deliver
> external interrupts where a 16-bit number is used to identify the
> source. You could invent some mapping logic of a 32 bit integer to all
> the possible interrupt sources but it doesn't really match.
> 3) s390 doesn't use memory mapped i/o, you always need to execute a
> privileged instruction to trigger activity on the device, e.g. ssch for
> a ccw device, siga for qdio, nqap for crypto, ...
>
> So I have my doubts that we will ever see a uio driver for s390. If we
> do we can unhide the config menu again.
Ok, that's find, can you bounce me the patch that made this change
again?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-14 1:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 11:34 [PATCH 6/8] Kconfig: no userspace I/O on s390 Martin Schwidefsky
2007-05-03 5:30 ` Greg KH
2007-05-03 8:36 ` Martin Schwidefsky
2007-05-13 9:35 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox