get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94255,
    "url": "https://patches.dpdk.org/api/patches/94255/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210615172027.1496115-1-drc@linux.vnet.ibm.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": "<20210615172027.1496115-1-drc@linux.vnet.ibm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210615172027.1496115-1-drc@linux.vnet.ibm.com",
    "date": "2021-06-15T17:20:27",
    "name": "bus/pci: Fix PowerNV platform detection logic",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b0e71f0838fdb25670455594e3463994ff04bf3c",
    "submitter": {
        "id": 1256,
        "url": "https://patches.dpdk.org/api/people/1256/?format=api",
        "name": "David Christensen",
        "email": "drc@linux.vnet.ibm.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210615172027.1496115-1-drc@linux.vnet.ibm.com/mbox/",
    "series": [
        {
            "id": 17340,
            "url": "https://patches.dpdk.org/api/series/17340/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17340",
            "date": "2021-06-15T17:20:27",
            "name": "bus/pci: Fix PowerNV platform detection logic",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17340/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94255/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/94255/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 B8463A0C48;\n\tTue, 15 Jun 2021 19:20:47 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 47C8E4067A;\n\tTue, 15 Jun 2021 19:20:47 +0200 (CEST)",
            "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id E42E440140\n for <dev@dpdk.org>; Tue, 15 Jun 2021 19:20:45 +0200 (CEST)",
            "from pps.filterd (m0098394.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 15FHCl9S176405 for <dev@dpdk.org>; Tue, 15 Jun 2021 13:20:45 -0400",
            "from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com\n [169.63.214.131])\n by mx0a-001b2d01.pphosted.com with ESMTP id 396ytshecg-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 15 Jun 2021 13:20:44 -0400",
            "from pps.filterd (ppma01dal.us.ibm.com [127.0.0.1])\n by ppma01dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15FHHssG006148\n for <dev@dpdk.org>; Tue, 15 Jun 2021 17:20:43 GMT",
            "from b03cxnp08028.gho.boulder.ibm.com\n (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20])\n by ppma01dal.us.ibm.com with ESMTP id 394mja85m5-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 15 Jun 2021 17:20:43 +0000",
            "from b03ledav004.gho.boulder.ibm.com\n (b03ledav004.gho.boulder.ibm.com [9.17.130.235])\n by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 15FHKg1b12321110\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Tue, 15 Jun 2021 17:20:42 GMT",
            "from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 77A327805F;\n Tue, 15 Jun 2021 17:20:42 +0000 (GMT)",
            "from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 3696E78063;\n Tue, 15 Jun 2021 17:20:42 +0000 (GMT)",
            "from localhost.localdomain (unknown [9.114.224.51])\n by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP;\n Tue, 15 Jun 2021 17:20:42 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com;\n h=from : to : cc : subject\n : date : message-id : mime-version : content-transfer-encoding; s=pp1;\n bh=/9pgi2H5ErUW8rdKJ2h3J0hCHzWx6HdDzHXVXiRChAk=;\n b=GEi8XCzwixNb7TCSo8r797WnXMppPwYBSCwAGJeENa+qfpQnpgNnqBqFyO8gkyTH92Y2\n zMQt1tTSC10DHpM/rzxfLgOexxnJOddNDli69VY+JX5d3yMrZ9MpgVrSl7kD20PBkK30\n PEptyZL4FkWkN+D9pcOJ0f6RbwL+mNy2LybeXCkfk3It4l5K0D9kkMvXhdYUBr1tkp2E\n 0wxQXSpWuLYUeIP9RhWns78beHlfDzWEIpMqH42OxJ8GnIm8WoDWB0zSFAsCQ/zBhGzl\n UXqjCoshAAZA2Bcbk9uP81lTivOaPl98u4lxt/DDvKKiCx3GLHQMacpMlVZW3A2YpOWT 6A==",
        "From": "David Christensen <drc@linux.vnet.ibm.com>",
        "To": "dev@dpdk.org",
        "Cc": "David Christensen <drc@linux.vnet.ibm.com>",
        "Date": "Tue, 15 Jun 2021 10:20:27 -0700",
        "Message-Id": "<20210615172027.1496115-1-drc@linux.vnet.ibm.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-GUID": "fmbFAnzTiWSnB_tLqVf31RI_IrGv7V2X",
        "X-Proofpoint-ORIG-GUID": "fmbFAnzTiWSnB_tLqVf31RI_IrGv7V2X",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761\n definitions=2021-06-15_07:2021-06-15,\n 2021-06-15 signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n priorityscore=1501\n bulkscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 mlxscore=0\n mlxlogscore=999 spamscore=0 clxscore=1015 impostorscore=0 phishscore=0\n malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1\n engine=8.12.0-2104190000 definitions=main-2106150107",
        "Subject": "[dpdk-dev] [PATCH] bus/pci: Fix PowerNV platform detection logic",
        "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": "Fix the IOMMU detection logic that looks for the \"platform\" field of\n/proc/cpuinfo on POWER systems.\n\nFixes: 905215731833 (\"bus/pci: support IOVA as VA on PowerNV systems\")\n\nSigned-off-by: David Christensen <drc@linux.vnet.ibm.com>\n---\n drivers/bus/pci/linux/pci.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c\nindex 0dc99e9cb2..edfe430268 100644\n--- a/drivers/bus/pci/linux/pci.c\n+++ b/drivers/bus/pci/linux/pci.c\n@@ -569,7 +569,7 @@ pci_device_iommu_support_va(__rte_unused const struct rte_pci_device *dev)\n \n \t/* Check for a PowerNV platform */\n \twhile (getline(&line, &len, fp) != -1) {\n-\t\tif (strstr(line, \"platform\") != NULL)\n+\t\tif (strstr(line, \"platform\") == NULL)\n \t\t\tcontinue;\n \n \t\tif (strstr(line, \"PowerNV\") != NULL) {\n",
    "prefixes": []
}