[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PULL 20/29] s390x/sclp: fix event mask handling
From: |
Cornelia Huck |
Subject: |
[qemu-s390x] [PULL 20/29] s390x/sclp: fix event mask handling |
Date: |
Fri, 9 Feb 2018 10:25:15 +0100 |
From: Christian Borntraeger <address@hidden>
commit 67915de9f038 ("s390x/event-facility: variable-length event
masks") switched the sclp receive/send mask. This broke the sclp
lm console.
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
Message-Id: <address@hidden>
Reviewed-by: Claudio Imbrenda <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <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));
--
2.13.6
- [qemu-s390x] [PULL 05/29] s390x/tcg: simplify machine check handling, (continued)
- [qemu-s390x] [PULL 05/29] s390x/tcg: simplify machine check handling, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 10/29] s390x/tcg: implement TEST PENDING INTERRUPTION, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 12/29] s390x/flic: optimize CPU wakeup for TCG, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 09/29] s390x/flic: make floating interrupts on TCG actually floating, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 13/29] s390x: fix size + content of STSI blocks, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 14/29] s390x/tcg: STSI overhaul, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 18/29] s390x/kvm: cache the kvm flic in a central function, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 17/29] s390x/tcg: cache the qemu flic in a central function, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 16/29] configure: s390x supports mttcg now, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 15/29] s390x/tcg: remove SMP warning, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 20/29] s390x/sclp: fix event mask handling,
Cornelia Huck <=
- [qemu-s390x] [PULL 21/29] s390x/tcg: wire up pci instructions, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 22/29] s390x/cpumodel: allow zpci features in qemu model, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 23/29] s390x/cpumodel: model PTFF subfunctions for Multiple-epoch facility, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 24/29] s390x/pci: fixup the code walking IOMMU tables, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 19/29] s390x/flic: cache the common flic class in a central function, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 25/29] s390x/pci: fixup global refresh, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 26/29] s390x/pci: use the right pal and pba in reg_ioat(), Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 27/29] MAINTAINERS: add myself as overall s390x maintainer, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 29/29] MAINTAINERS: add David as additional tcg/s390 maintainer, Cornelia Huck, 2018/02/09
- [qemu-s390x] [PULL 28/29] MAINTAINERS: reorganize s390-ccw bios maintainership, Cornelia Huck, 2018/02/09