14 Jul, 2008
40 commits
-
After all we came to the conclusion that this interface doesn't make any
sense. Besides that the ioctl number used was never registered, the header
file isn't exported, and we doubt there is even a single user.
So remove this interface, since it eases maintenance.Cc: Peter Oberparleiter
Signed-off-by: Heiko Carstens
Cc: Martin Schwidefsky -
Most likely it is broken anyway because of the changes in memory
detection. Since we can't test it and there are probably better ways
that using a P390 card, remove support for it.Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Signed-off-by: Christian Borntraeger
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Cc: Jeff Garzik
Signed-off-by: Klaus-D. Wacker
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Hongjie Yang
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Michael Holzheu
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
The message descriptions are still missing though ..
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Michael Holzheu
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Gerald Schaefer
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Gerald Schaefer
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Cc: Jeff Garzik
Signed-off-by: Frank Blaschka
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Cc: Jeff Garzik
Signed-off-by: Ursula Braun
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Cc: David S. Miller
Signed-off-by: Ursula Braun
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Felix Beck
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Unnecessary dev_info, dev_warn and printk messages are removed.
Signed-off-by: Michael Ernst
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Move memory detection code to own file and also simplify it.
Also add an interface which can be called at any time to get the
current memory layout. This interface is needed by our kernel
internal system dumper.Cc: Peter Oberparleiter
Cc: Michael Holzheu
Cc: Frank Munzert
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
In some cases where the channel subsystem decides to drop a subchannel
device device_unregister may be called twice, which results in an oops.
The patch prevents this by only unregistering registered devices.Signed-off-by: Sebastian Ott
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Cc: Peter Oberparleiter
Cc: Gerald Schaefer
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Cc: Gerald Schaefer
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Signed-off-by: Akinobu Mita
Cc: Michael Holzheu
Signed-off-by: Andrew Morton
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Signed-off-by: Akinobu Mita
Signed-off-by: Andrew Morton
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Signed-off-by: Akinobu Mita
Cc: Peter Oberparleiter
Signed-off-by: Andrew Morton
Signed-off-by Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Signed-off-by: Akinobu Mita
Cc: Christian Borntraeger
Signed-off-by: Andrew Morton
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b,
alloc_bootmem and related functions never return NULL and always return a
zeroed region of memory. Thus a NULL test or memset after calls to these
functions is unnecessary.drivers/s390/char/raw3270.c | 11 +----------
drivers/s390/char/sclp_con.c | 2 --
2 files changed, 1 insertion(+), 12 deletions(-)This was fixed using the following semantic patch.
(http://www.emn.fr/x-info/coccinelle/)//
@@
expression E;
statement S;
@@E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
... when != E
(
- BUG_ON (E == NULL);
|
- if (E == NULL) S
)@@
expression E,E1;
@@E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
... when != E
- memset(E,0,E1);
//Signed-off-by: Julia Lawall
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b,
alloc_bootmem and related functions never return NULL and always return a
zeroed region of memory. Thus a NULL test or memset after calls to these
functions is unnecessary.arch/s390/kernel/topology.c | 2 --
1 file changed, 2 deletions(-)This was fixed using the following semantic patch.
(http://www.emn.fr/x-info/coccinelle/)//
@@
expression E;
statement S;
@@E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
... when != E
(
- BUG_ON (E == NULL);
|
- if (E == NULL) S
)@@
expression E,E1;
@@E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
... when != E
- memset(E,0,E1);
//Signed-off-by: Julia Lawall
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Some macros in pgtable.h access members from struct task_struct.
Currently always works since sched.h seems always to be included
before asm/pgtable.h. Unfortunately that is not anymore true with
Jeremy Fitzhardinge's ptep_modify_prot transaction abstraction patch.
So fix this.Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky -
Add support for new micro code load of CEX2C and CEX2A adapters,
which uses different IDs. This patch just adds the IDs to the
existing drivers.Signed-off-by: Ralph Wuerthner
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Now it is possible to specify additional kernel parameters on the IPL
command line using the IPL PARM option.
If the Linux system is already running, the new reipl sysfs attribute
'parm' can be used to change kernel parameters for the next reboot.
Examples:
IPL C PARM dasd=1234 root=/dev/dasda1
IPL 1234 PARM savesys=mylnxnss
echo "init=/bin/bash" > /sys/firmware/reipl/ccw/parmSigned-off-by: Hendrik Brueckner
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
The ap poll mechanism is converted to use a high-resolution timer for
polling. This allows more specific polling. With this a new sysfs
attribute is introduced to specify the polling rate in nanoseconds.Signed-off-by: Felix Beck
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
Fix a number of sclp_vt220 cleanup problems:
* fix list_empty check after list_del()
* mark init-only flag as __initdata
* remove implicit dependency between slab_available() and num_pages
* straighten multiple init handling (use init count)Signed-off-by: Peter Oberparleiter
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens -
The idle notifier chain consists of at most one element. So there's
no point in having a notifier chain. Remove it and directly call the
function.Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky