[dpdk-dev,v2] doc/guides/rel_notes: Add known issue for IOMMU attributes read
Checks
Commit Message
Linux kernel 4.10.0 iommu attribute read error
Cc: stable@dpdk.org
Signed-off-by: Rosen Xu <rosen.xu@intel.com>
v2 updates:
Comments
> -----Original Message-----
> From: Xu, Rosen
> Sent: Wednesday, May 16, 2018 8:29 AM
> To: dev@dpdk.org
> Cc: Burakov, Anatoly <anatoly.burakov@intel.com>; gaetan.rivet@6wind.com;
> Mcnamara, John <john.mcnamara@intel.com>; Xu, Rosen <rosen.xu@intel.com>;
> Pei, Yulong <yulong.pei@intel.com>; stable@dpdk.org
> Subject: [PATCH v2] doc/guides/rel_notes: Add known issue for IOMMU
> attributes read
>
> Linux kernel 4.10.0 iommu attribute read error
>
> Cc: stable@dpdk.org
>
> Signed-off-by: Rosen Xu <rosen.xu@intel.com>
Could you open an Bugzilla defect for this and add it to the text.
Like this patch: http://dpdk.org/dev/patchwork/patch/40475/
Thanks,
John
> -----Original Message-----
> From: stable [mailto:stable-bounces@dpdk.org]
> Sent: Monday, May 28, 2018 4:31 PM
> To: Xu, Rosen <rosen.xu@intel.com>; dev@dpdk.org
> Cc: Burakov, Anatoly <anatoly.burakov@intel.com>; gaetan.rivet@6wind.com;
> Pei, Yulong <yulong.pei@intel.com>; stable@dpdk.org; Yigit, Ferruh
> <ferruh.yigit@intel.com>
> Subject: Re: [dpdk-stable] [PATCH v2] doc/guides/rel_notes: Add known
> issue for IOMMU attributes read
>
>
>
> > -----Original Message-----
> > From: Xu, Rosen
> > Sent: Wednesday, May 16, 2018 8:29 AM
> > To: dev@dpdk.org
> > Cc: Burakov, Anatoly <anatoly.burakov@intel.com>;
> > gaetan.rivet@6wind.com; Mcnamara, John <john.mcnamara@intel.com>; Xu,
> > Rosen <rosen.xu@intel.com>; Pei, Yulong <yulong.pei@intel.com>;
> > stable@dpdk.org
> > Subject: [PATCH v2] doc/guides/rel_notes: Add known issue for IOMMU
> > attributes read
> >
> > Linux kernel 4.10.0 iommu attribute read error
> >
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Rosen Xu <rosen.xu@intel.com>
>
>
> Could you open an Bugzilla defect for this and add it to the text.
>
> Like this patch: http://dpdk.org/dev/patchwork/patch/40475/
Actually, I changed my mind. This isn't quite the same as the other new, known issues, so there is no need to track it in Bugzilla or move it to the release note.
It is okay as is.
Acked-by: John McNamara <john.mcnamara@intel.com>
Hi Mcnamara and Kovacevic,
Could you apply this patch? Thanks a lot.
> -----Original Message-----
> From: Mcnamara, John
> Sent: Monday, May 28, 2018 23:37
> To: Xu, Rosen <rosen.xu@intel.com>; dev@dpdk.org
> Cc: Burakov, Anatoly <anatoly.burakov@intel.com>;
> gaetan.rivet@6wind.com; Pei, Yulong <yulong.pei@intel.com>;
> stable@dpdk.org; Yigit, Ferruh <ferruh.yigit@intel.com>
> Subject: RE: [PATCH v2] doc/guides/rel_notes: Add known issue for IOMMU
> attributes read
>
>
>
> > -----Original Message-----
> > From: stable [mailto:stable-bounces@dpdk.org]
> > Sent: Monday, May 28, 2018 4:31 PM
> > To: Xu, Rosen <rosen.xu@intel.com>; dev@dpdk.org
> > Cc: Burakov, Anatoly <anatoly.burakov@intel.com>;
> > gaetan.rivet@6wind.com; Pei, Yulong <yulong.pei@intel.com>;
> > stable@dpdk.org; Yigit, Ferruh <ferruh.yigit@intel.com>
> > Subject: Re: [dpdk-stable] [PATCH v2] doc/guides/rel_notes: Add known
> > issue for IOMMU attributes read
> >
> >
> >
> > > -----Original Message-----
> > > From: Xu, Rosen
> > > Sent: Wednesday, May 16, 2018 8:29 AM
> > > To: dev@dpdk.org
> > > Cc: Burakov, Anatoly <anatoly.burakov@intel.com>;
> > > gaetan.rivet@6wind.com; Mcnamara, John <john.mcnamara@intel.com>;
> > > Xu, Rosen <rosen.xu@intel.com>; Pei, Yulong <yulong.pei@intel.com>;
> > > stable@dpdk.org
> > > Subject: [PATCH v2] doc/guides/rel_notes: Add known issue for IOMMU
> > > attributes read
> > >
> > > Linux kernel 4.10.0 iommu attribute read error
> > >
> > > Cc: stable@dpdk.org
> > >
> > > Signed-off-by: Rosen Xu <rosen.xu@intel.com>
> >
> >
> > Could you open an Bugzilla defect for this and add it to the text.
> >
> > Like this patch: http://dpdk.org/dev/patchwork/patch/40475/
>
> Actually, I changed my mind. This isn't quite the same as the other new,
> known issues, so there is no need to track it in Bugzilla or move it to the
> release note.
>
> It is okay as is.
>
>
> Acked-by: John McNamara <john.mcnamara@intel.com>
>
> > > Linux kernel 4.10.0 iommu attribute read error
> > >
> > > Cc: stable@dpdk.org
> > >
> > > Signed-off-by: Rosen Xu <rosen.xu@intel.com>
> >
> >
> > Could you open an Bugzilla defect for this and add it to the text.
> >
> > Like this patch: http://dpdk.org/dev/patchwork/patch/40475/
>
> Actually, I changed my mind. This isn't quite the same as the other new, known issues, so there is no need to track it in Bugzilla or move it to the release note.
>
> It is okay as is.
>
> Acked-by: John McNamara <john.mcnamara@intel.com>
Applied, thanks
===========
- Fixed Anatoly comments
---
doc/guides/rel_notes/known_issues.rst | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
@@ -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.