Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/92025/?format=api
http://patches.dpdk.org/api/patches/92025/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1619095749-7948-6-git-send-email-juraj.linkes@pantheon.tech/", "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": "<1619095749-7948-6-git-send-email-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/1619095749-7948-6-git-send-email-juraj.linkes@pantheon.tech", "date": "2021-04-22T12:49:06", "name": "[v17,5/8] build: add aarch32 meson build flags", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "414920c36afbeafc61696891146663bd4bc9e3b8", "submitter": { "id": 1626, "url": "http://patches.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "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/1619095749-7948-6-git-send-email-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 16608, "url": "http://patches.dpdk.org/api/series/16608/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16608", "date": "2021-04-22T12:49:01", "name": "aarch64 -> aarch32 cross compilation support", "version": 17, "mbox": "http://patches.dpdk.org/series/16608/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/92025/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/92025/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 F267FA09E4;\n\tThu, 22 Apr 2021 14:49:53 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1CD9B41D78;\n\tThu, 22 Apr 2021 14:49:27 +0200 (CEST)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by mails.dpdk.org (Postfix) with ESMTP id EB26241D5E\n for <dev@dpdk.org>; Thu, 22 Apr 2021 14:49:22 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 7ABE6C5F6F;\n Thu, 22 Apr 2021 14:49:21 +0200 (CEST)", "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id DYvKkxL-QzD1; Thu, 22 Apr 2021 14:49:20 +0200 (CEST)", "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 73167C5F5E;\n Thu, 22 Apr 2021 14:49:16 +0200 (CEST)" ], "X-Virus-Scanned": "amavisd-new at siecit.sk", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "thomas@monjalon.net, david.marchand@redhat.com,\n bruce.richardson@intel.com,\n aconole@redhat.com, maicolgabriel@hotmail.com,\n Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, jerinj@marvell.com,\n viktorin@rehivetech.com, ajit.khaparde@broadcom.com", "Cc": "juraj.linkes@pantheon.tech,\n\tdev@dpdk.org", "Date": "Thu, 22 Apr 2021 14:49:06 +0200", "Message-Id": "<1619095749-7948-6-git-send-email-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1619095749-7948-1-git-send-email-juraj.linkes@pantheon.tech>", "References": "<1618995020-4775-1-git-send-email-juraj.linkes@pantheon.tech>\n <1619095749-7948-1-git-send-email-juraj.linkes@pantheon.tech>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v17 5/8] build: add aarch32 meson build flags", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add aarch32 extra build flags and aarch32 machine flags to generic\nmachine args.\nAlso modify how arm flags are updated in meson build - for 32-bit build,\nupdate only if cross-compiling.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\nAcked-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n config/arm/meson.build | 32 ++++++++++++++++++++++++++------\n 1 file changed, 26 insertions(+), 6 deletions(-)", "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 22cd81319c..f0da1b8cb9 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -67,7 +67,15 @@ part_number_config_arm = {\n ['RTE_MAX_LCORE', 64],\n ['RTE_MAX_NUMA_NODES', 1]\n ]\n- }\n+ },\n+ 'aarch32': {\n+ 'machine_args': ['-march=armv8-a',\n+ '-mfpu=neon'],\n+ 'flags': [\n+ ['RTE_ARCH_ARM_NEON_MEMCPY', false],\n+ ['RTE_ARCH_STRICT_ALIGN', true],\n+ ['RTE_ARCH_ARMv8_AARCH32', true]\n+ ]}\n }\n implementer_arm = {\n 'description': 'Arm',\n@@ -342,14 +350,25 @@ socs = {\n dpdk_conf.set('RTE_ARCH_ARM', 1)\n dpdk_conf.set('RTE_FORCE_INTRINSICS', 1)\n \n+update_flags = false\n+soc_flags = []\n if dpdk_conf.get('RTE_ARCH_32')\n- # armv7 build\n+ # 32-bit build\n dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)\n- dpdk_conf.set('RTE_ARCH_ARMv7', 1)\n- # the minimum architecture supported, armv7-a, needs the following,\n- machine_args += '-mfpu=neon'\n+ if meson.is_cross_build()\n+ update_flags = true\n+ implementer_id = meson.get_cross_property('implementer_id')\n+ part_number = meson.get_cross_property('part_number')\n+ flags_common = []\n+ else\n+ # armv7 build\n+ dpdk_conf.set('RTE_ARCH_ARMv7', true)\n+ # the minimum architecture supported, armv7-a, needs the following,\n+ machine_args += '-mfpu=neon'\n+ endif\n else\n # aarch64 build\n+ update_flags = true\n soc = get_option('platform')\n soc_config = {}\n if not meson.is_cross_build()\n@@ -386,7 +405,6 @@ else\n soc_config = socs.get(soc, {'not_supported': true})\n endif\n \n- soc_flags = []\n if soc_config.has_key('not_supported')\n error('SoC @0@ not supported.'.format(soc))\n elif soc_config != {}\n@@ -401,7 +419,9 @@ else\n disable_drivers += ',' + soc_config.get('disable_drivers', '')\n enable_drivers += ',' + soc_config.get('enable_drivers', '')\n endif\n+endif\n \n+if update_flags\n if implementers.has_key(implementer_id)\n implementer_config = implementers[implementer_id]\n else\n", "prefixes": [ "v17", "5/8" ] }{ "id": 92025, "url": "