get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/137190/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 137190,
    "url": "https://patches.dpdk.org/api/patches/137190/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240226073810.19015-2-pbhagavatula@marvell.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": "<20240226073810.19015-2-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240226073810.19015-2-pbhagavatula@marvell.com",
    "date": "2024-02-26T07:38:09",
    "name": "[v6,2/3] config/arm: add support for fallback march",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4168abfa3fa78ee1037606567e04219b49b3d0d2",
    "submitter": {
        "id": 1183,
        "url": "https://patches.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.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/20240226073810.19015-2-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 31213,
            "url": "https://patches.dpdk.org/api/series/31213/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31213",
            "date": "2024-02-26T07:38:08",
            "name": "[v6,1/3] config/arm: avoid mcpu and march conflicts",
            "version": 6,
            "mbox": "https://patches.dpdk.org/series/31213/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/137190/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/137190/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 C2BBB43BE5;\n\tMon, 26 Feb 2024 08:38:31 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E7BA742DED;\n\tMon, 26 Feb 2024 08:38:30 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 9FAA042DEC\n for <dev@dpdk.org>; Mon, 26 Feb 2024 08:38:28 +0100 (CET)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id\n 41Q6jCJt007246; Sun, 25 Feb 2024 23:38:25 -0800",
            "from dc5-exch05.marvell.com ([199.233.59.128])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3wfepr4dth-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Sun, 25 Feb 2024 23:38:24 -0800 (PST)",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH05.marvell.com\n (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Sun, 25 Feb\n 2024 23:38:24 -0800",
            "from DC5-EXCH05.marvell.com (10.69.176.209) by\n DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id\n 15.0.1497.48; Sun, 25 Feb 2024 23:38:23 -0800",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com\n (10.69.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend\n Transport; Sun, 25 Feb 2024 23:38:23 -0800",
            "from MININT-80QBFE8.corp.innovium.com (MININT-80QBFE8.marvell.com\n [10.28.164.106])\n by maili.marvell.com (Postfix) with ESMTP id 164863F706F;\n Sun, 25 Feb 2024 23:38:19 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-type:content-transfer-encoding; s=\n pfpt0220; bh=fyQF7tPQuV4p46XQqMBeaqrodKqcFvtXYQE7471jkA4=; b=Frl\n hMW+iglBa7ORu8tLUeNE9l35+B0Z6hCLs+jXO+ZatwgjskVHa0UpsrEz5dEY50tg\n GIgnvTrvQJ5FYfChM9TeS7xWv1tObflwEh4K7GP8zrzTOvXH8NwFKnTGApIe6LmT\n dU89hAtfremUUr9wWSW0J8d3ikqc3No8pd9QWTw9YNqRkSNJI92yd353G2qglm0J\n GB/uUHJKS698gpF934PkqRelG1wHpyoWyEw1WkSOyKNZSjdKOh9eVefO8bVypIOm\n DQPoSBjlLXo/ctfTH3kmo90aKDKXRy399urBu3ZNb7kj5vworzvntYlDkZ7WxHPd\n /Eq51oEbZLhw0lyjRvg==",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<jerinj@marvell.com>, <juraj.linkes@pantheon.tech>, <nd@arm.com>,\n <wathsala.vithanage@arm.com>, Ruifeng Wang <ruifeng.wang@arm.com>, \"Bruce\n Richardson\" <bruce.richardson@intel.com>",
        "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>",
        "Subject": "[PATCH v6 2/3] config/arm: add support for fallback march",
        "Date": "Mon, 26 Feb 2024 13:08:09 +0530",
        "Message-ID": "<20240226073810.19015-2-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20240226073810.19015-1-pbhagavatula@marvell.com>",
        "References": "<20240222124503.17043-1-pbhagavatula@marvell.com>\n <20240226073810.19015-1-pbhagavatula@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-ORIG-GUID": "dGR6ls5uSfbsXdJtAKqAmc63Ynf2tu6p",
        "X-Proofpoint-GUID": "dGR6ls5uSfbsXdJtAKqAmc63Ynf2tu6p",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2024-02-26_04,2024-02-23_01,2023-05-22_02",
        "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": "From: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nSome ARM CPUs have specific march requirements and\nare not compatible with the supported march list.\nAdd fallback march in case the mcpu and the march\nadvertised in the part_number_config are not supported\nby the compiler.\n\nExample\n        mcpu = neoverse-n2\n        march = armv9-a\n        fallback_march = armv8.5-a\n\n        mcpu, march not supported\n        machine_args = ['-march=armv8.5-a']\n\n        mcpu, march, fallback_march not supported\n        least march supported = armv8-a\n\n        machine_args = ['-march=armv8-a']\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\nReviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\n---\n config/arm/meson.build | 6 ++++++\n 1 file changed, 6 insertions(+)\n\n--\n2.25.1",
    "diff": "diff --git a/config/arm/meson.build b/config/arm/meson.build\nindex 236ad3702d..7f856709ef 100644\n--- a/config/arm/meson.build\n+++ b/config/arm/meson.build\n@@ -94,6 +94,7 @@ part_number_config_arm = {\n     '0xd49': {\n         'march': 'armv9-a',\n         'march_features': ['sve2'],\n+        'fallback_march': 'armv8.5-a',\n         'mcpu': 'neoverse-n2',\n         'flags': [\n             ['RTE_MACHINE', '\"neoverse-n2\"'],\n@@ -741,6 +742,11 @@ if update_flags\n                     break\n                 endif\n             endforeach\n+            if (part_number_config.has_key('fallback_march') and\n+                candidate_march != part_number_config['march'] and\n+                cc.has_argument('-march=' + part_number_config['fallback_march']))\n+                    candidate_march = part_number_config['fallback_march']\n+            endif\n         endif\n\n         if candidate_march != part_number_config['march']\n",
    "prefixes": [
        "v6",
        "2/3"
    ]
}