fixup for the z14 cpu model
cover fixup for the z14 cpu model
More testing revealed a small issue with the z14 cpu model.
Christian Borntraeger (1):
s390/cpumodel: remove KSS from the default model of z14
target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.7.4
PATCH 1/1 s390/cpumodel: remove KSS from the default model of z14
The SIE_KSS feature will allow a guest to use KSS for a nested guest. To create a nested guest the SIE_F2 facility is still necessary. Since SIE_F2 is not part of the default model it does not make a lot of sense to provide the SIE_KSS feature in the default model. Let's also create a dependency check.
--- target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
target/s390x/cpu_models.c +1 -0
@@ -723,6 +723,7 @@ static void check_consistency(const S390CPUModel *model) { S390_FEAT_KLMD_SHAKE_256, S390_FEAT_MSA }, { S390_FEAT_PRNO_TRNG_QRTCR, S390_FEAT_MSA_EXT_5 }, { S390_FEAT_PRNO_TRNG, S390_FEAT_MSA_EXT_5 }, + { S390_FEAT_SIE_KSS, S390_FEAT_SIE_F2 }, };int i;
target/s390x/gen-features.c +0 -1
@@ -535,7 +535,6 @@ static uint16_t default_GEN14_GA1[] = {S390_FEAT_GROUP_MSA_EXT_6 ,S390_FEAT_GROUP_MSA_EXT_7 , S390_FEAT_GROUP_MSA_EXT_8, - S390_FEAT_SIE_KSS, };/****** END FEATURE DEFS ******/
Signature · 1 line
2.7.4
Re: [Qemu-devel] [PATCH 1/1] s390/cpumodel: remove KSS from the default model of z14
Quoted 5 lines · Christian Borntraeger
The
SIE_KSSfeature will allow a guest to use KSS for a nested guest. To create a nested guest theSIE_F2facility is still necessary. SinceSIE_F2is not part of the default model it does not make a lot of sense to provide theSIE_KSSfeature in the default model. Let's also create a dependency check.
Makes sense.
Quoted 34 lines
Signed-off-by Christian Borntraeger <[email protected]>Reviewed-by Jason J. Herne <[email protected]>Reviewed-by Janosch Frank <[email protected]>--- target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)target/s390x/cpu_models.c +1
-0@@ -723,6 +723,7 @@ static void check_consistency(const S390CPUModel *model) { S390_FEAT_KLMD_SHAKE_256, S390_FEAT_MSA }, { S390_FEAT_PRNO_TRNG_QRTCR, S390_FEAT_MSA_EXT_5 }, { S390_FEAT_PRNO_TRNG, S390_FEAT_MSA_EXT_5 }, + { S390_FEAT_SIE_KSS, S390_FEAT_SIE_F2 }, };int i;target/s390x/gen-features.c +0
-1@@ -535,7 +535,6 @@ static uint16_t default_GEN14_GA1[] = {S390_FEAT_GROUP_MSA_EXT_6 ,S390_FEAT_GROUP_MSA_EXT_7 , S390_FEAT_GROUP_MSA_EXT_8, - S390_FEAT_SIE_KSS, };/****** END FEATURE DEFS ******/
Signature · 3 lines
Thanks, David
Re: [Qemu-devel] [PATCH 1/1] s390/cpumodel: remove KSS from the default model of z14
In reply to Christian BorntraegerQuoted 6 lines · On Thu, 20 Jul 2017 13:27:31 +0200 Christian Borntraeger…
The
SIE_KSSfeature will allow a guest to use KSS for a nested guest. To create a nested guest theSIE_F2facility is still necessary. SinceSIE_F2is not part of the default model it does not make a lot of sense to provide theSIE_KSSfeature in the default model. Let's also create a dependency check.
Quoted 7 lines
Signed-off-by Christian Borntraeger <[email protected]>Reviewed-by Jason J. Herne <[email protected]>Reviewed-by Janosch Frank <[email protected]>--- target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
I can either queue this; or, if you want to push this out as a fixup, feel free to add
Re: [Qemu-devel] [PATCH 1/1] s390/cpumodel: remove KSS from the default model of z14
Quoted 17 lines · Cornelia Huck
Quoted 6 lines · On Thu, 20 Jul 2017 13:27:31 +0200 Christian Borntraeger…
The
SIE_KSSfeature will allow a guest to use KSS for a nested guest. To create a nested guest theSIE_F2facility is still necessary. SinceSIE_F2is not part of the default model it does not make a lot of sense to provide theSIE_KSSfeature in the default model. Let's also create a dependency check.Quoted 7 lines
Signed-off-by Christian Borntraeger <[email protected]>Reviewed-by Jason J. Herne <[email protected]>Reviewed-by Janosch Frank <[email protected]>--- target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
Quoted 2 lines
I can either queue this; or, if you want to push this out as a fixup, feel free to add
I want this in 2.10, but it can wait some days of course. I am on vacation starting end of next week, so maybe its better if you do the next round (and also take care of Davids and Thomas patches if those are appropriate for 2.10)
Thanks a lot
Quoted 2 lines
Acked-by Cornelia Huck <[email protected]>
Re: [Qemu-devel] [PATCH 1/1] s390/cpumodel: remove KSS from the default model of z14
Quoted 21 lines · On Thu, 20 Jul 2017 15:10:35 +0200 Christian Borntraeger…
Quoted 17 lines · Cornelia Huck
Quoted 6 lines · On Thu, 20 Jul 2017 13:27:31 +0200 Christian Borntraeger…
The
SIE_KSSfeature will allow a guest to use KSS for a nested guest. To create a nested guest theSIE_F2facility is still necessary. SinceSIE_F2is not part of the default model it does not make a lot of sense to provide theSIE_KSSfeature in the default model. Let's also create a dependency check.Quoted 7 lines
Signed-off-by Christian Borntraeger <[email protected]>Reviewed-by Jason J. Herne <[email protected]>Reviewed-by Janosch Frank <[email protected]>--- target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)Quoted 2 lines
I can either queue this; or, if you want to push this out as a fixup, feel free to add
Quoted 6 lines
I want this in 2.10, but it can wait some days of course. I am on vacation starting end of next week, so maybe its better if you do the next round (and also take care of Davids and Thomas patches if those are appropriate for 2.10)
Thanks a lot
OK, I'll deal with this next week. I've got the vfio-ccw patches as well, anyway.
Quoted 3 lines
Quoted 2 lines
Acked-by Cornelia Huck <[email protected]>
Re: [Qemu-devel] [PATCH 1/1] s390/cpumodel: remove KSS from the default model of z14
In reply to Christian BorntraegerQuoted 6 lines · On Thu, 20 Jul 2017 13:27:31 +0200 Christian Borntraeger…
The
SIE_KSSfeature will allow a guest to use KSS for a nested guest. To create a nested guest theSIE_F2facility is still necessary. SinceSIE_F2is not part of the default model it does not make a lot of sense to provide theSIE_KSSfeature in the default model. Let's also create a dependency check.
Quoted 7 lines
Signed-off-by Christian Borntraeger <[email protected]>Reviewed-by Jason J. Herne <[email protected]>Reviewed-by Janosch Frank <[email protected]>--- target/s390x/cpu_models.c | 1 + target/s390x/gen-features.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
Thanks, queued to s390-next.