From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 145B23858284; Thu, 14 Sep 2023 20:48:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 145B23858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694724517; bh=h7fEnS6Ej22X0MnZ7QZDgGnVcm+nyaDtIbVAdCs1zAM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RLyxaZsaztxkCDThQHF9pZRkyTe6DHBws7qrAhgBCoVntTdYuP/IWJ1SrZR5QB8B/ 7iBNM5z34PSCamdTeTghL3X/TWoCLVxfhUpT5KWNjlhFdPl9VO5Qpt71U5QDKEBZF+ 4/A0/726PIY34J3JcoTubT/Os673v9L3wNMIA2MM= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30428] New AMD cache size computation logic does not work for some CPUs, hypervisors Date: Thu, 14 Sep 2023 20:48:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.39 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30428 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.39 --- Comment #4 from Florian Weimer --- Fixed for 2.39 via: commit dcad5c8578130dec7f35fd5b0885304b59f9f543 Author: Sajan Karumanchi 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 Tested-by: Florian Weimer It seems that we are still missing the backport to 2.37. --=20 You are receiving this mail because: You are on the CC list for the bug.=