尝试关闭SMMU后, 驱动出现会出现周期性报错
[ 25.442800] Disable interrupt bit = 0x3 set failed!
[ 25.442821] Disable interrupt bit = 0x3 set failed!
[ 25.442828] virt_sipa virt_sipa: sipa overflow on ep
[ 25.442964] Disable interrupt bit = 0x3 set failed!
[ 25.442974] Disable interrupt bit = 0x3 set failed!
[ 25.442976] virt_sipa virt_sipa: sipa overflow on ep
[ 25.443067] virt_sipa virt_sipa: phy addr is null = 0
[ 25.443112] update tx fifo rptr fail !!!
[ 25.443117] virt_sipa virt_sipa: recv addr is null, but recv_array addr:0x2fbfe0800
[ 25.443120] sipa_dummy: sipa no data
[ 25.443327] pcieport 0009:00:00.0: AER: Multiple Corrected error received: 0009:00:00.0
[ 25.443408] pcieport 0009:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 25.443411] pcieport 0009:00:00.0: device [10de:229c] error status/mask=00000001/0000e000
[ 25.443415] pcieport 0009:00:00.0: [ 0] RxErr (First)
[ 25.443461] pcieport 0009:00:00.0: AER: Multiple Uncorrected (Fatal) error received: 0009:00:00.0
[ 25.443510] pcieport 0009:00:00.0: PCIe Bus Error: severity=Uncorrected (Fatal), type=Transaction Layer, (Requester ID)
[ 25.443517] pcieport 0009:00:00.0: device [10de:229c] error status/mask=00004020/00400000
[ 25.443520] pcieport 0009:00:00.0: [ 5] SDES (First)
[ 25.443528] pcieport 0009:00:00.0: [14] CmpltTO
[ 25.443542] sprd-pcie-ep-device 0009:01:00.0: AER: can't recover (no error_detected callback)
[ 25.446086] usb 1-2.3: USB disconnect, device number 4
[ 25.447131] rndis_host 1-2.3:1.0 usb2: unregister 'rndis_host' usb-3610000.usb-2.3, RNDIS device
[ 25.448195] tegra-xusb 3610000.usb: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 4
[ 25.448201] tegra-xusb 3610000.usb: Looking for event-dma 0000007ffffbb190 trb-start 0000007ffffbb1a0 trb-end 0000007ffffbb210 seg-start 0000007ffffbb000 seg-end 0000007ffffbbff0
[ 25.448330] tegra-xusb 3610000.usb: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 4
[ 25.448333] tegra-xusb 3610000.usb: Looking for event-dma 0000007ffffbb190 trb-start 0000007ffffbb1a0 trb-end 0000007ffffbb2d0 seg-start 0000007ffffbb000 seg-end 0000007ffffbbff0
[ 25.488820] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 25.488863] option 1-2.3:1.2: device disconnected
[ 25.489335] option1 ttyUSB10: GSM modem (1-port) converter now disconnected from ttyUSB10
[ 25.489378] option 1-2.3:1.3: device disconnected
[ 25.500436] option1 ttyUSB11: GSM modem (1-port) converter now disconnected from ttyUSB11
[ 25.500565] option 1-2.3:1.4: device disconnected
[ 25.507257] option1 ttyUSB12: GSM modem (1-port) converter now disconnected from ttyUSB12
[ 25.507309] option 1-2.3:1.5: device disconnected
[ 25.514853] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 25.514903] option 1-2.3:1.6: device disconnected
[ 25.587803] pcieport 0009:00:00.0: AER: Root Port link has been reset (0)
[ 25.587864] pcieport 0009:00:00.0: AER: device recovery failed
[ 39.987783] usb 1-2.3: new high-speed USB device number 5 using tegra-xusb
[ 40.108909] rndis_host 1-2.3:1.0 usb2: register 'rndis_host' at usb-3610000.usb-2.3, RNDIS device, 86:1b:18:bf:f8:86
[ 40.109871] option 1-2.3:1.2: GSM modem (1-port) converter detected
[ 40.110089] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 40.110281] option 1-2.3:1.3: GSM modem (1-port) converter detected
[ 40.110528] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB10
[ 40.110813] option 1-2.3:1.4: GSM modem (1-port) converter detected
[ 40.111046] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB11
[ 40.111226] option 1-2.3:1.5: GSM modem (1-port) converter detected
[ 40.111405] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB12
[ 40.111634] option 1-2.3:1.6: GSM modem (1-port) converter detected
[ 40.111853] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB13
[ 100.040764] Disable interrupt bit = 0x3 set failed!
[ 100.040785] Disable interrupt bit = 0x3 set failed!
[ 100.040791] virt_sipa virt_sipa: sipa overflow on ep
[ 100.040901] Disable interrupt bit = 0x3 set failed!
[ 100.040912] Disable interrupt bit = 0x3 set failed!
[ 100.040915] virt_sipa virt_sipa: sipa overflow on ep
[ 100.040970] virt_sipa virt_sipa: phy addr is null = 0
[ 100.040991] update tx fifo rptr fail !!!
[ 100.040997] virt_sipa virt_sipa: recv addr is null, but recv_array addr:0x2fbfe1000
[ 100.041003] sipa_dummy: sipa no data
[ 100.041091] pcieport 0009:00:00.0: AER: Multiple Corrected error received: 0009:00:00.0
[ 100.041141] pcieport 0009:00:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 100.041145] pcieport 0009:00:00.0: device [10de:229c] error status/mask=00000001/0000e000
[ 100.041155] pcieport 0009:00:00.0: [ 0] RxErr (First)
[ 100.041172] pcieport 0009:00:00.0: AER: Multiple Uncorrected (Fatal) error received: 0009:00:00.0
[ 100.041237] pcieport 0009:00:00.0: PCIe Bus Error: severity=Uncorrected (Fatal), type=Transaction Layer, (Requester ID)
[ 100.041239] pcieport 0009:00:00.0: device [10de:229c] error status/mask=00004020/00400000
[ 100.041242] pcieport 0009:00:00.0: [ 5] SDES (First)
[ 100.041244] pcieport 0009:00:00.0: [14] CmpltTO
[ 100.041253] sprd-pcie-ep-device 0009:01:00.0: AER: can't recover (no error_detected callback)
[ 100.181838] usb 1-2.3: USB disconnect, device number 5
[ 100.182256] rndis_host 1-2.3:1.0 usb2: unregister 'rndis_host' usb-3610000.usb-2.3, RNDIS device
[ 100.187823] pcieport 0009:00:00.0: AER: Root Port link has been reset (0)
[ 100.187865] pcieport 0009:00:00.0: AER: device recovery failed
[ 100.220687] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 100.220755] option 1-2.3:1.2: device disconnected
[ 100.222587] option1 ttyUSB10: GSM modem (1-port) converter now disconnected from ttyUSB10
[ 100.222648] option 1-2.3:1.3: device disconnected
[ 100.223447] option1 ttyUSB11: GSM modem (1-port) converter now disconnected from ttyUSB11
[ 100.223515] option 1-2.3:1.4: device disconnected
[ 100.229085] option1 ttyUSB12: GSM modem (1-port) converter now disconnected from ttyUSB12
[ 100.229145] option 1-2.3:1.5: device disconnected
[ 100.234084] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 100.234130] option 1-2.3:1.6: device disconnected
[ 114.740067] usb 1-2.3: new high-speed USB device number 6 using tegra-xusb
[ 114.859654] rndis_host 1-2.3:1.0 usb2: register 'rndis_host' at usb-3610000.usb-2.3, RNDIS device, 76:a3:ef:a0:e1:68
[ 114.860768] option 1-2.3:1.2: GSM modem (1-port) converter detected
[ 114.861308] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 114.861583] option 1-2.3:1.3: GSM modem (1-port) converter detected
[ 114.861890] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB10
[ 114.863659] option 1-2.3:1.4: GSM modem (1-port) converter detected
[ 114.863951] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB11
[ 114.864241] option 1-2.3:1.5: GSM modem (1-port) converter detected
[ 114.864450] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB12
[ 114.866269] option 1-2.3:1.6: GSM modem (1-port) converter detected
[ 114.866757] usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB13
stty_nr31可打开, 但是无法正常访问拨号(打开后卡死)
附上详细的lspci -vvv信息
0009:00:00.0 PCI bridge: NVIDIA Corporation Device 229c (rev a1) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR+ <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 191
Bus: primary=00, secondary=01, subordinate=ff, sec-latency=0
I/O behind bridge: 0000f000-00000fff [disabled]
Memory behind bridge: 40000000-40dfffff [size=14M]
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Address: 0000000000000000 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [70] Express (v2) Root Port (Slot-), MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <64us
ClockPM- Surprise+ LLActRep+ BwNot+ ASPMOptComp+
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt-
LnkSta: Speed 5GT/s (downgraded), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt+
RootCap: CRSVisible+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible+
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP+ LTR+
10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd+
AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, ARIFwd-
AtomicOpsCtl: ReqEn- EgressBlck-
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: Downstream Port
Capabilities: [b0] MSI-X: Enable- Count=8 Masked-
Vector table: BAR=2 offset=00000000
PBA: BAR=2 offset=00010000
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES+ TLP- FCP- CmpltTO+ CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 05, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap+ MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
RootCmd: CERptEn+ NFERptEn+ FERptEn+
RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
FirstFatal- NonFatalMsg- FatalMsg- IntMsg 0
ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
Capabilities: [148 v1] Secondary PCI Express
LnkCtl3: LnkEquIntrruptEn- PerformEqu-
LaneErrStat: 0
Capabilities: [168 v1] Physical Layer 16.0 GT/s <?>
Capabilities: [18c v1] Lane Margining at the Receiver <?>
Capabilities: [1ac v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2- ASPM_L1.1- L1_PM_Substates+
PortCommonModeRestoreTime=60us PortTPowerOnTime=40us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=60us
L1SubCtl2: T_PwrOn=40us
Capabilities: [1bc v1] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Capabilities: [2bc v1] Vendor Specific Information: ID=0001 Rev=1 Len=038 <?>
Capabilities: [2f4 v1] Data Link Feature <?>
Capabilities: [300 v1] Precision Time Measurement
PTMCap: Requester:+ Responder:+ Root:+
PTMClockGranularity: 16ns
PTMControl: Enabled:- RootSelected:-
PTMEffectiveGranularity: Unknown
Capabilities: [30c v1] Vendor Specific Information: ID=0004 Rev=1 Len=054 <?>
Capabilities: [374 v1] Vendor Specific Information: ID=0006 Rev=0 Len=018 <?>
Kernel driver in use: pcieport
Kernel modules: tegra_pcie_dma_test
0009:01:00.0 Wireless controller: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 191
Region 0: Memory at 3828000000 (32-bit, prefetchable) [virtual] [size=4M]
Region 1: Memory at 3828c00000 (32-bit, non-prefetchable) [virtual] [size=64K]
Region 2: Memory at 3828400000 (32-bit, prefetchable) [virtual] [size=4M]
Region 3: Memory at 3828c10000 (32-bit, non-prefetchable) [virtual] [size=64K]
Region 4: Memory at 3828800000 (32-bit, non-prefetchable) [virtual] [size=4M]
Region 5: Memory at 3828c20000 (32-bit, non-prefetchable) [virtual] [size=64K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1+,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit+
Address: 0000000000000000 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, L1 <2us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <256ns, L1 <2us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5-5GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [b0] MSI-X: Enable- Count=65 Masked-
Vector table: BAR=5 offset=00000000
PBA: BAR=5 offset=00002000
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 14, ECRCGenCap- ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 40000001 0000000f 40c009b0 00000000
Capabilities: [148 v1] Latency Tolerance Reporting
Max snoop latency: 0ns
Max no snoop latency: 0ns
Capabilities: [150 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=10us PortTPowerOnTime=10us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Capabilities: [160 v1] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Capabilities: [260 v1] Physical Resizable BAR
BAR 0: current size: 64MB, supported: 4MB 8MB 16MB 64MB
BAR 2: current size: 32MB, supported: 4MB 8MB 16MB 32MB
BAR 4: current size: 1MB, supported: 1MB
Kernel driver in use: sprd-pcie-ep-device