s390x/css: handle format-0 TIC CCW correctly
commit9f94f84ce7df633142953806cc4c102765cabc0e
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Tue, 21 Feb 2017 09:09:04 +0000 (21 10:09 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 24 Feb 2017 09:15:18 +0000 (24 10:15 +0100)
treedc24fbae809cb99dfe30e0b2d92fc42506f751e1
parentf738f296eaaed719508207ba36b995ba73fe27db
s390x/css: handle format-0 TIC CCW correctly

For TIC CCW, bit positions 8-32 of the format-1 CCW must contain zeros;
otherwise, a program-check condition is generated. For format-0 TIC CCWs,
bits 32-63 are ignored.

To convert TIC from format-0 CCW to format-1 CCW correctly, let's clear
bits 8-32 to guarantee compatibility.

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