]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 4 Mar 2016 15:25:41 +0000 (10:25 -0500)
commit2e35e9c4671925a7af5a2d3fe4f5f614e13a0d6d
tree4400b7c3ddf90dfc76bdfd313cb94de50ee7e7ac
parent4f55047bff0dd28d65e59455fb16d23b8dafcf73
s390/dasd: prevent incorrect length error under z/VM after PAV changes

[ Upstream commit 020bf042e5b397479c1174081b935d0ff15d1a64 ]

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>
drivers/s390/block/dasd_alias.c