Skip to content

Draft: platform/x86: ISST: Remove 8 socket limit

Frank Ramsay requested to merge framsay1234/centos-stream-9:bz2210302_001 into main

From: Frank Ramsay framsay@redhat.com

Subject: platform/x86: ISST: Remove 8 socket limit

Bugzilla: https://bugzilla.redhat.com/2210302

commit bbb320bfe2c3e9740fe89cfa0a7089b4e8bfc4ff Author: Steve Wahl steve.wahl@hpe.com Date: Fri May 19 11:04:20 2023 -0500

platform/x86: ISST: Remove 8 socket limit

Stop restricting the PCI search to a range of PCI domains fed to
pci_get_domain_bus_and_slot().  Instead, use for_each_pci_dev() and
look at all PCI domains in one pass.

On systems with more than 8 sockets, this avoids error messages like
"Information: Invalid level, Can't get TDP control information at
specified levels on cpu 480" from the intel speed select utility.

Fixes: aa2ddd242572 ("platform/x86: ISST: Use numa node id for cpu pci dev mapping")
Signed-off-by: Steve Wahl <steve.wahl@hpe.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230519160420.2588475-1-steve.wahl@hpe.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Signed-off-by: Frank Ramsay framsay@redhat.com

Edited by Frank Ramsay

Merge request reports

Loading