patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] doc/guides/rel_notes: Add known issue for IOMMU attributes read
@ 2018-05-14 10:44 Rosen Xu
  2018-05-14 17:10 ` Burakov, Anatoly
  2018-05-16  7:29 ` [dpdk-stable] [PATCH v2] " Rosen Xu
  0 siblings, 2 replies; 9+ messages in thread
From: Rosen Xu @ 2018-05-14 10:44 UTC (permalink / raw)
  To: dev
  Cc: anatoly.burakov, gaetan.rivet, john.mcnamara, rosen.xu,
	yulong.pei, stable

Read IOMMU attributes from linux kernle 4.10.0 error.

Cc: stable@dpdk.org

Signed-off-by: Rosen Xu <rosen.xu@intel.com>
---
 doc/guides/rel_notes/known_issues.rst | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index afcc2c4..74876ff 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -714,3 +714,24 @@ igb_uio can not be used when running l3fwd-power
 
 **Driver/Module**:
    ``igb_uio`` module.
+
+
+linux kernel iommu attribute read error
+---------------------------------------
+
+**Description**:
+   Read immu attributes from /sys/devices/virtual/iommu/dmarXXX/intel-iommu/cap in linux kernel
+   4.10.0 error. That because the link between the iommu sysfs-device and the struct intel_iommu
+   is no longer stored as driver-data.
+
+**Implication**:
+   When insmod ``vfio-pci`` and running testpmd APP, it doesn't initiate properly.
+
+**Resolution/Workaround**:
+   Use other linux kernel version. It only happens in linux kernel 4.10.0.
+
+**Affected Environment/Platform**:
+   ALL OS of linux kernel 4.10.0.
+
+**Driver/Module**:
+   ``vfio-pci`` module.
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [dpdk-stable] [PATCH v2] doc/guides/rel_notes: Add known issue for IOMMU attributes read
@ 2018-05-16  7:05 Rosen Xu
  0 siblings, 0 replies; 9+ messages in thread
From: Rosen Xu @ 2018-05-16  7:05 UTC (permalink / raw)
  To: rosen.xu; +Cc: stable

Linux kernel 4.10.0 iommu attribute read error

Cc: stable@dpdk.org

Signed-off-by: Rosen Xu <rosen.xu@intel.com>

v2 updates:
===========
 - Fixed Anatoly comments
---
 doc/guides/rel_notes/known_issues.rst | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index afcc2c4..716bd73 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -714,3 +714,28 @@ igb_uio can not be used when running l3fwd-power
 
 **Driver/Module**:
    ``igb_uio`` module.
+
+
+Linux kernel 4.10.0 iommu attribute read error
+----------------------------------------------
+
+**Description**:
+   When VT-d is enabled (``iommu=pt intel_iommu=on``), reading IOMMU attributes from
+   /sys/devices/virtual/iommu/dmarXXX/intel-iommu/cap on Linux kernel 4.10.0 error.
+   This bug is fixed in `Linux commmit a7fdb6e648fb
+   <https://patchwork.kernel.org/patch/9595727/>`_,
+   This bug is introduced in `Linux commmit 39ab9555c241
+   <https://patchwork.kernel.org/patch/9554403/>`_,
+
+**Implication**:
+   When binding devices to VFIO and attempting to run testpmd application,
+   testpmd (and other DPDK applications) will not initialize.
+
+**Resolution/Workaround**:
+   Use other linux kernel version. It only happens in linux kernel 4.10.0.
+
+**Affected Environment/Platform**:
+   ALL OS of linux kernel 4.10.0.
+
+**Driver/Module**:
+   ``vfio-pci`` module.
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-30 12:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 10:44 [dpdk-stable] [PATCH] doc/guides/rel_notes: Add known issue for IOMMU attributes read Rosen Xu
2018-05-14 17:10 ` Burakov, Anatoly
2018-05-16  6:08   ` Xu, Rosen
2018-05-16  7:29 ` [dpdk-stable] [PATCH v2] " Rosen Xu
2018-05-28 15:31   ` Mcnamara, John
2018-05-28 15:36     ` Mcnamara, John
2018-05-29  0:25       ` Xu, Rosen
2018-05-30 12:04       ` Thomas Monjalon
2018-05-16  7:05 Rosen Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).