RE: [PATCH] EDAC/{i10nm,skx,skx_common}: Support multiple clumps

Luck, Tony
2024-12-10T17:51:08Z

> > What we need here is a function that maps from a PCIe device to a CPU socket.
> >
> > Has this problem been encountered before? Is there an existing solution?
>
> There's nothing in PCI itself that connects a device to a CPU. It
> sounds like something that might fit with an ACPI NUMA description,
> e.g., if a CPU and a PCI host bridge had the same ACPI _PXM value, you
> could conclude that the devices below the host bridge are close to the
> CPU.

Bjorn,

Thanks for looking. Kyle already has code that does an ACPI NUMA lookup.

But that doesn't work on system where Linux is compiled with CONFIG_NUMA=n,
booted with numa=off, or on a system where BIOS option for "Unified memory mode"
has been selected.

-Tony