]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add thunderx2t99 and thunderx2t99p1 CPU names to tunables list
authorSteve Ellcey <sellcey@caviumnetworks.com>
Fri, 8 Sep 2017 18:02:09 +0000 (11:02 -0700)
committerSteve Ellcey <sellcey@caviumnetworks.com>
Fri, 8 Sep 2017 18:02:09 +0000 (11:02 -0700)
* manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
thunderx2t99p1 to list of cpu names.
* sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.

ChangeLog
manual/tunables.texi
sysdeps/unix/sysv/linux/aarch64/cpu-features.c

index 8ee6a05f28d30264371f9e2d03de0350f07ba2d3..7fce51065faa60a1f78313e563d689387c2da2ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-09-08  Steve Ellcey  <sellcey@cavium.com>
+
+       * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
+       thunderx2t99p1 to list of cpu names.
+       * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
+       Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
+
 2017-09-08  Steve Ellcey  <sellcey@cavium.com>
 
        * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
index b09e3fe7917751a108abd8aeb487d3564c722365..f503daef56239acad323698f74382e06194704e6 100644 (file)
@@ -253,7 +253,8 @@ This tunable is specific to i386 and x86-64.
 @deftp Tunable glibc.tune.cpu
 The @code{glibc.tune.cpu=xxx} tunable allows the user to tell @theglibc{} to
 assume that the CPU is @code{xxx} where xxx may have one of these values:
-@code{generic}, @code{falkor}, @code{thunderxt88}.
+@code{generic}, @code{falkor}, @code{thunderxt88}, @code{thunderx2t99},
+@code{thunderx2t99p1}.
 
 This tunable is specific to aarch64.
 @end deftp
index 0c7e13f4fa3da813f17201520b39b6140f931032..e769eeb35f7fdec4b6c912956777cc1c11d65aa9 100644 (file)
@@ -28,9 +28,11 @@ struct cpu_list
 };
 
 static struct cpu_list cpu_list[] = {
-      {"falkor",       0x510FC000},
-      {"thunderxt88",  0x430F0A10},
-      {"generic",      0x0}
+      {"falkor",        0x510FC000},
+      {"thunderxt88",   0x430F0A10},
+      {"thunderx2t99",   0x431F0AF0},
+      {"thunderx2t99p1", 0x420F5160},
+      {"generic",       0x0}
 };
 
 static uint64_t