-
- Downloads
[S390] cio: introduce cio_commit_config
To change the configuration of a subchannel we alter the modifiable bits of the subchannel's schib field and issue a modify subchannel. There can be the case that not all changes were applied -or worse- quietly overwritten by the hardware. With the next store subchannel we obtain the current state of the hardware but lose our target configuration. With this patch we introduce a subchannel_config structure which contains the target subchannel configuration. Additionally the msch wrapper cio_modify is replaced with cio_commit_config which copies the desired changes to a temporary schib. msch is then called with the temporary schib. This schib is only written back to the subchannel if all changes were applied. Signed-off-by:Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by:
Martin Schwidefsky <schwidefsky@de.ibm.com>
Showing
- drivers/s390/cio/cio.c 73 additions, 61 deletionsdrivers/s390/cio/cio.c
- drivers/s390/cio/cio.h 15 additions, 1 deletiondrivers/s390/cio/cio.h
- drivers/s390/cio/cmf.c 8 additions, 47 deletionsdrivers/s390/cio/cmf.c
- drivers/s390/cio/css.c 2 additions, 2 deletionsdrivers/s390/cio/css.c
- drivers/s390/cio/device.c 18 additions, 18 deletionsdrivers/s390/cio/device.c
- drivers/s390/cio/device.h 1 addition, 0 deletionsdrivers/s390/cio/device.h
- drivers/s390/cio/device_fsm.c 6 additions, 5 deletionsdrivers/s390/cio/device_fsm.c
Loading
Please register or sign in to comment