Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1600440
| From | David Hildenbrand <david@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v1] KVM: s390: use defines for execution controls |
| Date | 2017-03-14 15:00 +0100 |
| Message-ID | <tkV9x-Uf-35@gated-at.bofh.it> (permalink) |
| References | <tkvI7-7IV-29@gated-at.bofh.it> <tkV9v-Uf-1@gated-at.bofh.it> |
| Organization | Red Hat GmbH |
Am 14.03.2017 um 14:51 schrieb Christian Borntraeger: > On 03/13/2017 11:48 AM, David Hildenbrand wrote: >> Let's replace the bitmasks by defines. Reconstructed from code, comments >> and commit messages. >> >> Tried to keep the defines short and map them to feature names. In case >> they don't completely map to features, keep them in the stye of ICTL >> defines. >> >> This effectively drops all "U" from the existing numbers. I think this >> should be fine (as similarly done for e.g. ICTL defines). > > The patch does change the binary result and this seems to be related to the > U removal. But as far as I can tell this is fine, its just some subtle > undefined behaviour change between unsigned/signed which we do not care > about. > > >> >> I am not 100% sure about the ECA_MVPGI and ECA_PROTEXCI bits as they are >> always used in pairs. > > Just historic baggage, e.g. in 3.10 we set eca to 0xC1002001 and over > time we split those out piece by piece. Those two are just the last men > standing. > > I think I am going to apply this with some minor changes (EC* names). Ok > when I do the changes? > Sure, feel free to modify! Thanks! -- Thanks, David
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v1] KVM: s390: use defines for execution controls David Hildenbrand <david@redhat.com> - 2017-03-13 11:50 +0100
Re: [PATCH v1] KVM: s390: use defines for execution controls Christian Borntraeger <borntraeger@de.ibm.com> - 2017-03-14 15:00 +0100
Re: [PATCH v1] KVM: s390: use defines for execution controls David Hildenbrand <david@redhat.com> - 2017-03-14 15:00 +0100
csiph-web