Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/44293/?format=api
https://patches.dpdk.org/api/patches/44293/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1536122382-26525-1-git-send-email-tone.zhang@arm.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1536122382-26525-1-git-send-email-tone.zhang@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1536122382-26525-1-git-send-email-tone.zhang@arm.com", "date": "2018-09-05T04:39:42", "name": "[v2] doc: Clarify IOMMU usage with \"uio_pci_generic\" kernel module", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "836aaf8f9654f1f7acd2ad82a56f73d728cec4a8", "submitter": { "id": 1116, "url": "https://patches.dpdk.org/api/people/1116/?format=api", "name": "tone.zhang", "email": "tone.zhang@arm.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1536122382-26525-1-git-send-email-tone.zhang@arm.com/mbox/", "series": [ { "id": 1181, "url": "https://patches.dpdk.org/api/series/1181/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1181", "date": "2018-09-05T04:39:42", "name": "[v2] doc: Clarify IOMMU usage with \"uio_pci_generic\" kernel module", "version": 2, "mbox": "https://patches.dpdk.org/series/1181/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/44293/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/44293/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 394ED1559;\n\tWed, 5 Sep 2018 06:40:10 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 02C1FF11\n\tfor <dev@dpdk.org>; Wed, 5 Sep 2018 06:40:08 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2745980D;\n\tTue, 4 Sep 2018 21:40:08 -0700 (PDT)", "from wls-arm-softiron03.shanghai.arm.com\n\t(wls-arm-softiron03.shanghai.arm.com [10.169.40.43])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t1556C3F614; Tue, 4 Sep 2018 21:40:06 -0700 (PDT)" ], "From": "\"tone.zhang\" <tone.zhang@arm.com>", "To": "dev@dpdk.org", "Cc": "gavin.hu@arm.com, bruce.richardson@intel.com, bluca@debian.org,\n\troszenrami@gmail.com, nd@arm.com", "Date": "Wed, 5 Sep 2018 12:39:42 +0800", "Message-Id": "<1536122382-26525-1-git-send-email-tone.zhang@arm.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1536051547-8797-1-git-send-email-tone.zhang@arm.com>", "References": "<1536051547-8797-1-git-send-email-tone.zhang@arm.com>", "Subject": "[dpdk-dev] [PATCH v2] doc: Clarify IOMMU usage with\n\t\"uio_pci_generic\" kernel module", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "If the devices used for DPDK are bound to the \"uio_pci_generic\" kernel\nmodule, the IOMMU should be disabled in order not to break the IO transmission\nbecause of the virtual / physical address mapping.\n\nThe patch clarifies the IOMMU configurations on both x86_64 and arm64\nsystems.\n\nSigned-off-by: tone.zhang <tone.zhang@arm.com>\n---\n doc/guides/linux_gsg/linux_drivers.rst | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst\nindex 371a817..b46fc6a 100644\n--- a/doc/guides/linux_gsg/linux_drivers.rst\n+++ b/doc/guides/linux_gsg/linux_drivers.rst\n@@ -48,6 +48,13 @@ be loaded as shown below:\n ``vfio-pci`` kernel module rather than ``igb_uio`` or ``uio_pci_generic``.\n For more details see :ref:`linux_gsg_binding_kernel` below.\n \n+.. note::\n+\n+ If the devices used for DPDK are bound to the ``uio_pci_generic`` kernel module,\n+ please make sure that the IOMMU is disabled. One can add ``intel_iommu=off`` or\n+ ``intel_iommu=pt`` or ``amd_iommu=off`` in GRUB command line on x86_64 systems,\n+ or add ``iommu.passthrough=1`` on arm64 system.\n+\n Since DPDK release 1.7 onward provides VFIO support, use of UIO is optional\n for platforms that support using VFIO.\n \n", "prefixes": [ "v2" ] }{ "id": 44293, "url": "