qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] s390x/sclp: fix event mask handling --> stable


From: Christian Borntraeger
Subject: Re: [Qemu-devel] [PATCH] s390x/sclp: fix event mask handling --> stable 2.11.1?
Date: Thu, 8 Feb 2018 12:30:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2


On 02/02/2018 11:35 AM, Cornelia Huck wrote:
> On Fri, 2 Feb 2018 11:33:01 +0100
> Cornelia Huck <address@hidden> wrote:
> 
>> On Fri, 2 Feb 2018 10:43:18 +0100
>> Christian Borntraeger <address@hidden> wrote:
>>
>>> On 02/02/2018 10:42 AM, Christian Borntraeger wrote:  
>>>> commit 67915de9f038 ("s390x/event-facility: variable-length event
>>>> masks") switches the sclp receive/send mask. This broke the sclp
>>>> lm console.  
>>
>> Hum. Probably should add sclp-lm to my test setup.
>>
>>>>
>>>> Signed-off-by: Christian Borntraeger <address@hidden>
>>>> Fixes: commit 67915de9f038 ("s390x/event-facility: variable-length event 
>>>> masks")
>>>> Cc: Cornelia Huck <address@hidden>    
>>>
>>> opps. Please fixup yourself Conny :-)  
>>
>> Well, you did cc: the original author :)
>>
>>>   
>>>> Cc: Jason J. Herne <address@hidden>
>>>> Cc: address@hidden
>>>> ---
>>>>  hw/s390x/event-facility.c | 4 ++--
>>>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/hw/s390x/event-facility.c b/hw/s390x/event-facility.c
>>>> index b0f71f4554..155a69467b 100644
>>>> --- a/hw/s390x/event-facility.c
>>>> +++ b/hw/s390x/event-facility.c
>>>> @@ -293,10 +293,10 @@ static void write_event_mask(SCLPEventFacility *ef, 
>>>> SCCB *sccb)
>>>>      ef->receive_mask = be32_to_cpu(tmp_mask);
>>>>
>>>>      /* return the SCLP's capability masks to the guest */
>>>> -    tmp_mask = cpu_to_be32(get_host_send_mask(ef));
>>>> +    tmp_mask = cpu_to_be32(get_host_receive_mask(ef));
>>>>      copy_mask(WEM_RECEIVE_MASK(we_mask, mask_length), (uint8_t 
>>>> *)&tmp_mask,
>>>>                mask_length, sizeof(tmp_mask));
>>>> -    tmp_mask = cpu_to_be32(get_host_receive_mask(ef));
>>>> +    tmp_mask = cpu_to_be32(get_host_send_mask(ef));
>>>>      copy_mask(WEM_SEND_MASK(we_mask, mask_length), (uint8_t *)&tmp_mask,
>>>>                mask_length, sizeof(tmp_mask));
>>>>     
>>>   
>>
>> Thanks, applied.
> 
> Oh, and as always, I still take R-bs until I prepare a pull req.
> 

Would be good to have that in 2.11.1 stable as well I think




reply via email to

[Prev in Thread] Current Thread [Next in Thread]