Backport for 2.38: commit ced101ed9d3b7cfd12d97ef24940cb00b8658c81 Author: Sajan Karumanchi <sajan.karuman...@amd.com> Date: Tue Aug 1 15:20:55 2023 +0000
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.malla...@amd.com> Tested-by: Florian Weimer <fwei...@redhat.com> Backport for 2.37: commit 9d5c6e27ed6af40339f0be28f0c613fae4179c46 Author: Sajan Karumanchi <sajan.karuman...@amd.com> Date: Tue Aug 1 15:20:55 2023 +0000 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.malla...@amd.com> Tested-by: Florian Weimer <fwei...@redhat.com> (cherry picked from commit dcad5c8578130dec7f35fd5b0885304b59f9f543) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2016252 Title: qemu-system-x86_64 crashes inside nested VM To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/2016252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs