Bug 4189 - Intel: Backport SST Fixes: aa2ddd242572
Summary: Intel: Backport SST Fixes: aa2ddd242572
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 13:41 UTC by jiayingbao
Modified: 2023-02-24 13:13 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jiayingbao intel_group 2023-02-23 13:41:49 UTC
Description of problem:
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: aa2ddd242572 ("platform/x86: ISST: Use numa node id for cpu pci dev mapping")

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 jiayingbao intel_group 2023-02-23 14:01:47 UTC
https://gitee.com/anolis/cloud-kernel/pulls/1244
Comment 2 jiayingbao intel_group 2023-02-24 13:13:23 UTC
PR merged