Re: [Qemu-devel] [PATCH 1/2] s390x/css: check ccw address validity

2017-07-26 Thread Dong Jia Shi
* Halil Pasic [2017-07-26 18:45:34 +0200]: [...] > >>> @@ -946,6 +953,17 @@ static void sch_handle_start_func_virtual(SubchDev > >>> *sch) > >>> suspend_allowed = true; > >>> } > >>> sch->last_cmd_valid = false; > >>> +if (sch->channel_prog &

Re: [Qemu-devel] [PATCH 1/2] s390x/css: check ccw address validity

2017-07-26 Thread Halil Pasic
On 07/26/2017 02:05 PM, Halil Pasic wrote: > > > On 07/26/2017 05:31 AM, Dong Jia Shi wrote: >> * Halil Pasic [2017-07-26 00:44:41 +0200]: >> >>> According to the PoP channel command words (CCW) must be doubleword >>> aligned and 31 bit addressable for format 1 and

Re: [Qemu-devel] [PATCH 1/2] s390x/css: check ccw address validity

2017-07-26 Thread Halil Pasic
On 07/26/2017 05:31 AM, Dong Jia Shi wrote: > * Halil Pasic [2017-07-26 00:44:41 +0200]: > >> According to the PoP channel command words (CCW) must be doubleword >> aligned and 31 bit addressable for format 1 and 24 bit addressable for >> format 0 CCWs. >> >> If the

Re: [Qemu-devel] [PATCH 1/2] s390x/css: check ccw address validity

2017-07-25 Thread Dong Jia Shi
* Halil Pasic [2017-07-26 00:44:41 +0200]: > According to the PoP channel command words (CCW) must be doubleword > aligned and 31 bit addressable for format 1 and 24 bit addressable for > format 0 CCWs. > > If the channel subsystem encounters ccw address which does not

[Qemu-devel] [PATCH 1/2] s390x/css: check ccw address validity

2017-07-25 Thread Halil Pasic
According to the PoP channel command words (CCW) must be doubleword aligned and 31 bit addressable for format 1 and 24 bit addressable for format 0 CCWs. If the channel subsystem encounters ccw address which does not satisfy this alignment requirement a program-check condition is recognised. The