get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217920,
    "url": "http://patchwork.ozlabs.org/api/patches/2217920/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260330230248.646900-2-anthony.l.nguyen@intel.com/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260330230248.646900-2-anthony.l.nguyen@intel.com>",
    "list_archive_url": null,
    "date": "2026-03-30T23:02:30",
    "name": "[net-next,01/15] igc: Call netif_queue_set_napi() with rtnl locked",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "39dd9aa4ef38fe198e995237a9c2db85f9580aad",
    "submitter": {
        "id": 68875,
        "url": "http://patchwork.ozlabs.org/api/people/68875/?format=api",
        "name": "Tony Nguyen",
        "email": "anthony.l.nguyen@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260330230248.646900-2-anthony.l.nguyen@intel.com/mbox/",
    "series": [
        {
            "id": 498113,
            "url": "http://patchwork.ozlabs.org/api/series/498113/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=498113",
            "date": "2026-03-30T23:02:30",
            "name": "[net-next,01/15] igc: Call netif_queue_set_napi() with rtnl locked",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498113/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217920/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217920/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-51506-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pci@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=MN3ipinF;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-pci+bounces-51506-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=\"MN3ipinF\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=198.175.65.10",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=intel.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=intel.com"
        ],
        "Received": [
            "from sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fl6Gy27jYz1y1q\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 10:03:06 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id B34EC3010217\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 23:03:00 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3F5123A75BA;\n\tMon, 30 Mar 2026 23:02:56 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.10])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 953DF30E0D5;\n\tMon, 30 Mar 2026 23:02:54 +0000 (UTC)",
            "from orviesa002.jf.intel.com ([10.64.159.142])\n  by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Mar 2026 16:02:52 -0700",
            "from anguy11-upstream.jf.intel.com ([10.166.9.133])\n  by orviesa002.jf.intel.com with ESMTP; 30 Mar 2026 16:02:52 -0700"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774911776; cv=none;\n b=serFsYzkJp4H2L8VlfCcErdURvuv0ihL0vOWEFg/E7WYg2unUShoXHEQKBNtUl+TvGowmIqerOsVXln9zZ8QttNrdlpliMAo/bICPSImM1/9FGsbCKS7z0yQqQCHwBb6YF1ZqLV0YAHFlEOMRVrIGSO/IyQRjtt4ZNhAyEQkMIo=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774911776; c=relaxed/simple;\n\tbh=5CWyWKFk5jTQoN5toNXnqvNG/6yKBVyWb01H9h4pABY=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=mfQZ0c+LshVMhUCm6V0kBVAIybCaOZLftVwLd+y3wTrKwLDcLUE1t7dYOkzK9XQWD+TcILGT4GCjP4aHkIChZVwYOhEK2MBQEcN5dUAhONGewgMmnjaLu5YsTxIvi/GebSsXJ41KFJKBHgXvsUHLf5CA/441ciEZBDyX221j+RI=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=intel.com;\n spf=pass smtp.mailfrom=intel.com;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=MN3ipinF; arc=none smtp.client-ip=198.175.65.10",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n  t=1774911775; x=1806447775;\n  h=from:to:cc:subject:date:message-id:in-reply-to:\n   references:mime-version:content-transfer-encoding;\n  bh=5CWyWKFk5jTQoN5toNXnqvNG/6yKBVyWb01H9h4pABY=;\n  b=MN3ipinFCr3oamFPxqtkv1pEyyppmXtVQAJGiDtviBldYhQSRdi135ox\n   Kqdo1PSJk4GiOmw0fv1j7P+SA+veIWZ8wDP5L9b16k0Lcniae0DEiclT1\n   9WV3IrFqfMEcV5Q7jdnwVF0CELs3sHyzsSBddTS6UgcqGqComBwvkih9y\n   voRLndMDOTmJn7YenUR/YY+xVRR+ThjjNofmCluUMXoMaJ7hfAjjpS2o2\n   s9ntsZ/Itr8uMJsH8id3cITLHIALaLb8vEmi2w+QRC+0dcY6mtBCt0aJ2\n   zudX5cxTxbMQntr97Pb1ZdJPTDsc0rWwMUCH8e65nK9zW7JIorV63dLVO\n   Q==;",
        "X-CSE-ConnectionGUID": [
            "dWvXIMRGTDObkChX78oEfA==",
            "T0eqtQNIS7+6uQCqQZ6Yrg=="
        ],
        "X-CSE-MsgGUID": [
            "cDSNCRs7QwWGDt6e3kQgDw==",
            "/23C1A/BR5e9O/4t3vTCGA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11744\"; a=\"93297540\"",
            "E=Sophos;i=\"6.23,150,1770624000\";\n   d=\"scan'208\";a=\"93297540\"",
            "E=Sophos;i=\"6.23,150,1770624000\";\n   d=\"scan'208\";a=\"256687703\""
        ],
        "X-ExtLoop1": "1",
        "From": "Tony Nguyen <anthony.l.nguyen@intel.com>",
        "To": "davem@davemloft.net,\n\tkuba@kernel.org,\n\tpabeni@redhat.com,\n\tedumazet@google.com,\n\tandrew+netdev@lunn.ch,\n\tnetdev@vger.kernel.org",
        "Cc": "Mika Westerberg <mika.westerberg@linux.intel.com>,\n\tanthony.l.nguyen@intel.com,\n\tandriy.shevchenko@intel.com,\n\tilpo.jarvinen@linux.intel.com,\n\tdima.ruinskiy@intel.com,\n\tmbloch@nvidia.com,\n\tleon@kernel.org,\n\tlinux-pci@vger.kernel.org,\n\tsaeedm@nvidia.com,\n\ttariqt@nvidia.com,\n\tlukas@wunner.de,\n\tbhelgaas@google.com,\n\trichardcochran@gmail.com,\n\tVinicius Costa Gomes <vinicius.gomes@intel.com>,\n\tJacob Keller <jacob.e.keller@intel.com>,\n\tAvigail Dahan <avigailx.dahan@intel.com>",
        "Subject": "[PATCH net-next 01/15] igc: Call netif_queue_set_napi() with rtnl\n locked",
        "Date": "Mon, 30 Mar 2026 16:02:30 -0700",
        "Message-ID": "<20260330230248.646900-2-anthony.l.nguyen@intel.com>",
        "X-Mailer": "git-send-email 2.47.1",
        "In-Reply-To": "<20260330230248.646900-1-anthony.l.nguyen@intel.com>",
        "References": "<20260330230248.646900-1-anthony.l.nguyen@intel.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-pci@vger.kernel.org",
        "List-Id": "<linux-pci.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "From: Mika Westerberg <mika.westerberg@linux.intel.com>\n\nWhen runtime resuming igc we get:\n\n  [  516.161666] RTNL: assertion failed at ./include/net/netdev_lock.h (72)\n\nHappens because commit 310ae9eb2617 (\"net: designate queue -> napi\nlinking as \"ops protected\"\") added check for this. For this reason drop\nthe special case for runtime PM from __igc_resume(). This makes it take\nrtnl lock unconditionally.\n\nSigned-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>\nAcked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>\nReviewed-by: Jacob Keller <jacob.e.keller@intel.com>\nTested-by: Avigail Dahan <avigailx.dahan@intel.com>\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\n---\n drivers/net/ethernet/intel/igc/igc_main.c | 12 +++++-------\n 1 file changed, 5 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c\nindex 72bc5128d8b8..98024b46789f 100644\n--- a/drivers/net/ethernet/intel/igc/igc_main.c\n+++ b/drivers/net/ethernet/intel/igc/igc_main.c\n@@ -7536,7 +7536,7 @@ static void igc_deliver_wake_packet(struct net_device *netdev)\n \tnetif_rx(skb);\n }\n \n-static int __igc_resume(struct device *dev, bool rpm)\n+static int __igc_resume(struct device *dev)\n {\n \tstruct pci_dev *pdev = to_pci_dev(dev);\n \tstruct net_device *netdev = pci_get_drvdata(pdev);\n@@ -7581,11 +7581,9 @@ static int __igc_resume(struct device *dev, bool rpm)\n \twr32(IGC_WUS, ~0);\n \n \tif (netif_running(netdev)) {\n-\t\tif (!rpm)\n-\t\t\trtnl_lock();\n+\t\trtnl_lock();\n \t\terr = __igc_open(netdev, true);\n-\t\tif (!rpm)\n-\t\t\trtnl_unlock();\n+\t\trtnl_unlock();\n \t\tif (!err)\n \t\t\tnetif_device_attach(netdev);\n \t}\n@@ -7595,12 +7593,12 @@ static int __igc_resume(struct device *dev, bool rpm)\n \n static int igc_resume(struct device *dev)\n {\n-\treturn __igc_resume(dev, false);\n+\treturn __igc_resume(dev);\n }\n \n static int igc_runtime_resume(struct device *dev)\n {\n-\treturn __igc_resume(dev, true);\n+\treturn __igc_resume(dev);\n }\n \n static int igc_suspend(struct device *dev)\n",
    "prefixes": [
        "net-next",
        "01/15"
    ]
}