diff options
author | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-09-08 11:02:09 -0700 |
---|---|---|
committer | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-09-08 11:02:09 -0700 |
commit | 9c9ec58197d1e18db6f7b39f7dc08b0f5f61df4e (patch) | |
tree | 69f57b029ef7e6872ef537f72abb6811e93664ea | |
parent | f00bce744e12996a30b7ac5851b001b1dd7beaa9 (diff) | |
download | glibc-9c9ec58197d1e18db6f7b39f7dc08b0f5f61df4e.tar.gz glibc-9c9ec58197d1e18db6f7b39f7dc08b0f5f61df4e.tar.xz glibc-9c9ec58197d1e18db6f7b39f7dc08b0f5f61df4e.zip |
Add thunderx2t99 and thunderx2t99p1 CPU names to tunables list
* 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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | manual/tunables.texi | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/cpu-features.c | 8 |
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 8ee6a05f28..7fce51065f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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): Use strcmp instead of tunable_is_name. diff --git a/manual/tunables.texi b/manual/tunables.texi index b09e3fe791..f503daef56 100644 --- a/manual/tunables.texi +++ b/manual/tunables.texi @@ -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 diff --git a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c index 0c7e13f4fa..e769eeb35f 100644 --- a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c +++ b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c @@ -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 |