s390x/cpumodel fixes for 4.1
cover s390x/cpumodel fixes for 4.1
Some fallout of the gen15 cpu model. As this is new in 4.1 it is still time to fixup some aspects.
Christian Borntraeger (3):
s390x/cpumodel: remove esort from the default model s390x/cpumodel: also change name of vxbeh s390x/cpumodel: change internal name of vxp to make description
target/s390x/cpu_features_def.inc.h | 2 +- target/s390x/gen-features.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-)
Signature · 1 line
2.21.0
PATCH 1/3 s390x/cpumodel: remove esort from the default model
esort might not be available on all models.
--- target/s390x/gen-features.c | 1 - 1 file changed, 1 deletion(-)
target/s390x/gen-features.c +0 -1
@@ -642,7 +642,6 @@ static uint16_t default_GEN14_GA1[] = {static uint16_t default_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 , -S390_FEAT_GROUP_ENH_SORT ,S390_FEAT_GROUP_DEFLATE_CONVERSION ,S390_FEAT_VECTOR_BCD_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,
Signature · 1 line
2.21.0
Re: [Qemu-devel] [PATCH 1/3] s390x/cpumodel: remove esort from the default model
Quoted 14 lines · Christian Borntraeger
esort might not be available on all models.
Fixes caef62430fed6e73 ("s390x/cpumodel: add gen15 defintions")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/gen-features.c | 1 - 1 file changed, 1 deletion(-)target/s390x/gen-features.c +0
-0
target/s390x/gen-features.c static uint16_t default_GEN14_GA1[] = { · line 647
Quoted 7 lines
target/s390x/gen-features.c +0
-1@@ -642,7 +642,6 @@ static uint16_t default_GEN14_GA1[] = {static uint16_t default_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 , -S390_FEAT_GROUP_ENH_SORT ,S390_FEAT_GROUP_DEFLATE_CONVERSION ,S390_FEAT_VECTOR_BCD_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,
Signature · 3 lines
Thanks, David / dhildenb
Re: [Qemu-devel] [qemu-s390x] [PATCH 1/3] s390x/cpumodel: remove esort from the default model
In reply to Christian BorntraegerQuoted 14 lines · Christian Borntraeger
esort might not be available on all models.
Fixes caef62430fed6e73 ("s390x/cpumodel: add gen15 defintions")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/gen-features.c | 1 - 1 file changed, 1 deletion(-)target/s390x/gen-features.c +0
-0
target/s390x/gen-features.c static uint16_t default_GEN14_GA1[] = { · line 647
Quoted 7 lines
target/s390x/gen-features.c +0
-1@@ -642,7 +642,6 @@ static uint16_t default_GEN14_GA1[] = {static uint16_t default_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 , -S390_FEAT_GROUP_ENH_SORT ,S390_FEAT_GROUP_DEFLATE_CONVERSION ,S390_FEAT_VECTOR_BCD_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,
FWIW,
PATCH 2/3 s390x/cpumodel: also change name of vxbeh
In reply to Christian BorntraegerDavid 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.
--- target/s390x/cpu_features_def.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/s390x/cpu_features_def.inc.h +1 -1
@@ -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") DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )
Signature · 1 line
2.21.0
Re: [Qemu-devel] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Quoted 21 lines · Christian Borntraeger
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_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/s390x/cpu_features_def.inc.h +0
-0
target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 110
Quoted 8 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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") DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )
Signature · 3 lines
Thanks, David / dhildenb
Re: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
In reply to Christian BorntraegerQuoted 20 lines · Christian Borntraeger
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_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/s390x/cpu_features_def.inc.h +0
-0
target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 107
Quoted 5 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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"?
Thomas
Re: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Quoted 29 lines · Thomas Huth
Quoted 20 lines · Christian Borntraeger
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_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/s390x/cpu_features_def.inc.h +0
-0target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 107
Quoted 5 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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:
Quoted 4 lines
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.
Quoted 3 lines
Thomas
Re: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Quoted 34 lines · Christian Borntraeger
Quoted 31 lines · Thomas Huth
Quoted 20 lines · Christian Borntraeger
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_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/s390x/cpu_features_def.inc.h +0
-0target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 107
Quoted 5 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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")
Quoted 8 lines
Quoted 2 lines
... so I rather expected something like "vxpde" here instead? Or is there a reason
for just using "vxp"?
Matching what the Linux kernel has.
Quoted 1 line
Since we differ from the kernel in other places as well we might use something else, of course.
Re: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Quoted 39 lines · Christian Borntraeger
Quoted 36 lines · Christian Borntraeger
Quoted 33 lines · Thomas Huth
Quoted 20 lines · Christian Borntraeger
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_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/s390x/cpu_features_def.inc.h +0
-0target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 107
Quoted 5 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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
Quoted 9 lines
Quoted 6 lines
for just using "vxp"?
Matching what the Linux kernel has.
Quoted 1 line
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")
Signature · 3 lines
Thanks, David / dhildenb
Re: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Quoted 52 lines · David Hildenbrand
Quoted 39 lines · Christian Borntraeger
Quoted 36 lines · Christian Borntraeger
Quoted 33 lines · Thomas Huth
Quoted 20 lines · Christian Borntraeger
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_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/s390x/cpu_features_def.inc.h +0
-0target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 107
Quoted 5 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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
Quoted 9 lines
Quoted 6 lines
for just using "vxp"?
Matching what the Linux kernel has.
Quoted 1 line
Since we differ from the kernel in other places as well we might use something else, of course.
We also have
Quoted 8 lines
sortl vs. sort
vxe vs. vxeh
vxe2 vs. vxeh2So I tend to prefer "vxpde", or rather "vxpdeh".
(all other enhancement facilities have "eh", so we should actually use "vxpdeh")
Fine with me. Conny, shall I resend or can you fixup everything?
Cornelia Huck
Reviewed-by David HildenbrandRe: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Quoted 8 lines · On Tue, 16 Jul 2019 09:25:42 +0200 Christian Borntraeger…
Quoted 6 lines · David Hildenbrand
We also have
sortl vs. sort
vxe vs. vxeh
vxe2 vs. vxeh2
Quoted 7 lines
Quoted 4 lines
So I tend to prefer "vxpde", or rather "vxpdeh".
(all other enhancement facilities have "eh", so we should actually use "vxpdeh")
Fine with me. Conny, shall I resend or can you fixup everything?
I now have the following; can you please double check?
commit a02c8264b7219bc30ec258f068c89b93ad244c36
Author: Christian Borntraeger <[email protected]> Date: Mon Jul 15 16:23:03 2019 +0200
s390x/cpumodel: also change name of vxbeh
David suggested to keep everything in sync as 4.1 is not yet released. This patch fixes the name "vxbeh" into "vxpdeh".
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.
Message-Id: <[email protected]>
target/s390x/cpu_features_def.inc.h +1 -1
@@ -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, "vxpdeh", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility") DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )
Thomas Huth
Reviewed-byRe: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
Quoted 47 lines · Cornelia Huck
Quoted 8 lines · On Tue, 16 Jul 2019 09:25:42 +0200 Christian Borntraeger…
Quoted 6 lines · David Hildenbrand
We also have
sortl vs. sort
vxe vs. vxeh
vxe2 vs. vxeh2Quoted 7 lines
Quoted 4 lines
So I tend to prefer "vxpde", or rather "vxpdeh".
(all other enhancement facilities have "eh", so we should actually use "vxpdeh")
Fine with me. Conny, shall I resend or can you fixup everything?
I now have the following; can you please double check?
commit
a02c8264b7219bc30ec258f068c89b93ad244c36Author: Christian Borntraeger <[email protected]> Date: Mon Jul 15 16:23:03 2019 +0200s390x/cpumodel: also change name of vxbeh
David suggested to keep everything in sync as 4.1 is not yet released. This patch fixes the name "vxbeh" into "vxpdeh".
To simplify the backports this patch will not change
VECTOR_BCD_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>Message-Id: <[email protected]>
Reviewed-by David Hildenbrand <[email protected]>Signed-off-by Cornelia Huck <[email protected]>target/s390x/cpu_features_def.inc.h +0
-0
target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 109
Quoted 7 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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, "vxpdeh", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility") DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )
Re: [Qemu-devel] [qemu-s390x] [PATCH 2/3] s390x/cpumodel: also change name of vxbeh
In reply to Cornelia HuckQuoted 13 lines · Cornelia Huck
Quoted 10 lines · On Tue, 16 Jul 2019 09:25:42 +0200 Christian Borntraeger…
Quoted 8 lines · David Hildenbrand
We also have
sortl vs. sort
vxe vs. vxeh
vxe2 vs. vxeh2So I tend to prefer "vxpde", or rather "vxpdeh".
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
(all other enhancement facilities have "eh", so we should actually use "vxpdeh")
Fine with me. Conny, shall I resend or can you fixup everything?
I now have the following; can you please double check?
looks good.
Quoted 36 lines
commit
a02c8264b7219bc30ec258f068c89b93ad244c36Author: Christian Borntraeger <[email protected]> Date: Mon Jul 15 16:23:03 2019 +0200s390x/cpumodel: also change name of vxbeh
David suggested to keep everything in sync as 4.1 is not yet released. This patch fixes the name "vxbeh" into "vxpdeh".
To simplify the backports this patch will not change
VECTOR_BCD_ENHas 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 <[email protected]>Fixes d05be57ddc2e ("s390: cpumodel: fix description for the new vector facility")Fixes 54d65de0b525 ("s390x/cpumodel: vector enhancements")Signed-off-by Christian Borntraeger <[email protected]>Message-Id: <[email protected]>
Reviewed-by David Hildenbrand <[email protected]>Signed-off-by Cornelia Huck <[email protected]>target/s390x/cpu_features_def.inc.h +1
-1@@ -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, "vxpdeh", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility") DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )
PATCH 3/3 s390x/cpumodel: change internal name of vxp to make description
In reply to Christian BorntraegerThe internal macro name VECTOR_BCD_ENH does not match the actual description. Fix this.
--- target/s390x/cpu_features_def.inc.h | 2 +- target/s390x/gen-features.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
target/s390x/cpu_features_def.inc.h +1 -1
@@ -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, "vxp", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility") +DEF_FEAT(VECTOR_PACKED_DECIMAL_ENH, "vxp", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility") DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )
target/s390x/gen-features.c +2 -2
@@ -558,7 +558,7 @@ static uint16_t full_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 ,S390_FEAT_GROUP_ENH_SORT ,S390_FEAT_GROUP_DEFLATE_CONVERSION , -S390_FEAT_VECTOR_BCD_ENH , +S390_FEAT_VECTOR_PACKED_DECIMAL_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,S390_FEAT_GROUP_MSA_EXT_9_PCKMO , S390_FEAT_ETOKEN,
@@ -643,7 +643,7 @@ static uint16_t default_GEN14_GA1[] = {static uint16_t default_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 ,S390_FEAT_GROUP_DEFLATE_CONVERSION , -S390_FEAT_VECTOR_BCD_ENH , +S390_FEAT_VECTOR_PACKED_DECIMAL_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,S390_FEAT_GROUP_MSA_EXT_9_PCKMO ,S390_FEAT_ETOKEN ,
Signature · 1 line
2.21.0
Re: [Qemu-devel] [PATCH 3/3] s390x/cpumodel: change internal name of vxp to make description
Quoted 37 lines · Christian Borntraeger
The internal macro name
VECTOR_BCD_ENHdoes not match the actual description. Fix this.Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- target/s390x/gen-features.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)target/s390x/cpu_features_def.inc.h +1
-1@@ -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, "vxp", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility") +DEF_FEAT(VECTOR_PACKED_DECIMAL_ENH, "vxp", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility") DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )target/s390x/gen-features.c +1
-1@@ -558,7 +558,7 @@ static uint16_t full_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 ,S390_FEAT_GROUP_ENH_SORT ,S390_FEAT_GROUP_DEFLATE_CONVERSION , -S390_FEAT_VECTOR_BCD_ENH , +S390_FEAT_VECTOR_PACKED_DECIMAL_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,S390_FEAT_GROUP_MSA_EXT_9_PCKMO , S390_FEAT_ETOKEN,
target/s390x/gen-features.c static uint16_t default_GEN14_GA1[] = { · line 649
Quoted 8 lines
target/s390x/gen-features.c +1
-1@@ -643,7 +643,7 @@ static uint16_t default_GEN14_GA1[] = {static uint16_t default_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 ,S390_FEAT_GROUP_DEFLATE_CONVERSION , -S390_FEAT_VECTOR_BCD_ENH , +S390_FEAT_VECTOR_PACKED_DECIMAL_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,S390_FEAT_GROUP_MSA_EXT_9_PCKMO ,S390_FEAT_ETOKEN ,
Signature · 3 lines
Thanks, David / dhildenb
Re: [Qemu-devel] [PATCH 3/3] s390x/cpumodel: change internal name of vxp to make description
In reply to Christian BorntraegerQuoted 8 lines · On Mon, 15 Jul 2019 16:23:04 +0200 Christian Borntraeger…
The internal macro name
VECTOR_BCD_ENHdoes not match the actual description. Fix this.Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- target/s390x/gen-features.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
s/make/match/ in $SUBJECT?
Re: [Qemu-devel] [PATCH 3/3] s390x/cpumodel: change internal name of vxp to make description
Quoted 6 lines · Cornelia Huck
Quoted 3 lines · On Mon, 15 Jul 2019 16:23:04 +0200 Christian Borntraeger…
The internal macro name
VECTOR_BCD_ENHdoes not match the actual description. Fix this.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- target/s390x/gen-features.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)s/make/match/ in $SUBJECT?
yep.
Re: [Qemu-devel] [qemu-s390x] [PATCH 3/3] s390x/cpumodel: change internal name of vxp to make description
In reply to Christian BorntraegerQuoted 14 lines · Christian Borntraeger
The internal macro name
VECTOR_BCD_ENHdoes not match the actual description. Fix this.Signed-off-by Christian Borntraeger <[email protected]>--- target/s390x/cpu_features_def.inc.h | 2 +- target/s390x/gen-features.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)target/s390x/cpu_features_def.inc.h +0
-0
target/s390x/cpu_features_def.inc.h DEF_FEAT(CMM_NT, "cmmnt", STFL, 147, "CMM: ESSA-enhancement (no translate) facil · line 107
Quoted 5 lines
target/s390x/cpu_features_def.inc.h +1
-1@@ -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 ,"vxp" ,STFL ,152 ,"Vector-Packed-Decimal-Enhancement Facility" ) +DEF_FEAT (VECTOR_PACKED_DECIMAL_ENH ,"vxp" ,STFL ,152 ,"Vector-Packed-Decimal-Enhancement Facility" )
With "vxpdeh" instead of "vxp":
Quoted 26 lines
target/s390x/cpu_features_def.inc.h +0
-0DEF_FEAT(MSA_EXT_9, "msa9-base", STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)")DEF_FEAT (ETOKEN ,"etoken" ,STFL ,156 ,"Etoken facility" )target/s390x/gen-features.c +2
-2@@ -558,7 +558,7 @@ static uint16_t full_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 ,S390_FEAT_GROUP_ENH_SORT ,S390_FEAT_GROUP_DEFLATE_CONVERSION , -S390_FEAT_VECTOR_BCD_ENH , +S390_FEAT_VECTOR_PACKED_DECIMAL_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,S390_FEAT_GROUP_MSA_EXT_9_PCKMO , S390_FEAT_ETOKEN,@@ -643,7 +643,7 @@ static uint16_t default_GEN14_GA1[] = {static uint16_t default_GEN15_GA1[] = {S390_FEAT_VECTOR_ENH2 ,S390_FEAT_GROUP_DEFLATE_CONVERSION , -S390_FEAT_VECTOR_BCD_ENH , +S390_FEAT_VECTOR_PACKED_DECIMAL_ENH ,S390_FEAT_GROUP_MSA_EXT_9 ,S390_FEAT_GROUP_MSA_EXT_9_PCKMO ,S390_FEAT_ETOKEN ,
Quoted 12 lines · On Mon, 15 Jul 2019 16:23:01 +0200 Christian Borntraeger…
Some fallout of the gen15 cpu model. As this is new in 4.1 it is still time to fixup some aspects.
Christian Borntraeger (3):
s390x/cpumodel: remove esort from the default model s390x/cpumodel: also change name of vxbeh s390x/cpumodel: change internal name of vxp to make descriptiontarget/s390x/cpu_features_def.inc.h | 2 +- target/s390x/gen-features.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-)
Thanks, queued to s390-fixes (with s/vxp/vxpdeh/).
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series seems to have some coding style problems. See output below for more information:
Message-id: [email protected]
Type: series
Subject: [Qemu-devel] [PATCH 0/3] s390x/cpumodel fixes for 4.1
=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===
From https://github.com/patchew-project/qemu
t [tag update] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'7bc436d3ed s390x/cpumodel: change internal name of vxp to make description 6b0474bbb3 s390x/cpumodel: also change name of vxbeh 2a3445555a s390x/cpumodel: remove esort from the default model
=== OUTPUT BEGIN ===
1/3 Checking commit 2a3445555a55 (s390x/cpumodel: remove esort from the default model) 2/3 Checking commit 6b0474bbb3ec (s390x/cpumodel: also change name of vxbeh)
WARNING: line over 80 characters
#29: FILE: target/s390x/cpu_features_def.inc.h:107:
+DEF_FEAT(VECTOR_BCD_ENH, "vxp", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility")
total: 0 errors, 1 warnings, 8 lines checked
Patch 2/3 has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
3/3 Checking commit 7bc436d3eda4 (s390x/cpumodel: change internal name of vxp to make description)
ERROR: line over 90 characters
#22: FILE: target/s390x/cpu_features_def.inc.h:107:
+DEF_FEAT(VECTOR_PACKED_DECIMAL_ENH, "vxp", STFL, 152, "Vector-Packed-Decimal-Enhancement Facility")
total: 1 errors, 0 warnings, 24 lines checked
Patch 3/3 has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
=== OUTPUT END ===
Test command exited with code: 1
The full log is available at
http://patchew.org/logs/[email protected]/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]