you use flr reset mode, this log is ok;you also use this following step to repruduce ras reset mode: root@ubuntu:~# busybox devmem 0x200141B01018 32 0x1 root@ubuntu:~# dmesg [49364.175033] {12}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 0 [49364.175058] {12}[Hardware Error]: event severity: recoverable [49364.175070] {12}[Hardware Error]: Error 0, type: recoverable [49364.194827] {12}[Hardware Error]: section_type: PCIe error [49364.200459] {12}[Hardware Error]: version: 4.0 [49364.205054] {12}[Hardware Error]: command: 0x0006, status: 0x0010 [49364.211291] {12}[Hardware Error]: device_id: 0000:b6:00.0 [49364.216837] {12}[Hardware Error]: slot: 0 [49364.221002] {12}[Hardware Error]: secondary_bus: 0x00 [49364.226202] {12}[Hardware Error]: vendor_id: 0x19e5, device_id: 0xa255 [49364.232872] {12}[Hardware Error]: class_code: 100000 [49364.238042] hisi_sec2 0000:b6:00.0: AER: aer_status: 0x00000000, aer_mask: 0x00000000 [49364.245841] hisi_sec2 0000:b6:00.0: AER: aer_layer=Transaction Layer, aer_agent=Receiver ID [49364.254165] hisi_sec2 0000:b6:00.0: AER: aer_uncor_severity: 0x00000000 [49364.260761] hisi_sec2 0000:b6:00.0: PCI error detected, state(=1)!! [49364.260768] hisi_sec2 0000:b6:00.0: sec_axi_rresp_err_rint [error status=0x1] found [49364.268398] hisi_sec2 0000:b6:00.0: Controller resetting... [49364.268557] hisi_sec2 0000:b6:00.0: QM_DFX_MB_CNT = 0x00000000 ---> 0x00000008 [49364.268566] hisi_sec2 0000:b6:00.0: SEC_PF_ABNORMAL_INT_SOURCE = 0x00000000 ---> 0x00000001 [49364.268572] hisi_sec2 0000:b6:00.0: SEC_RAS_NFE_ENABLE = 0x00000177 ---> 0x00000176 [49364.269819] hisi_sec2 0000:b6:00.0: Controller reset complete [49364.269841] pci 0000:b4:01.0: AER: device recovery successful [49365.162750] pci 0000:bd:03.5: Removing from iommu group 46 root@ubuntu:~# uname -r 5.12.0-rc4+
you use flr reset mode, this log is ok;you also use this following step to repruduce ras reset mode: Transaction Layer, aer_agent=Receiver ID rresp_err_ rint [error status=0x1] found ABNORMAL_ INT_SOURCE = 0x00000000 ---> 0x00000001
root@ubuntu:~# busybox devmem 0x200141B01018 32 0x1
root@ubuntu:~# dmesg
[49364.175033] {12}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 0
[49364.175058] {12}[Hardware Error]: event severity: recoverable
[49364.175070] {12}[Hardware Error]: Error 0, type: recoverable
[49364.194827] {12}[Hardware Error]: section_type: PCIe error
[49364.200459] {12}[Hardware Error]: version: 4.0
[49364.205054] {12}[Hardware Error]: command: 0x0006, status: 0x0010
[49364.211291] {12}[Hardware Error]: device_id: 0000:b6:00.0
[49364.216837] {12}[Hardware Error]: slot: 0
[49364.221002] {12}[Hardware Error]: secondary_bus: 0x00
[49364.226202] {12}[Hardware Error]: vendor_id: 0x19e5, device_id: 0xa255
[49364.232872] {12}[Hardware Error]: class_code: 100000
[49364.238042] hisi_sec2 0000:b6:00.0: AER: aer_status: 0x00000000, aer_mask: 0x00000000
[49364.245841] hisi_sec2 0000:b6:00.0: AER: aer_layer=
[49364.254165] hisi_sec2 0000:b6:00.0: AER: aer_uncor_severity: 0x00000000
[49364.260761] hisi_sec2 0000:b6:00.0: PCI error detected, state(=1)!!
[49364.260768] hisi_sec2 0000:b6:00.0: sec_axi_
[49364.268398] hisi_sec2 0000:b6:00.0: Controller resetting...
[49364.268557] hisi_sec2 0000:b6:00.0: QM_DFX_MB_CNT = 0x00000000 ---> 0x00000008
[49364.268566] hisi_sec2 0000:b6:00.0: SEC_PF_
[49364.268572] hisi_sec2 0000:b6:00.0: SEC_RAS_NFE_ENABLE = 0x00000177 ---> 0x00000176
[49364.269819] hisi_sec2 0000:b6:00.0: Controller reset complete
[49364.269841] pci 0000:b4:01.0: AER: device recovery successful
[49365.162750] pci 0000:bd:03.5: Removing from iommu group 46
root@ubuntu:~# uname -r
5.12.0-rc4+