Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/108740/?format=api
http://patches.dpdk.org/api/patches/108740/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220316134551.1099599-4-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://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": "<20220316134551.1099599-4-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220316134551.1099599-4-bruce.richardson@intel.com", "date": "2022-03-16T13:45:45", "name": "[v2,3/9] doc: make UIO safety warning more visible in Linux GSG", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "ce3d20aa4b90ccd53e83843558ec2b7efba32f6c", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220316134551.1099599-4-bruce.richardson@intel.com/mbox/", "series": [ { "id": 22162, "url": "http://patches.dpdk.org/api/series/22162/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22162", "date": "2022-03-16T13:45:42", "name": "Improve Linux drivers GSG section", "version": 2, "mbox": "http://patches.dpdk.org/series/22162/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/108740/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/108740/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6ED84A0032;\n\tWed, 16 Mar 2022 14:46:24 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5E8764115F;\n\tWed, 16 Mar 2022 14:46:09 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 98802410EC;\n Wed, 16 Mar 2022 14:46:05 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Mar 2022 06:46:04 -0700", "from silpixa00399126.ir.intel.com ([10.237.223.34])\n by orsmga005.jf.intel.com with ESMTP; 16 Mar 2022 06:46:03 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1647438365; x=1678974365;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=I0SywmE4kawcto0DjwgmPxfnu/HH9iE033uSzVrxRI8=;\n b=G/AqMW4tfB2IAhZXHjwrXm/TARV/5hEVvlaai5Iiu1DJ3ZU+ek58xYMf\n ++9GfkRl4xjH/thrFZZKZKL/oeMUBbIaYEA7A5V+NR3ueuAGkfZVjJhQk\n zpgTCD2qZKc++td1wgPdiuT9hlqTFBDp0jLKqAeG98POxPaVDk6KBs9cp\n 8a1s30kTyJkVs9UKj/dDF7ubE64FgXkSBXTb0I1SmpoH70tddvpXFnoSU\n g9urC9DF3G9iQ1iES+QghShz9KS15NoRoSh/N8co1ae0u9qHaZ+sFxUEe\n nVnxxew8D863A9MHxSCrpWN0idku2oPkdsePjS6R5+hvxLhFhmsN1J9Kb w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10286\"; a=\"256780555\"", "E=Sophos;i=\"5.90,186,1643702400\"; d=\"scan'208\";a=\"256780555\"", "E=Sophos;i=\"5.90,186,1643702400\"; d=\"scan'208\";a=\"714606485\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n\tstable@dpdk.org", "Subject": "[PATCH v2 3/9] doc: make UIO safety warning more visible in Linux GSG", "Date": "Wed, 16 Mar 2022 13:45:45 +0000", "Message-Id": "<20220316134551.1099599-4-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.32.0", "In-Reply-To": "<20220316134551.1099599-1-bruce.richardson@intel.com>", "References": "<20220302172217.472279-1-bruce.richardson@intel.com>\n <20220316134551.1099599-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "The GSG has a note warning that use of UIO is inherently unsafe due to\nlack of IOMMU protection. However, this was only flagged as a \"NOTE\",\nmeaning it could easily be missed. Changing the rst tag from \"note\" to\n\"warning\" and moving it to the top of the UIO subsection makes this a\nlot more visible to users.\n\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n doc/guides/linux_gsg/linux_drivers.rst | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)\n\n--\n2.32.0", "diff": "diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst\nindex bd983b4d81..f0a274df6a 100644\n--- a/doc/guides/linux_gsg/linux_drivers.rst\n+++ b/doc/guides/linux_gsg/linux_drivers.rst\n@@ -153,6 +153,11 @@ After that, VFIO can be used with hardware devices as usual.\n UIO\n ---\n\n+.. warning::\n+\n+ Using UIO drivers is inherently unsafe due to this method lacking IOMMU protection,\n+ and can only be done by root user.\n+\n In situations where using VFIO is not an option, there are alternative drivers one can use.\n In many cases, the standard ``uio_pci_generic`` module included in the Linux kernel\n can be used as a substitute for VFIO. This module can be loaded using the command:\n@@ -195,11 +200,6 @@ It can be loaded as shown below:\n in GRUB command line on x86_64 systems,\n or add ``iommu.passthrough=1`` on aarch64 systems.\n\n-.. note::\n-\n- Using UIO drivers is inherently unsafe due to this method lacking IOMMU protection,\n- and can only be done by root user.\n-\n .. _bifurcated_driver:\n\n Bifurcated Driver\n", "prefixes": [ "v2", "3/9" ] }{ "id": 108740, "url": "