s390x/css: handle ccw-0 TIC correctly
commitfde8206b8061f808c880709c2ac26a645b11c211
authorPierre Morel <pmorel@linux.vnet.ibm.com>
Wed, 15 Jul 2015 14:16:20 +0000 (15 16:16 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 7 Sep 2015 14:10:42 +0000 (7 16:10 +0200)
tree67c5f76e9e7deffc7d03444ccabf9937f8c01db8
parent4169198617dc8d3e80697964b91eaea551e7f956
s390x/css: handle ccw-0 TIC correctly

In CCW-0 format TIC command 4 highest bits are ignored in the subchannel.
In CCW-1 format the TIC command 4 highest bits must be 0.
To convert TIC from CCW-0 to CCW-1 we clear the 4 highest bits
to guarantee compatibility.

Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/css.c