aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorSajan Karumanchi <sajan.karumanchi@amd.com>2023-08-01 15:20:55 +0000
committerPrem Mallappa <Premachandra.Mallappa@amd.com>2023-08-06 19:18:44 +0530
commitced101ed9d3b7cfd12d97ef24940cb00b8658c81 (patch)
tree1766b2f44b3a6fb8b034844225ca7be9bc1ba3ee /nscd
parentd97cca1e5df812be0e4de1e38091f02bb1e7ec4e (diff)
downloadglibc-ced101ed9d3b7cfd12d97ef24940cb00b8658c81.zip
glibc-ced101ed9d3b7cfd12d97ef24940cb00b8658c81.tar.gz
glibc-ced101ed9d3b7cfd12d97ef24940cb00b8658c81.tar.bz2
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>
Diffstat (limited to 'nscd')
0 files changed, 0 insertions, 0 deletions