s390/dasd: prevent incorrect length error under z/VM after PAV changes

[ Upstream commit 020bf042e5 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Stefan Haberland 2015-12-15 10:16:43 +01:00 • committed by Sasha Levin
commit ef09ae753b