Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82333/?format=api
https://patches.dpdk.org/api/patches/82333/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1603810749-22285-2-git-send-email-liang.j.ma@intel.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": "<1603810749-22285-2-git-send-email-liang.j.ma@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1603810749-22285-2-git-send-email-liang.j.ma@intel.com", "date": "2020-10-27T14:59:01", "name": "[v10,1/9] eal: add new x86 cpuid support for WAITPKG", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c97b4fe6e1a9662bbbc6fd8031c59c5c6967c9ce", "submitter": { "id": 904, "url": "https://patches.dpdk.org/api/people/904/?format=api", "name": "Liang, Ma", "email": "liang.j.ma@intel.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/1603810749-22285-2-git-send-email-liang.j.ma@intel.com/mbox/", "series": [ { "id": 13382, "url": "https://patches.dpdk.org/api/series/13382/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13382", "date": "2020-10-27T14:59:00", "name": "Add PMD power mgmt", "version": 10, "mbox": "https://patches.dpdk.org/series/13382/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/82333/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/82333/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 989D7A04B5;\n\tTue, 27 Oct 2020 15:59:36 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 902F858CD;\n\tTue, 27 Oct 2020 15:59:29 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 89B194C6C\n for <dev@dpdk.org>; Tue, 27 Oct 2020 15:59:28 +0100 (CET)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Oct 2020 07:59:26 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n by fmsmga007.fm.intel.com with ESMTP; 27 Oct 2020 07:59:23 -0700", "from sivswdev09.ir.intel.com (sivswdev09.ir.intel.com\n [10.237.217.48])\n by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n 09RExMaw015662; Tue, 27 Oct 2020 14:59:22 GMT", "from sivswdev09.ir.intel.com (localhost [127.0.0.1])\n by sivswdev09.ir.intel.com with ESMTP id 09RExMCM022511;\n Tue, 27 Oct 2020 14:59:22 GMT", "(from lma25@localhost)\n by sivswdev09.ir.intel.com with LOCAL id 09RExLfm022507;\n Tue, 27 Oct 2020 14:59:21 GMT" ], "IronPort-SDR": [ "\n LrwvJLCeLUAHh6cazQPw/Dlsb0eALTd2muwH5Y3df0HuFsMmkLNdq6mtePmM2colJ3Uz2+s+Oc\n 3JHBhtLwkI6A==", "\n qWZNHLYxr2o9lsSV7lZck0TUVJTsu5laT0TjKbXyV/Z2qubiMy8QqpJ4Er27qE90znODX1FELc\n fS3c9UxaoOiQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9786\"; a=\"167314023\"", "E=Sophos;i=\"5.77,424,1596524400\"; d=\"scan'208\";a=\"167314023\"", "E=Sophos;i=\"5.77,424,1596524400\"; d=\"scan'208\";a=\"303902984\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Liang Ma <liang.j.ma@intel.com>", "To": "dev@dpdk.org", "Cc": "ruifeng.wang@arm.com, haiyue.wang@intel.com, bruce.richardson@intel.com,\n konstantin.ananyev@intel.com, david.hunt@intel.com,\n jerinjacobk@gmail.com, nhorman@tuxdriver.com, thomas@monjalon.net,\n timothy.mcdaniel@intel.com, gage.eads@intel.com, mw@semihalf.com,\n gtzalik@amazon.com, ajit.khaparde@broadcom.com, hkalra@marvell.com,\n johndale@cisco.com, xavier.huwei@huawei.com, xuanziyang2@huawei.com,\n matan@nvidia.com, yongwang@vmware.com,\n Anatoly Burakov <anatoly.burakov@intel.com>", "Date": "Tue, 27 Oct 2020 14:59:01 +0000", "Message-Id": "<1603810749-22285-2-git-send-email-liang.j.ma@intel.com>", "X-Mailer": "git-send-email 1.7.7.4", "In-Reply-To": [ "<1603810749-22285-1-git-send-email-liang.j.ma@intel.com>", "<1603494392-7181-1-git-send-email-liang.j.ma@intel.com>" ], "References": [ "<1603810749-22285-1-git-send-email-liang.j.ma@intel.com>", "<1603494392-7181-1-git-send-email-liang.j.ma@intel.com>" ], "Subject": "[dpdk-dev] [PATCH v10 1/9] eal: add new x86 cpuid support for\n\tWAITPKG", "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 <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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add a new CPUID flag indicating processor support for UMONITOR/UMWAIT\nand TPAUSE instructions instruction.\n\nSigned-off-by: Liang Ma <liang.j.ma@intel.com>\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\n lib/librte_eal/x86/include/rte_cpuflags.h | 1 +\n lib/librte_eal/x86/rte_cpuflags.c | 2 ++\n 2 files changed, 3 insertions(+)", "diff": "diff --git a/lib/librte_eal/x86/include/rte_cpuflags.h b/lib/librte_eal/x86/include/rte_cpuflags.h\nindex c1d20364d1..848ba9cbfb 100644\n--- a/lib/librte_eal/x86/include/rte_cpuflags.h\n+++ b/lib/librte_eal/x86/include/rte_cpuflags.h\n@@ -132,6 +132,7 @@ enum rte_cpu_flag_t {\n \tRTE_CPUFLAG_MOVDIR64B, /**< Direct Store Instructions 64B */\n \tRTE_CPUFLAG_AVX512VP2INTERSECT, /**< AVX512 Two Register Intersection */\n \n+\tRTE_CPUFLAG_WAITPKG, /**< UMONITOR/UMWAIT/TPAUSE */\n \t/* The last item */\n \tRTE_CPUFLAG_NUMFLAGS, /**< This should always be the last! */\n };\ndiff --git a/lib/librte_eal/x86/rte_cpuflags.c b/lib/librte_eal/x86/rte_cpuflags.c\nindex 30439e7951..0325c4b93b 100644\n--- a/lib/librte_eal/x86/rte_cpuflags.c\n+++ b/lib/librte_eal/x86/rte_cpuflags.c\n@@ -110,6 +110,8 @@ const struct feature_entry rte_cpu_feature_table[] = {\n \tFEAT_DEF(AVX512F, 0x00000007, 0, RTE_REG_EBX, 16)\n \tFEAT_DEF(RDSEED, 0x00000007, 0, RTE_REG_EBX, 18)\n \n+\tFEAT_DEF(WAITPKG, 0x00000007, 0, RTE_REG_ECX, 5)\n+\n \tFEAT_DEF(LAHF_SAHF, 0x80000001, 0, RTE_REG_ECX, 0)\n \tFEAT_DEF(LZCNT, 0x80000001, 0, RTE_REG_ECX, 4)\n \n", "prefixes": [ "v10", "1/9" ] }{ "id": 82333, "url": "