[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH] s390x/sclp: fix event mask handling
From: |
Claudio Imbrenda |
Subject: |
Re: [qemu-s390x] [PATCH] s390x/sclp: fix event mask handling |
Date: |
Fri, 2 Feb 2018 15:10:07 +0100 |
On Fri, 2 Feb 2018 09:42:41 +0000
Christian Borntraeger <address@hidden> wrote:
> commit 67915de9f038 ("s390x/event-facility: variable-length event
> masks") switches the sclp receive/send mask. This broke the sclp
> lm console.
Reviewed-by: Claudio Imbrenda <address@hidden>
> Signed-off-by: Christian Borntraeger <address@hidden>
> Fixes: commit 67915de9f038 ("s390x/event-facility: variable-length
> event masks") Cc: Cornelia Huck <address@hidden>
> 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));
>
Re: [qemu-s390x] [PATCH] s390x/sclp: fix event mask handling,
Claudio Imbrenda <=
Re: [qemu-s390x] [PATCH] s390x/sclp: fix event mask handling, David Hildenbrand, 2018/02/05
Re: [qemu-s390x] [PATCH] s390x/sclp: fix event mask handling, Christian Borntraeger, 2018/02/05