]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: prevent incorrect length error under z/VM after PAV changes
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 15 Dec 2015 09:16:43 +0000 (10:16 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 11 Feb 2016 12:05:53 +0000 (13:05 +0100)
commit51310c3b06a3484623b2ef4e817769650a5c048b
tree27defbf6bd87d61e03eab2f7b888e1de1f7ebdf3
parentb07a2ed592f0e083de9e1197dc6683b0780a03e9
s390/dasd: prevent incorrect length error under z/VM after PAV changes

The channel checks the specified length and the provided amount of
data for CCWs and provides an incorrect length error if the size does
not match. Under z/VM with simulation activated the length may get
changed. Having the suppress length indication bit set is stated as
good CCW coding practice and avoids errors under z/VM.

Cc: stable@vger.kernel.org
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_alias.c