diff options
author | Sajan Karumanchi <sajan.karumanchi@amd.com> | 2023-08-01 15:20:55 +0000 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-09-26 08:48:01 +0200 |
commit | 9d5c6e27ed6af40339f0be28f0c613fae4179c46 (patch) | |
tree | 3b05f731cf689d1dfc370d5e91b81e10cbcf5fa9 /time/strptime_l.c | |
parent | 79310b45afbbfae573312029298e8a7fc0b892a1 (diff) | |
download | glibc-9d5c6e27ed6af40339f0be28f0c613fae4179c46.tar.gz glibc-9d5c6e27ed6af40339f0be28f0c613fae4179c46.tar.xz glibc-9d5c6e27ed6af40339f0be28f0c613fae4179c46.zip |
x86: Fix for cache computation on AMD legacy cpus.
Some legacy AMD CPUs and hypervisors have the _cpuid_ '0x8000_001D' set to Zero, thus resulting in zeroed-out computed cache values. This patch reintroduces the old way of cache computation as a fail-safe option to handle these exceptions. Fixed 'level4_cache_size' value through handle_amd(). Reviewed-by: Premachandra Mallappa <premachandra.mallappa@amd.com> Tested-by: Florian Weimer <fweimer@redhat.com> (cherry picked from commit dcad5c8578130dec7f35fd5b0885304b59f9f543)
Diffstat (limited to 'time/strptime_l.c')
0 files changed, 0 insertions, 0 deletions