get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2220951,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2220951/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260408131154.2661818-2-aleksandr.loktionov@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260408131154.2661818-2-aleksandr.loktionov@intel.com>",
    "date": "2026-04-08T13:11:49",
    "name": "[iwl-net,v2,1/6] ixgbe: fix SWFW semaphore timeout for X550 family",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a0b710ab824f687d2694a9b0d90a1e8f581ac564",
    "submitter": {
        "id": 75597,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/75597/?format=api",
        "name": "Loktionov, Aleksandr",
        "email": "aleksandr.loktionov@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260408131154.2661818-2-aleksandr.loktionov@intel.com/mbox/",
    "series": [
        {
            "id": 499139,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499139/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=499139",
            "date": "2026-04-08T13:11:48",
            "name": "ixgbe: six bug fixes",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/499139/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2220951/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2220951/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=CrFV3gzr;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 4frNkr2TNgz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 23:12:04 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 1F51260856;\n\tWed,  8 Apr 2026 13:12:02 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 7dw3Op6BPTiR; Wed,  8 Apr 2026 13:12:01 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 60FBD608B9;\n\tWed,  8 Apr 2026 13:12:01 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists1.osuosl.org (Postfix) with ESMTP id BBF941F6\n for <intel-wired-lan@lists.osuosl.org>; Wed,  8 Apr 2026 13:11:59 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id B870E60856\n for <intel-wired-lan@lists.osuosl.org>; Wed,  8 Apr 2026 13:11:58 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id OfqVbBPQ7WO9 for <intel-wired-lan@lists.osuosl.org>;\n Wed,  8 Apr 2026 13:11:58 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [192.198.163.7])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 13F0D608A8\n for <intel-wired-lan@lists.osuosl.org>; Wed,  8 Apr 2026 13:11:58 +0000 (UTC)",
            "from orviesa007.jf.intel.com ([10.64.159.147])\n by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Apr 2026 06:11:58 -0700",
            "from amlin-019-225.igk.intel.com ([10.102.19.225])\n by orviesa007.jf.intel.com with ESMTP; 08 Apr 2026 06:11:57 -0700"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 60FBD608B9",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 13F0D608A8"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1775653921;\n\tbh=qvuGwcCg0+d/p9CbAV+bQc43TGHJtD/eAWBX7DKslBE=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=CrFV3gzryXLhqp2jI98TOtOK1S4izpTqtgXUBfB5cZqdvFGV4TQJYaeinlsJXFms1\n\t cuz26ZTd3eW65dVWNlt8XKDgi/dJB0DwS2BgmRUuQ6kkDobcVbZMxvFUjctJCkSB4n\n\t ONixMPpWhjEtXxkpdmn7pbFiR/O73xq+j8+fV73CZG8TR+6zE/gS7Kii/3dgciGrqd\n\t mcoHfcwZQ+3+Fp2an99XqqTpPAymcr24X/EwzVlbL94xxBUXlCDP2/aW/RbUK1gE8I\n\t k15apL0kkMUMTJmAaya+ykGIlx5tWJPfWBjIJvyvHQRVSEadQO2KGFOMXXAb2K8WoV\n\t 7Te2L53IXlfHg==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.7;\n helo=mgamail.intel.com; envelope-from=aleksandr.loktionov@intel.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org 13F0D608A8",
        "X-CSE-ConnectionGUID": [
            "ZwEN60XeQ+OLyGYENARkKg==",
            "UYU4/WfkRCy55u/s3o2AYw=="
        ],
        "X-CSE-MsgGUID": [
            "uChYM58dRzCTHoRSlqXIWw==",
            "pcGEyYDkTQuuRSYQcN+Hdg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11752\"; a=\"102087227\"",
            "E=Sophos;i=\"6.23,167,1770624000\"; d=\"scan'208\";a=\"102087227\"",
            "E=Sophos;i=\"6.23,167,1770624000\"; d=\"scan'208\";a=\"228714944\""
        ],
        "X-ExtLoop1": "1",
        "From": "Aleksandr Loktionov <aleksandr.loktionov@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,\n aleksandr.loktionov@intel.com",
        "Cc": "netdev@vger.kernel.org",
        "Date": "Wed,  8 Apr 2026 15:11:49 +0200",
        "Message-ID": "<20260408131154.2661818-2-aleksandr.loktionov@intel.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260408131154.2661818-1-aleksandr.loktionov@intel.com>",
        "References": "<20260408131154.2661818-1-aleksandr.loktionov@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1775653918; x=1807189918;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=jqWWnbeGaAloNgo2/0T0yqS/cY0f70+KgebTL+VZ8HI=;\n b=WogBYzQVLLLRsLbLfWYRcPYJijap9mk3Z9KRQIyTOKlwihwBtEHOvLrx\n dIQsPe+dI29htdQnNT0CPfLHNlxnvf9hkCyFGsdNmMQxHkOy//UC4tCVZ\n zGNjidVv0i6XWtkxjZpZ9L98tAEXvkcXAJ+wm5yaFp+9X1CKSNxAyDYUS\n w7mgMFJ4aP5dRGr6IQvRRVie3iREdPzN0Osvq3KyGmtXSEiu83kqnPEVT\n XtrPfgJw1RNF+xnrcdcpoTE3/gr4QTdOsxNLK+uq1mAGOOGxjkf2/eXqk\n QE9TkZk+bpQEdh3y9YB+MD6gxt98IpdK/xalGE8RDpC8e7fxznF/nvnsn\n g==;",
        "X-Mailman-Original-Authentication-Results": [
            "smtp3.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com",
            "smtp3.osuosl.org;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.a=rsa-sha256 header.s=Intel header.b=WogBYzQV"
        ],
        "Subject": "[Intel-wired-lan] [PATCH iwl-net v2 1/6] ixgbe: fix SWFW semaphore\n timeout for X550 family",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "According to FW documentation, the most time-consuming FW operation is\nShadow RAM (SR) dump which takes up to 3.2 seconds.  For X550 family\ndevices the module-update FW command can take over 4.5 s.  The default\nsemaphore loop runs 200 iterations with a 5 ms sleep each, giving a\nmaximum wait of 1 s -- not \"200 ms\" as previously stated in error.\nThis is insufficient for X550 family FW update operations and causes\nspurious EBUSY failures.\n\nExtend the SW/FW semaphore timeout from 1 s to 5 s (1000 iterations x\n5 ms) for all three X550 variants: ixgbe_mac_X550, ixgbe_mac_X550EM_x,\nand ixgbe_mac_x550em_a.  All three share the same FW and exhibit the\nsame worst-case latency.  Use three explicit mac.type comparisons rather\nthan a range check so future MAC additions are not inadvertently\ncaptured.\n\nThe timeout variable is set immediately before the loop so the intent\nis clear, with an inline comment stating the resulting maximum delay.\n\nSuggested-by: Soumen Karmakar <soumen.karmakar@intel.com>\nCc: stable@vger.kernel.org\nSuggested-by: Marta Plantykow <marta.a.plantykow@intel.com>\nSigned-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\n---\nv1 -> v2:\n - Squash with 0015 (X550EM extension); fix commit message (\"200ms\" was\n   wrong, actual default is 1 s); replace >= / <= range check with three\n   explicit mac.type == comparisons per Tony Nguyen.\n\n drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c\nindex e67e2fe..a3c8f51 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c\n@@ -577,6 +577,15 @@ int ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask)\n \n \tswmask |= swi2c_mask;\n \tfwmask |= swi2c_mask << 2;\n+\t/* Extend to 5 s (1000 x 5 ms) for X550 family; default is 1 s\n+\t * (200 x 5 ms).  FW SR-dump takes up to 3.2 s; module-update up\n+\t * to 4.5 s.\n+\t */\n+\tif (hw->mac.type == ixgbe_mac_X550 ||\n+\t    hw->mac.type == ixgbe_mac_X550EM_x ||\n+\t    hw->mac.type == ixgbe_mac_x550em_a)\n+\t\ttimeout = 1000;\n+\n \tfor (i = 0; i < timeout; i++) {\n \t\t/* SW NVM semaphore bit is used for access to all\n \t\t * SW_FW_SYNC bits (not just NVM)\n",
    "prefixes": [
        "iwl-net",
        "v2",
        "1/6"
    ]
}