版本22.03 SP4。BIOS下设置"IIO eDPC Support"为"On Fatal Error",进入OS下查询PCIe设备配置空间的DPC控制寄存器Trigger Enable仍是00(Disabled),不知道啥原因,求助大神指点。(对比CentOS 8,内核4.18,是没这个问题)
[root@localhost ~]# lspci -xxxx -s 0000:af:02.0 | grep -i 1a0
1a0: 1d 00 01 15 e0 14 28 00 00 1f 00 00 01 00 01 00
[root@localhost ~]#[root@localhost ~]# lspci -vvv -s 0000:af:02.0 | grep -A 6 -i “Downstream Port Containment”
Capabilities: [1a0 v1] Downstream Port Containment
DpcCap: INT Msg #0, RPExt+ PoisonedTLP+ SwTrigger+ RP PIO Log 4, DL_ActiveErr+
DpcCtl: Trigger:0 Cmpl- INT+ ErrCor- PoisonedTLP+ SwTrigger- DL_ActiveErr-
DpcSta: Trigger- Reason:00 INT- RPBusy- TriggerExt:00 RP PIO ErrPtr:1f
Source: 0000
Capabilities: [150 v1] Precision Time Measurement
openEuler 22.03 LTS SP4(5.10 kernel)上kernel config CONFIG_PCIE_EDR默认没有打开,在CentOS8 4.18 kernel上默认是打开的。
openEuler上提交了一个PR来修复这个问题: