[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 5/8] s390/sclp: use cpu offset to locate cpu entries
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v5 5/8] s390/sclp: use cpu offset to locate cpu entries |
Date: |
Fri, 11 Sep 2020 12:36:36 +0200 |
On Thu, 10 Sep 2020 05:36:52 -0400
Collin Walling <walling@linux.ibm.com> wrote:
> The start of the CPU entry region in the Read SCP Info response data is
> denoted by the offset_cpu field. As such, QEMU needs to begin creating
> entries at this address.
>
> This is in preparation for when Read SCP Info inevitably introduces new
> bytes that push the start of the CPUEntry field further away.
>
> Read CPU Info is unlikely to ever change, so let's not bother
> accounting for the offset there.
>
> Signed-off-by: Collin Walling <walling@linux.ibm.com>
> ---
> hw/s390x/sclp.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
- [PATCH v5 0/8] s390: Extended-Length SCCB & DIAGNOSE 0x318, Collin Walling, 2020/09/10
- [PATCH v5 1/8] s390/sclp: get machine once during read scp/cpu info, Collin Walling, 2020/09/10
- [PATCH v5 3/8] s390/sclp: read sccb from mem based on provided length, Collin Walling, 2020/09/10
- [PATCH v5 5/8] s390/sclp: use cpu offset to locate cpu entries, Collin Walling, 2020/09/10
- [PATCH v5 4/8] s390/sclp: check sccb len before filling in data, Collin Walling, 2020/09/10
- [PATCH v5 2/8] s390/sclp: rework sclp boundary checks, Collin Walling, 2020/09/10
- [PATCH v5 6/8] s390/sclp: add extended-length sccb support for kvm guest, Collin Walling, 2020/09/10