Skip to contentSkip to conversation

target-i386: tsc_adjust and mpx feature names

PATCH Applied Eduardo Habkost 2 participants 4 messages Aug 25, 2014 – Aug 26, 2014 KVM

lore
Share & tools
lore
#0 lore raw

v2 cover target-i386: tsc_adjust and mpx feature names

Add feature names that are missing on the x86 CPU feature name tables. Both had migration support implemented many months ago.

Changes v1 -> v2:
* Commit message changes only. Added reference to migration support commit IDs.

Note that v1 was not sent as a series, but as separate individual patches.

Eduardo Habkost (2):
target-i386: Add "mpx" CPU feature name
target-i386: Add "tsc_adjust" CPU feature name

 target-i386/cpu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.3
#1 lore raw

PATCH v2 1/2 target-i386: Add "mpx" CPU feature name

Migration support for MPX is already implemented (commit 79e9ebebbf2a00c46fcedb6dc7dd5e12bbd30216), so we can add it to the list of known feature names.

---
 target-i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-i386/cpu.c +1 -1
index 217500c..c86cf5c 100644
@@ -258,7 +258,7 @@ static const char *svm_feature_name[] = {
 
 static const char *cpuid_7_0_ebx_feature_name[] = {
     "fsgsbase", NULL, NULL, "bmi1", "hle", "avx2", NULL, "smep",
-    "bmi2", "erms", "invpcid", "rtm", NULL, NULL, NULL, NULL,
+    "bmi2", "erms", "invpcid", "rtm", NULL, NULL, "mpx", NULL,
     NULL, NULL, "rdseed", "adx", "smap", NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
 };
Signature · 1 line
1.9.3
#2 lore raw

PATCH v2 2/2 target-i386: Add "tsc_adjust" CPU feature name

In reply to Eduardo Habkost

tsc_adjust migration support is already implemented (commit f28558d3d37ad3bc4e35e8ac93f7bf81a0d5622c), so we can add it to the list of known feature names.

---
 target-i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-i386/cpu.c +1 -1
index c86cf5c..ea0fd9c 100644
@@ -257,7 +257,7 @@ static const char *svm_feature_name[] = {
 };
 
 static const char *cpuid_7_0_ebx_feature_name[] = {
-    "fsgsbase", NULL, NULL, "bmi1", "hle", "avx2", NULL, "smep",
+    "fsgsbase", "tsc_adjust", NULL, "bmi1", "hle", "avx2", NULL, "smep",
     "bmi2", "erms", "invpcid", "rtm", NULL, NULL, "mpx", NULL,
     NULL, NULL, "rdseed", "adx", "smap", NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
Signature · 1 line
1.9.3
maintainer Applied
#3 lore raw
In reply to Eduardo Habkost

Il 25/08/2014 22:02, Eduardo Habkost ha scritto:

Quoted 6 lines

Add feature names that are missing on the x86 CPU feature name tables. Both had migration support implemented many months ago.

Changes v1 -> v2:
* Commit message changes only. Added reference to migration support commit IDs.

Quoted 9 lines

Note that v1 was not sent as a series, but as separate individual patches.

Eduardo Habkost (2):
target-i386: Add "mpx" CPU feature name
target-i386: Add "tsc_adjust" CPU feature name

 target-i386/cpu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, applied to uq/master.

Paolo