Bug 857 - DSA/IAA incremental backporting patches until upstream 5.18
Summary: DSA/IAA incremental backporting patches until upstream 5.18
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: x86_64 Linux
: P2-High S3-normal
Target Milestone: ---
Assignee: xunlei
QA Contact: shuming
URL:
Whiteboard:
Keywords: FeatureBackport
Depends on:
Blocks:
 
Reported: 2022-04-19 13:59 UTC by xiaochenshen
Modified: 2022-07-23 09:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xiaochenshen intel_group 2022-04-19 13:59:16 UTC
IDXD driver is the common driver framework of Intel Data Stream Accelerator (DSA) and Intel Analytics Accelerator (IAA). This patchset covers the incremental backporting kernel patches until upstream 5.18. It is also the follow-up of:
https://bugzilla.openanolis.cn/show_bug.cgi?id=22

The total patch number is 40+, includes:
1. ENQCMD re-enabling which is the dependency of Shared Work Queue.
2. IAA user header definitions updates with IAA spec 1.0.
3. IDXD driver refactoring and improvement.
4. IDXD driver bug fixing.
Comment 1 xiaochenshen intel_group 2022-04-20 11:16:33 UTC
The total patch number is 50+ now, it includes:
1. ENQCMD re-enabling which is the dependency of Shared Work Queue.
2. ENQCMD re-enabling related bug fixing.
3. IAA user header definitions updates with IAA spec 1.0.
4. IDXD driver refactoring and improvement.
5. IDXD driver bug fixing.
Comment 2 xiaochenshen intel_group 2022-04-21 06:40:36 UTC
Passed tests:
1. Unit tests: passed
- accel-config test
- accel-config dsa_user_test_runner.sh
- Kernel dmatest test (SVA disabled: "modprobe idxd sva=0")
- Intel internal DSA config test suite (dsa_config_bat_tests, dsa_config_func_tests, dsa_user_func_tests)
- Intel internal IAX config test suite (iax_config_bat_tests, iax_config_func_tests)
2. AMX regression test (kernel selftest: AMX, signal, TMUL func, xstate, xsave buffer context switch, onednn/amxstress): passed
3. Build successfully.
4. Boot test: passed.
5. Performance test done, no obvious issue found.

Kernel config:
1. Newly added kernel config:
   CONFIG_IOMMU_SVA=y
2. Recommended kernel config:
   CONFIG_IOMMU_SVA=y
   CONFIG_INTEL_IOMMU=y
   CONFIG_INTEL_IOMMU_SVM=y
   CONFIG_PCI_ATS=y
   CONFIG_PCI_PRI=y
   CONFIG_PCI_PASID=y
   CONFIG_INTEL_IDXD_BUS=m
   CONFIG_INTEL_IDXD=m
   # CONFIG_INTEL_IDXD_COMPAT is not set
   CONFIG_INTEL_IDXD_SVM=y
   CONFIG_DMA_ENGINE=y
   CONFIG_DMATEST=m
   CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON=y
   CONFIG_INTEL_IDXD_PERFMON=y
Comment 3 xiaochenshen intel_group 2022-04-23 10:59:54 UTC
The PR for anolis/cloud-kernel branch devel-5.10 has been already merged:
https://gitee.com/anolis/cloud-kernel/pulls/290

The PR for anolis/intel-cloud-kernel branch siov-5.10 has been submitted:
https://gitee.com/anolis/intel-cloud-kernel/pulls/5
Comment 4 xiaochenshen intel_group 2022-04-23 11:29:03 UTC
The PR for anolis/intel-cloud-kernel branch siov-5.10 has been already merged:
https://gitee.com/anolis/intel-cloud-kernel/pulls/5
Comment 5 xiaochenshen intel_group 2022-07-23 09:27:25 UTC
The PR for anolis/cloud-kernel branch devel-5.10 has been already merged:
https://gitee.com/anolis/cloud-kernel/pulls/290