[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data |
Date: |
Tue, 12 May 2020 18:24:25 +0200 |
On Tue, 12 May 2020 12:16:45 -0400
Collin Walling <address@hidden> wrote:
> On 5/12/20 12:01 PM, Cornelia Huck wrote:
> > On Mon, 11 May 2020 17:02:06 +0200
> > David Hildenbrand <address@hidden> wrote:
> >
> >> On 11.05.20 16:50, Janosch Frank wrote:
> >>> On 5/11/20 4:44 PM, David Hildenbrand wrote:
> >>>> On 11.05.20 16:36, Janosch Frank wrote:
> >>>>> On 5/9/20 1:08 AM, Collin Walling wrote:
> >>>>>> The SCCB must be checked for a sufficient length before it is filled
> >>>>>> with any data. If the length is insufficient, then the SCLP command
> >>>>>> is suppressed and the proper response code is set in the SCCB header.
> >>>>>>
> >>>>>> Signed-off-by: Collin Walling <address@hidden>
> >>>>>
> >>>>> Fixes tag?
> >
> > Probably
> >
> > Fixes: 832be0d8a3bb ("s390x: sclp: Report insufficient SCCB length")
> >
> > ?
> >
>
> Sounds reasonable. This patch doesn't fix any explicitly-known bugs
> AFAIK. The s390 Linux kernel is hard-coded to use a 4K size SCCB when
> executing these commands.
>
> I suppose this could introduce a bug if things change in the Linux
> kernel or if some other OS wants to use this command. That should be
> enough of a justification, right? (Just want to make sure I understand
> the use of the tag correctly).
Yes; from the description of how this is supposed to work it fixes
architectural conformance, not a bug that is triggered by today's guest
systems.
[Usage of the Fixes: tag in QEMU is not quite as essential as in Linux,
as we don't do the numerous, big stable updates here; I don't think
this is stable material, but we can certainly record where this was
introduced.]
- Re: [PATCH v1 7/8] s390/kvm: header sync for diag318, (continued)
- [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Collin Walling, 2020/05/08
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Janosch Frank, 2020/05/11
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, David Hildenbrand, 2020/05/11
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Collin Walling, 2020/05/11
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Janosch Frank, 2020/05/11
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, David Hildenbrand, 2020/05/11
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Cornelia Huck, 2020/05/12
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Collin Walling, 2020/05/12
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data,
Cornelia Huck <=
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Collin Walling, 2020/05/12
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Janosch Frank, 2020/05/13
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Cornelia Huck, 2020/05/13
- Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, Collin Walling, 2020/05/14
Re: [PATCH v1 2/8] s390/sclp: check sccb len before filling in data, David Hildenbrand, 2020/05/18
[PATCH v1 5/8] s390/sclp: use cpu offset to locate cpu entries, Collin Walling, 2020/05/08
[PATCH v1 1/8] s390/sclp: remove SCLPDevice param from prepare_cpu_entries, Collin Walling, 2020/05/08
[PATCH v1 6/8] s390/sclp: add extended-length sccb support for kvm guest, Collin Walling, 2020/05/08