[0/2] Enhanced x86 CPU diagnostics

Message ID cover.1707505012.git.fweimer@redhat.com
Headers
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