Message ID | cover.1707505012.git.fweimer@redhat.com (mailing list archive) |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 004FF3858C39 for <patchwork@sourceware.org>; Fri, 9 Feb 2024 19:08:48 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 30E2A3858D3C for <libc-alpha@sourceware.org>; Fri, 9 Feb 2024 19:08:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 30E2A3858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 30E2A3858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707505701; cv=none; b=L8eg5Ru7d3HiAx5/UfErB7IcjiA8YWKLoyIIjiwJ/gAXEDe9Mo9tm2BqYAu2dzLWrBror0wIiD6b+6SnewVBlSY+ql5+lnsTAPP9IONJcfQQYZinvvU5l2LAMKEKZXGf9EQuiI8Nqhat/NZ80ooxVLwn33lBR8h+8hSgJ1OQATA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707505701; c=relaxed/simple; bh=k/DukpxpXHx8cQZ5Q/6faMI6OMylhPE5TRI/879x5mo=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=VMI8mMlgCH55GqDMit3RWLDqYMIX65UAdPe29vyCnS7cBWYy4yIWDHcZf+waEtmSIpOlItJX5paFOzUtCAJ2qYJl89PE8ptuhJn64k8r82mUVPq14qfpO14jDH5BXEKPbh4Hz13PExWcfIybOiTlyD4iyf3lHO0P94RpXupYP7I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707505699; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=WiTiKtcmOdrj3CyBjixokAh6K8yuENJwWXQuqzaqq14=; b=gWXThOYfsdWJL3VO+8SoX5h7Yb6Gz99VnuGS+uGsIZ3NqhwXdqCHEF0/ZB2qQ8G4N4yExU N+UAun53pnc9Du542AUI5xmweQ2z0vfrn51uI7rkMKpOWQykGEl/IDrFWcdY3L9JaW7qK4 FcDUO4643IB5q+lakmFUFgDJwyDnHcs= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-294-PLDq4EcuM2Oh4MGYOa_-dg-1; Fri, 09 Feb 2024 14:08:16 -0500 X-MC-Unique: PLDq4EcuM2Oh4MGYOa_-dg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5B1EB1C06918; Fri, 9 Feb 2024 19:08:16 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.58]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 97F7A1C14B0C; Fri, 9 Feb 2024 19:08:15 +0000 (UTC) From: Florian Weimer <fweimer@redhat.com> To: libc-alpha@sourceware.org Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org> Subject: [PATCH 0/2] Enhanced x86 CPU diagnostics Message-ID: <cover.1707505012.git.fweimer@redhat.com> X-From-Line: 269f789e34149703b043898603acdaec3a58f3dc Mon Sep 17 00:00:00 2001 Date: Fri, 09 Feb 2024 20:08:13 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |
Series |
Enhanced x86 CPU diagnostics
|
|
Message
Florian Weimer
Feb. 9, 2024, 7:08 p.m. UTC
This is a repost of my brute-force CPUID dumper for the x86 architectures. Adhemerval, do you still have concerns about this? I think we need this diagnostic aid somewhere, so that people can figure out why their IFUNC resolvers etc. are not working as expected. We have a request for adding some AArch64 diagnostic data, too, although it is going to be much less. Thanks, Florian Florian Weimer (2): elf: Wire up _dl_diagnostics_cpu_kernel x86: Add generic CPUID data dumper to ld.so --list-diagnostics elf/Makefile | 1 + elf/dl-diagnostics-cpu-kernel.c | 24 + elf/dl-diagnostics.c | 1 + elf/dl-diagnostics.h | 4 + manual/dynlink.texi | 86 +++- .../linux/x86/dl-diagnostics-cpu-kernel.c | 457 ++++++++++++++++++ 6 files changed, 572 insertions(+), 1 deletion(-) create mode 100644 elf/dl-diagnostics-cpu-kernel.c create mode 100644 sysdeps/unix/sysv/linux/x86/dl-diagnostics-cpu-kernel.c base-commit: 15de3d17e1d9da5d38efb0a87a82efbc5bda732d