qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>,
	Thomas Huth <thuth@redhat.com>, Cornelia Huck <cohuck@redhat.com>
Cc: Halil Pasic <pasic@linux.ibm.com>,
	qemu-s390x <qemu-s390x@nongnu.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Date: Tue, 16 Jul 2019 09:24:15 +0200	[thread overview]
Message-ID: <2c966565-aa0f-5ef2-246f-dde9582fcdf2@redhat.com> (raw)
In-Reply-To: <a736953d-06de-7577-6904-3c1bde7240ba@de.ibm.com>

On 15.07.19 18:12, Christian Borntraeger wrote:
> 
> 
> On 15.07.19 17:50, Christian Borntraeger wrote:
>>
>>
>> On 15.07.19 17:02, Thomas Huth wrote:
>>> On 15/07/2019 16.23, Christian Borntraeger wrote:
>>>> David suggested to keep everything in sync as 4.1 is not yet released.
>>>> This patch fixes the name "vxbeh" into "vxp".
>>>>
>>>> To simplify the backports this patch will not change VECTOR_BCD_ENH as
>>>> this is just an internal name. That will be done by an extra patch that
>>>> does not need to be backported.
>>>>
>>>> Suggested-by: David Hildenbrand <david@redhat.com>
>>>> Fixes: d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")
>>>> Fixes: 54d65de0b525 ("s390x/cpumodel: vector enhancements")
>>>> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
>>>> ---
>>>>  target/s390x/cpu_features_def.inc.h | 2 +-
>>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/target/s390x/cpu_features_def.inc.h b/target/s390x/cpu_features_def.inc.h
>>>> index 3118a9f89228..99f58a89318a 100644
>>>> --- a/target/s390x/cpu_features_def.inc.h
>>>> +++ b/target/s390x/cpu_features_def.inc.h
>>>> @@ -104,7 +104,7 @@ DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil
>>>>  DEF_FEAT(VECTOR_ENH2, "vxeh2", STFL, 148, "Vector Enhancements facility 2")
>>>>  DEF_FEAT(ESORT_BASE, "esort-base", STFL, 150, "Enhanced-sort facility (excluding subfunctions)")
>>>>  DEF_FEAT(DEFLATE_BASE, "deflate-base", STFL, 151, "Deflate-conversion facility (excluding subfunctions)")
>>>> -DEF_FEAT(VECTOR_BCD_ENH, "vxbeh", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility")
>>>> +DEF_FEAT(VECTOR_BCD_ENH, "vxp", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility")
>>>
>>> We already have:
>>>
>>> DEF_FEAT(VECTOR_PACKED_DECIMAL, "vxpd", STFL, 134, "Vector packed decimal facility")
>>>
>>> ... so I rather expected something like "vxpde" here instead? Or is there a reason
>>>
>> for just using "vxp"?
>>
>> Matching what the Linux kernel has.
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/s390/kernel/processor.c?id=a8fd61688dfad6fdce95fa64cacd8a66595697b8
>>>
> 
> Since we differ from the kernel in other places as well we might use something else, of course.
> 

We also have

sortl vs. sort
vxe vs. vxeh
vxe2 vs. vxeh2

So I tend to prefer "vxpde", or rather "vxpdeh".

(all other enhancement facilities have "eh", so we should actually use
"vxpdeh")

-- 

Thanks,

David / dhildenb


  reply	other threads:[~2019-07-16  7:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 14:23 [Qemu-devel] [PATCH 0/3] s390x/cpumodel fixes for 4.1 Christian Borntraeger
2019-07-15 14:23 ` [Qemu-devel] [PATCH 1/3] s390x/cpumodel: remove esort from the default model Christian Borntraeger
2019-07-15 14:34   ` David Hildenbrand
2019-07-16  9:24   ` [Qemu-devel] [qemu-s390x] " Thomas Huth
2019-07-15 14:23 ` [Qemu-devel] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh Christian Borntraeger
2019-07-15 14:36   ` David Hildenbrand
2019-07-15 15:02   ` [Qemu-devel] [qemu-s390x] " Thomas Huth
2019-07-15 15:50     ` Christian Borntraeger
2019-07-15 16:12       ` Christian Borntraeger
2019-07-16  7:24         ` David Hildenbrand [this message]
2019-07-16  7:25           ` Christian Borntraeger
2019-07-16  8:30             ` Cornelia Huck
2019-07-16  8:43               ` Thomas Huth
2019-07-16  9:02               ` Christian Borntraeger
2019-07-15 14:23 ` [Qemu-devel] [PATCH 3/3] s390x/cpumodel: change internal name of vxp to make description Christian Borntraeger
2019-07-15 14:37   ` David Hildenbrand
2019-07-15 15:35   ` Cornelia Huck
2019-07-15 15:51     ` Christian Borntraeger
2019-07-16  9:25   ` [Qemu-devel] [qemu-s390x] " Thomas Huth
2019-07-16  9:36 ` [Qemu-devel] [PATCH 0/3] s390x/cpumodel fixes for 4.1 Cornelia Huck
2019-07-16 10:51 ` no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c966565-aa0f-5ef2-246f-dde9582fcdf2@redhat.com \
    --to=david@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=pasic@linux.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).