linux/drivers/platform/x86/intel_speed_select_if
Srinivas Pandruvada d36d4a1d75 platform/x86: ISST: Fix optimization with use of numa
When numa is used to map CPU to PCI device, the optimized path to read
from cached data is not working and still calls _isst_if_get_pci_dev().

The reason is that when caching the mapping, numa information is not
available as it is read later. So move the assignment of
isst_cpu_info[cpu].numa_node before calling _isst_if_get_pci_dev().

Fixes: aa2ddd2425 ("platform/x86: ISST: Use numa node id for cpu pci dev mapping")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20210727165052.427238-1-srinivas.pandruvada@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-08-12 09:25:38 +02:00
..
isst_if_common.c platform/x86: ISST: Fix optimization with use of numa 2021-08-12 09:25:38 +02:00
isst_if_common.h platform/x86: ISST: Change PCI device macros 2020-12-07 16:10:12 +01:00
isst_if_mbox_msr.c platform/x86: Convert to new CPU match macros 2020-03-24 21:33:00 +01:00
isst_if_mbox_pci.c platform/x86: ISST: Account for increased timeout in some cases 2021-04-07 19:47:22 +02:00
isst_if_mmio.c platform/x86: ISST: Mark mmio_range_devid_0 and mmio_range_devid_1 with static keyword 2020-12-08 16:30:55 +01:00
Kconfig
Makefile platform/x86: ISST: Add Intel Speed Select mailbox interface via MSRs 2019-07-02 18:41:16 +03:00