Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130436/?format=api
http://patches.dpdk.org/api/patches/130436/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1692213549-11786-7-git-send-email-roretzla@linux.microsoft.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": "<1692213549-11786-7-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1692213549-11786-7-git-send-email-roretzla@linux.microsoft.com", "date": "2023-08-16T19:19:09", "name": "[v3,6/6] devtools: forbid new direct use of GCC atomic builtins", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "8c023c0f3a8f7206b4b1a0e5e3e92c2203c7b3bc", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.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/1692213549-11786-7-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 29254, "url": "http://patches.dpdk.org/api/series/29254/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29254", "date": "2023-08-16T19:19:03", "name": "RFC optional rte optional stdatomics API", "version": 3, "mbox": "http://patches.dpdk.org/series/29254/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/130436/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/130436/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 C785843085;\n\tWed, 16 Aug 2023 21:19:43 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AF18543272;\n\tWed, 16 Aug 2023 21:19:19 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 7862A4003C;\n Wed, 16 Aug 2023 21:19:12 +0200 (CEST)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 2839E211F7A0; Wed, 16 Aug 2023 12:19:10 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 2839E211F7A0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1692213551;\n bh=acHJyz7qGmo21qUhvbOOASh/Ow2AcTAGZZkaB9Xayt8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=TVFEYm2/+DJ5dD4GM7bxMQbpBIw5XOF6vGMRzWEIdamTmPew4LTsQMTW8/yd5RGZJ\n PuCOR8UWGWdZhM0Nn9h1JPOSyIkmbt9lfH10HwaW1PZGYnxcOkdeHgdMpD3w3B+LNL\n wncptjBCS+MkV4T21m79aM81G/OPAEtEFA2DceaQ=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "techboard@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Ruifeng Wang <ruifeng.wang@arm.com>, Jerin Jacob <jerinj@marvell.com>,\n Sunil Kumar Kori <skori@marvell.com>,\n =?utf-8?q?Mattias_R=C3=B6nnblom?= <mattias.ronnblom@ericsson.com>,\n Joyce Kong <joyce.kong@arm.com>, David Christensen <drc@linux.vnet.ibm.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n David Hunt <david.hunt@intel.com>, Thomas Monjalon <thomas@monjalon.net>,\n David Marchand <david.marchand@redhat.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH v3 6/6] devtools: forbid new direct use of GCC atomic builtins", "Date": "Wed, 16 Aug 2023 12:19:09 -0700", "Message-Id": "<1692213549-11786-7-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1692213549-11786-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1691717521-1025-1-git-send-email-roretzla@linux.microsoft.com>\n <1692213549-11786-1-git-send-email-roretzla@linux.microsoft.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "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": "Refrain from using compiler __atomic_xxx builtins DPDK now requires\nthe use of rte_atomic_<op>_explicit macros when operating on DPDK\natomic variables.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\nSuggested-by: Morten Brørup <mb@smartsharesystems.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n devtools/checkpatches.sh | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh\nindex 43f5e36..b15c3f7 100755\n--- a/devtools/checkpatches.sh\n+++ b/devtools/checkpatches.sh\n@@ -111,11 +111,11 @@ check_forbidden_additions() { # <patch>\n \t\t-f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \\\n \t\t\"$1\" || res=1\n \n-\t# refrain from using compiler __atomic_{add,and,nand,or,sub,xor}_fetch()\n+\t# refrain from using compiler __atomic_xxx builtins\n \tawk -v FOLDERS=\"lib drivers app examples\" \\\n-\t\t-v EXPRESSIONS=\"__atomic_(add|and|nand|or|sub|xor)_fetch\\\\\\(\" \\\n+\t\t-v EXPRESSIONS=\"__atomic_.*\\\\\\(\" \\\n \t\t-v RET_ON_FAIL=1 \\\n-\t\t-v MESSAGE='Using __atomic_op_fetch, prefer __atomic_fetch_op' \\\n+\t\t-v MESSAGE='Using __atomic_xxx builtins' \\\n \t\t-f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \\\n \t\t\"$1\" || res=1\n \n", "prefixes": [ "v3", "6/6" ] }{ "id": 130436, "url": "