kernel-hacking-2024-linux-s.../drivers/s390/cio
Sebastian Ott 34196f82b1 [S390] chsc: consolidate memory allocations
Most wrappers around the channel subsystem call have their own logic
to allocate memory (with proper alignment) or use preallocated or
static memory. This patch converts most users of the channel
subsystem call to use the same preallocated page (proteced by a
spinlock).

Note: The sei_page which is used in our crw handler to call
"store event information" has to coexist, since
a) in crw context, while accessing the sei_page, sleeping is allowed
   (which will conflict with the spinlock protection of the chsc_page)
b) in crw context, while accessing the sei_page, channel subsystem
   calls are allowed (which itself would require the page).

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-10-25 16:10:18 +02:00
..
airq.c
blacklist.c [S390] cio: remove custom implementation of hex_to_bin() 2010-10-25 16:10:17 +02:00
blacklist.h
ccwgroup.c
ccwreq.c [S390] ccwreq: add ability to use all paths 2010-08-09 18:12:54 +02:00
chp.c [S390] cio: add lock to struct channel_path 2010-10-25 16:10:18 +02:00
chp.h [S390] cio: add lock to struct channel_path 2010-10-25 16:10:18 +02:00
chsc.c [S390] chsc: consolidate memory allocations 2010-10-25 16:10:18 +02:00
chsc.h [S390] chsc: consolidate memory allocations 2010-10-25 16:10:18 +02:00
chsc_sch.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
chsc_sch.h
cio.c
cio.h
cio_debug.h
cmf.c
crw.c
css.c [S390] chsc: consolidate memory allocations 2010-10-25 16:10:18 +02:00
css.h
device.c [S390] cio: fix memleak in resume path 2010-10-25 16:10:18 +02:00
device.h
device_fsm.c
device_id.c [S390] cio: use all available paths for some internal I/O 2010-08-09 18:12:54 +02:00
device_ops.c
device_pgid.c [S390] cio: use all available paths for some internal I/O 2010-08-09 18:12:54 +02:00
device_status.c
fcx.c
idset.c
idset.h
io_sch.h [S390] ccwreq: add ability to use all paths 2010-08-09 18:12:54 +02:00
ioasm.h
isc.c
itcw.c
Makefile
qdio.h qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio_debug.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio_debug.h
qdio_main.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio_setup.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00
qdio_thinint.c qdio: extend API to allow polling 2010-09-08 14:31:00 -07:00