get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 100623,
    "url": "http://patches.dpdk.org/api/patches/100623/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211006121022.27119-11-nipun.gupta@nxp.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": "<20211006121022.27119-11-nipun.gupta@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211006121022.27119-11-nipun.gupta@nxp.com",
    "date": "2021-10-06T12:10:22",
    "name": "[v2,10/10] common/dpaax: fix paddr to vaddr invalid conversion",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f091a3bdab6a0ef3522710b3d7eb417a72bdb74a",
    "submitter": {
        "id": 471,
        "url": "http://patches.dpdk.org/api/people/471/?format=api",
        "name": "Nipun Gupta",
        "email": "nipun.gupta@nxp.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/20211006121022.27119-11-nipun.gupta@nxp.com/mbox/",
    "series": [
        {
            "id": 19414,
            "url": "http://patches.dpdk.org/api/series/19414/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19414",
            "date": "2021-10-06T12:10:12",
            "name": "NXP DPAAx Bus and PMD changes",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/19414/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/100623/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/100623/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 6953BA0C41;\n\tWed,  6 Oct 2021 14:11:36 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AA8A04145B;\n\tWed,  6 Oct 2021 14:10:37 +0200 (CEST)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n by mails.dpdk.org (Postfix) with ESMTP id B01DA410F2;\n Wed,  6 Oct 2021 14:10:28 +0200 (CEST)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9255D201A36;\n Wed,  6 Oct 2021 14:10:28 +0200 (CEST)",
            "from aprdc01srsp001v.ap-rdc01.nxp.com\n (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5A831201A2F;\n Wed,  6 Oct 2021 14:10:28 +0200 (CEST)",
            "from lsv03274.swis.in-blr01.nxp.com (lsv03274.swis.in-blr01.nxp.com\n [92.120.147.114])\n by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id A1C97183AD14;\n Wed,  6 Oct 2021 20:10:27 +0800 (+08)"
        ],
        "From": "nipun.gupta@nxp.com",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, ferruh.yigit@intel.com, hemant.agrawal@nxp.com,\n sachin.saxena@nxp.com, stable@dpdk.org, Gagandeep Singh <g.singh@nxp.com>,\n Nipun Gupta <nipun.gupta@nxp.com>",
        "Date": "Wed,  6 Oct 2021 17:40:22 +0530",
        "Message-Id": "<20211006121022.27119-11-nipun.gupta@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20211006121022.27119-1-nipun.gupta@nxp.com>",
        "References": "<20210927122650.30881-1-nipun.gupta@nxp.com>\n <20211006121022.27119-1-nipun.gupta@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH v2 10/10] common/dpaax: fix paddr to vaddr\n invalid conversion",
        "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": "From: Gagandeep Singh <g.singh@nxp.com>\n\nIf some of the VA entries of table are somehow not populated and are\nNULL, it can add offset to NULL and return the invalid VA in PA to\nVA conversion.\n\nIn this patch, adding a check if the VA entry has valid address only\nthen add offset and return VA.\n\nFixes: 2f3d633aa593 (\"common/dpaax: add library for PA/VA translation table\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gagandeep Singh <g.singh@nxp.com>\nSigned-off-by: Nipun Gupta <nipun.gupta@nxp.com>\n---\n drivers/common/dpaax/dpaax_iova_table.h | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/common/dpaax/dpaax_iova_table.h b/drivers/common/dpaax/dpaax_iova_table.h\nindex 230fba8ba0..b1f2300c52 100644\n--- a/drivers/common/dpaax/dpaax_iova_table.h\n+++ b/drivers/common/dpaax/dpaax_iova_table.h\n@@ -1,5 +1,5 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n- * Copyright 2018 NXP\n+ * Copyright 2018-2021 NXP\n  */\n \n #ifndef _DPAAX_IOVA_TABLE_H_\n@@ -101,6 +101,12 @@ dpaax_iova_table_get_va(phys_addr_t paddr) {\n \n \t\t/* paddr > entry->start && paddr <= entry->(start+len) */\n \t\tindex = (paddr_align - entry[i].start)/DPAAX_MEM_SPLIT;\n+\t\t/* paddr is within range, but no vaddr entry ever written\n+\t\t * at index\n+\t\t */\n+\t\tif ((void *)(uintptr_t)entry[i].pages[index] == NULL)\n+\t\t\treturn NULL;\n+\n \t\tvaddr = (void *)((uintptr_t)entry[i].pages[index] + offset);\n \t\tbreak;\n \t} while (1);\n",
    "prefixes": [
        "v2",
        "10/10"
    ]
}