[vfio-users] VFIO: DMAR kernel

MEHAN, MUNISH mm6021 at att.com
Thu May 5 15:40:29 UTC 2016


All,

 I am trying to load a vfio driver for the Intel VFs. I am seeing the following error from kernel. I tried all the grub options with iommu=on,iommu=pt, intel_iommu=on, intel_iommu=pt,isolcpus=2,4 etc.

Can someone suggest what can be issue here and how I can mitigate this.

[Wed May  4 12:13:47 2016] dmar: DMAR:[DMA Write] Request device [86:00.1] fault addr 1f3521a000
[Wed May  4 12:13:47 2016] DMAR:[fault reason 05] PTE Write access is not set
[Wed May  4 12:13:49 2016] dear: DMAR:[DMA Write] Request device [86:00.1] fault addr 1f35219000
[Wed May  4 12:13:49 2016] DMAR:[fault reason 05] PTE Write access is not set
[Wed May  4 12:13:49 2016] dmar: DMAR:[DMA Write] Request device [86:00.1] fault addr 1f35218000
[Wed May  4 12:13:49 2016] DMAR:[fault reason 05] PTE Write access is not set
[Wed May  4 12:13:51 2016] dmar: DMAR:[DMA Write] Request device [86:00.1] fault addr 1f35217000
[Wed May  4 12:13:51 2016] DMAR:[fault reason 05] PTE Write access is not set
[Wed May  4 12:13:53 2016] dmar: DMAR:[DMA Write] Request device [86:00.1] fault addr 1f35216000
[Wed May  4 12:13:53 2016] DMAR:[fault reason 05] PTE Write access is not set
[Wed May  4 12:13:55 2016] dmar: DMAR:[DMA Write] Request device [86:00.1] fault addr 1f35215000
[Wed May  4 12:13:55 2016] DMAR:[fault reason 05] PTE Write access is not set

86:00.1 Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter (rev 01)
Subsystem: Intel Corporation 10GbE 2P X520 Adapter
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, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 69
Region 0: Memory at c8b00000 (64-bit, non-prefetchable) [size=1M]
Region 2: I/O ports at 8000 [size=32]
Region 4: Memory at c8d00000 (64-bit, non-prefetchable) [size=16K]
Expansion ROM at <ignored> [disabled]
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=1 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Address: 0000000000000000  Data: 0000
Masking: 00000000  Pending: 00000000
Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
Vector table: BAR=4 offset=00000000
PBA: BAR=4 offset=00002000
Capabilities: [a0] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
DevCtl: Report errors: Correctable- Non-Fatal+ Fatal+ Unsupported+
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset-
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #2, Speed 5GT/s, Width x8, ASPM L0s, Exit Latency L0s unlimited, L1 <8us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 65ms to 210ms, TimeoutDis-, LTR-, OBFF Disabled
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [e0] Vital Product Data
Product Name: X520 10GbE Controller
Read-only fields:
[PN] Part number: XYT17
[MN] Manufacture ID: 31 30 32 38
[V0] Vendor specific: FFV16.5.20
[V1] Vendor specific: DSV1028VPDR.VER1.0
[V3] Vendor specific: DTINIC
[V4] Vendor specific: DCM10010081D521010081D5
[V5] Vendor specific: NPY2
[V6] Vendor specific: PMT12345678
[V7] Vendor specific: NMVIntel Corp
[RV] Reserved: checksum good, 0 byte(s) reserved
End
Capabilities: [100 v1] 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- NonFatalErr+
CEMsk: RxErr+ BadTLP+ BadDLLP+ Rollover+ Timeout+ NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn+ ChkCap+ ChkEn+
Capabilities: [140 v1] Device Serial Number 00-00-00-ff-ff-00-00-00
Capabilities: [150 v1] Alternative Routing-ID Interpretation (ARI)
ARICap: MFVC- ACS-, Next Function: 0
ARICtl: MFVC- ACS-, Function Group: 0
Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)
IOVCap: Migration-, Interrupt Message Number: 000
IOVCtl: Enable+ Migration- Interrupt- MSE+ ARIHierarchy-
IOVSta: Migration-
Initial VFs: 64, Total VFs: 64, Number of VFs: 32, Function Dependency Link: 01
VF offset: 128, stride: 2, Device ID: 10ed
Supported Page Size: 00000553, System Page Size: 00000001
Region 0: Memory at 00000000c8700000 (64-bit, prefetchable)
Region 3: Memory at 00000000c8800000 (64-bit, prefetchable)
VF Migration: offset: 00000000, BIR: 0
Kernel driver in use: vfio-pci

Thanks,
Munish Mehan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160505/697f677f/attachment.htm>


More information about the vfio-users mailing list