[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not
From: |
David Hildenbrand |
Subject: |
Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable |
Date: |
Tue, 20 Feb 2018 16:55:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 20.02.2018 16:53, Cornelia Huck wrote:
> On Tue, 20 Feb 2018 16:07:13 +0100
> Halil Pasic <address@hidden> wrote:
>
>> The 'bit' field of the 'S390FeatDef' structure is not applicable to all
>> it's instances. Currently a this field is not applicable, and remains
>
> s/it's/its/
>
> s/a this/this/
>
>> unused, iff the feature is of type S390_FEAT_TYPE_MISC. Having the value 0
>> specified for multiple such feature definition was a little confusing,
>> as it's a perfectly legit bit value, and as usually the value of the bit
>> field is ought to be unique for each feature.
>>
>> Let's document this, and hopefully reduce the potential for confusion.
>>
>> Signed-off-by: Halil Pasic <address@hidden>
>> ---
>>
>> Hi!
>>
>> This may be an overkill. A comment where the misc features
>> are defined would do to, but I think this is nicer. So
>> I decided to try it with this approach first.
>
> Is there likely to be anything else than FEAT_MISC _not_ using .bit? If
> not, would it be better to at a comment to the FEAT_MISC definition?
Doubt it right now. I would sign the "overkill" part :)
--
Thanks,
David / dhildenb
- [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, Halil Pasic, 2018/02/20
- Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, Cornelia Huck, 2018/02/20
- Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable,
David Hildenbrand <=
- Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, Christian Borntraeger, 2018/02/20
- Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, Cornelia Huck, 2018/02/20
- Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, David Hildenbrand, 2018/02/20
- Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, Cornelia Huck, 2018/02/20
- Re: [qemu-s390x] [Qemu-devel] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, Halil Pasic, 2018/02/21
- Re: [qemu-s390x] [PATCH 1/1] 390x/cpumodel: document S390FeatDef.bit not applicable, Halil Pasic, 2018/02/20