[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: |
Thomas Huth |
Subject: |
Re: [PATCH v5 5/8] s390/sclp: use cpu offset to locate cpu entries |
Date: |
Fri, 11 Sep 2020 06:33:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 10/09/2020 11.36, Collin Walling 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: Thomas Huth <thuth@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