DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: Add known issue for iommu and igb_uio
@ 2014-12-12 10:41 Sergio Gonzalez Monroy
  2014-12-12 12:06 ` [dpdk-dev] [PATCH v2] doc: add " Sergio Gonzalez Monroy
  0 siblings, 1 reply; 11+ messages in thread
From: Sergio Gonzalez Monroy @ 2014-12-12 10:41 UTC (permalink / raw)
  To: dev

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 4703 bytes --]

Known issue regarding iommu/VT-d and igb_uio on Linux kernel version
3.15 to 3.17 where unbinding the device from the driver removes the 1:1
mapping for the device on the iommu resulting in memory access errors.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
---
 doc/guides/rel_notes/known_issues.rst | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/doc/guides/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index 8ef654a..72bd0de 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -1026,3 +1026,35 @@ Stopping the port does not down the link on Intel® 40G ethernet controller
 | Driver/Module                  | Poll Mode Driver (PMD)                                                               |
 |                                |                                                                                      |
 +--------------------------------+--------------------------------------------------------------------------------------+
+
+Devices bound to igb_uio with VT-d enabled do not work on Linux* kernel 3.15-3.17
+---------------------------------------------------------------------------------
+
++--------------------------------+--------------------------------------------------------------------------------------+
+| Title                          | Devices bound to igb_uio with VT-d enabled do not work on Linux* kernel 3.15-3.17    |
+|                                |                                                                                      |
++================================+======================================================================================+
+| Reference #                    | IXA00373938                                                                          |
+|                                |                                                                                      |
++--------------------------------+--------------------------------------------------------------------------------------+
+| Description                    | When VT-d is enabled (iommu=pt intel_iommu=on), devices are 1:1 mapped.              |
+|                                | In the Linux* kernel unbinding devices from drivers removes that mapping which       |
+|                                | result in IOMMU errors.                                                              |
+|                                |                                                                                      |
++--------------------------------+--------------------------------------------------------------------------------------+
+| Implication                    | Devices will not be allowed to access memory.                                        |
+|                                |                                                                                      |
++--------------------------------+--------------------------------------------------------------------------------------+
+| Resolution/ Workaround         | Use earlier or later kernel versions, or avoid driver binding on boot by             |
+|                                | blacklisting the driver modules.                                                     |
+|                                | ie. in the case of ixgbe, we can pass the kernel command line option:                |
+|                                |     modprobe.blacklist=ixgbe                                                         |
+|                                | This way we do not need to unbind the device to bind it to igb_uio.                  |
+|                                |                                                                                      |
++--------------------------------+--------------------------------------------------------------------------------------+
+| Affected Environment/ Platform | Linux* systems with kernel versions 3.15 to 3.17                                     |
+|                                |                                                                                      |
++--------------------------------+--------------------------------------------------------------------------------------+
+| Driver/Module                  | igb_uio module                                                                       |
+|                                |                                                                                      |
++--------------------------------+--------------------------------------------------------------------------------------+
-- 
1.9.3

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

end of thread, other threads:[~2014-12-17 10:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-12 10:41 [dpdk-dev] [PATCH] doc: Add known issue for iommu and igb_uio Sergio Gonzalez Monroy
2014-12-12 12:06 ` [dpdk-dev] [PATCH v2] doc: add " Sergio Gonzalez Monroy
2014-12-12 12:59   ` Nicolas Dichtel
2014-12-12 13:20     ` Gonzalez Monroy, Sergio
2014-12-12 13:28       ` Nicolas Dichtel
2014-12-12 13:38         ` Gonzalez Monroy, Sergio
2014-12-12 13:50           ` Nicolas Dichtel
2014-12-12 16:34             ` Thomas Monjalon
2014-12-12 14:43   ` [dpdk-dev] [PATCH v3] " Sergio Gonzalez Monroy
2014-12-15 10:32     ` [dpdk-dev] [PATCH v4] " Sergio Gonzalez Monroy
2014-12-17 10:01       ` Iremonger, Bernard

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).