diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2008-02-05 16:50:33 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-02-05 16:50:52 +0100 |
commit | 6f52ac29712f3eec192599249b12612360948646 (patch) | |
tree | 969f70f233860c35f676d7c457dd28a39a8dde1b /include/asm-mips/asm.h | |
parent | 9ef9dc69d4167276c04590d67ee55de8380bc1ad (diff) |
[S390] cio: make sense id procedure work with partial hardware response
In some cases the current sense id procedure trips over incomplete
hardware responses. In these cases, checking against the preset value
of 0xFFFF is not enough. More critically, the VM DIAG call will always be
considered to have provided data after such an incident, even if it was not
successful at all.
The solution is to always initialize the control unit data before doing a
sense id call. Check the condition code before considering the control unit
data. And initialize again, before evaluating the VM data.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-mips/asm.h')
0 files changed, 0 insertions, 0 deletions