get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222042,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2222042/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260410-winbond-6-19-rc1-oddr-v1-4-2ac4827a3868@bootlin.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260410-winbond-6-19-rc1-oddr-v1-4-2ac4827a3868@bootlin.com>",
    "date": "2026-04-10T17:41:04",
    "name": "[4/5] mtd: spinand: winbond: Set the packed page read flag to W35N02/04JW",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b12dec3a20afb3d1a298f779b72ffcc13b329753",
    "submitter": {
        "id": 73368,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/73368/?format=api",
        "name": "Miquel Raynal",
        "email": "miquel.raynal@bootlin.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260410-winbond-6-19-rc1-oddr-v1-4-2ac4827a3868@bootlin.com/mbox/",
    "series": [
        {
            "id": 499489,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499489/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=499489",
            "date": "2026-04-10T17:41:01",
            "name": "mtd/spi: Fix Winbond W35N02JW / W35N04JW support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499489/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222042/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222042/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=13kHLZt0;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=RfbMYEke;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\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 4fskcp6vC5z1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 11 Apr 2026 03:41:30 +1000 (AEST)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wBFrB-0000000CdTc-1aPv;\n\tFri, 10 Apr 2026 17:41:25 +0000",
            "from smtpout-03.galae.net ([185.246.85.4])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wBFr8-0000000CdQp-2HUN\n\tfor linux-mtd@lists.infradead.org;\n\tFri, 10 Apr 2026 17:41:23 +0000",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n\tby smtpout-03.galae.net (Postfix) with ESMTPS id 1D69D4E429B6;\n\tFri, 10 Apr 2026 17:41:21 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n\tby smtpout-01.galae.net (Postfix) with ESMTPS id E8A51603F0;\n\tFri, 10 Apr 2026 17:41:20 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 226AD10450081;\n\tFri, 10 Apr 2026 19:41:19 +0200 (CEST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id\n\t:MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=eufVR6d6NvSiVS6u/rFutXjMzlW9ElOCL1G7pNH2UZQ=; b=13kHLZt0IiM+oi\n\t/bbMDmrvGIMd21gnAnsUwKnz9WN4ym1g7J/1PdEaFAvSakog309ebowkFEHFQUXtllVqymgTmJYph\n\t8j6KF0CrVj40FhDqpv/dimWF59+sBh/f2ASHCZ4Y9zCEG8eixeGCUjTM9wPK/2CFx2zA0f4Ras7Gb\n\tS58m3TgYQPAFsE7IhwcHFE/kn7ibcvHlZU2beeGI7RD+3iCg0FQ9zgschtWRzCmtruuUVmPis5I/z\n\tmdkY8dCqS2Pp3Ar7mWEgOCw3EMfkiWmMQBYxDhGFG0a9YdyR1S5gAwc1bmaa4UjRpHqotuKFhae9C\n\tdq6l019A1lSjn7bIHstg==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n\tt=1775842880; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n\t content-transfer-encoding:in-reply-to:references;\n\tbh=bAVqa4MQXm7GdlPrbv7BpQQFj39D/pUUubDLu72NyMI=;\n\tb=RfbMYEke9rGFR7c6cTZKWElMdomfmM05zlbY+k17DJCJH7/CHnvw4PBCpRfKwCjg923VFT\n\t7FmYoYGOKFpc9xwdIhQbJjA3Rn4FqyZ/n5JCp8fwB4nDc+4qtKkNNL/NAhb7+WXmXWxzvu\n\tWr4hcn1mUK+xklrhfwEBHdRpwA9uVMqo9RaW8kIL+Mv42JiKef4fCnn7YUCed/gALp+hPX\n\twSpXuoPvjGIl8VOkYcdXbNvRnjJb3IgUlNDWf28HiPfqDnvyuXOVm/KddBhMFC2EO3OVTR\n\trtiXEC2anYAt9mQkaXRZws/AjqFNJ5SsxdGzf9lNcj7oynpsgVQ6/z8d6LVXfg=="
        ],
        "From": "Miquel Raynal <miquel.raynal@bootlin.com>",
        "Date": "Fri, 10 Apr 2026 19:41:04 +0200",
        "Subject": "[PATCH 4/5] mtd: spinand: winbond: Set the packed page read flag\n to W35N02/04JW",
        "MIME-Version": "1.0",
        "Message-Id": "<20260410-winbond-6-19-rc1-oddr-v1-4-2ac4827a3868@bootlin.com>",
        "References": "<20260410-winbond-6-19-rc1-oddr-v1-0-2ac4827a3868@bootlin.com>",
        "In-Reply-To": "<20260410-winbond-6-19-rc1-oddr-v1-0-2ac4827a3868@bootlin.com>",
        "To": "Mark Brown <broonie@kernel.org>, Richard Weinberger <richard@nod.at>,\n Vignesh Raghavendra <vigneshr@ti.com>, Pratyush Yadav <pratyush@kernel.org>",
        "Cc": "Steam Lin <STLin2@winbond.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>, linux-spi@vger.kernel.org,\n linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,\n Miquel Raynal <miquel.raynal@bootlin.com>",
        "X-Mailer": "b4 0.14.3",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260410_104122_716941_9A2BA840 ",
        "X-CRM114-Status": "GOOD (  10.29  )",
        "X-Spam-Score": "-2.1 (--)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n the administrator of that system for details.\n Content preview:  Both W35N02JW and W35N04JW diverge from W35N01JW when it\n comes\n    to the \"data read\" operation in ODTR mode. In order to stuff more address\n    bits (up to 18), the second command byte is replaced by the mos [...]\n Content analysis details:   (-2.1 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The\n                             query to Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                           [185.246.85.4 listed in\n sa-trusted.bondedsender.org]\n  0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                             [185.246.85.4 listed in sa-accredit.habeas.com]\n  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                             [185.246.85.4 listed in bl.score.senderscore.com]\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Both W35N02JW and W35N04JW diverge from W35N01JW when it comes to the\n\"data read\" operation in ODTR mode. In order to stuff more address\nbits (up to 18), the second command byte is replaced by the most\nsignificant address bits, keeping the number of address bytes to 2.\n\nFixes: 44a2f49b9bdc (\"mtd: spinand: winbond: W35N octal DTR support\")\nSigned-off-by: Miquel Raynal <miquel.raynal@bootlin.com>\n---\n drivers/mtd/nand/spi/winbond.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c\nindex 6dfd0dcc8ee7..a3fca8a1cff1 100644\n--- a/drivers/mtd/nand/spi/winbond.c\n+++ b/drivers/mtd/nand/spi/winbond.c\n@@ -515,7 +515,7 @@ static const struct spinand_info winbond_spinand_table[] = {\n \t\t     SPINAND_INFO_OP_VARIANTS(&read_cache_octal_variants,\n \t\t\t\t\t      &write_cache_octal_variants,\n \t\t\t\t\t      &update_cache_octal_variants),\n-\t\t     0,\n+\t\t     SPINAND_ODTR_PACKED_PAGE_READ,\n \t\t     SPINAND_INFO_VENDOR_OPS(&winbond_w35_ops),\n \t\t     SPINAND_ECCINFO(&w35n01jw_ooblayout, NULL),\n \t\t     SPINAND_CONFIGURE_CHIP(w35n0xjw_vcr_cfg)),\n@@ -526,7 +526,7 @@ static const struct spinand_info winbond_spinand_table[] = {\n \t\t     SPINAND_INFO_OP_VARIANTS(&read_cache_octal_variants,\n \t\t\t\t\t      &write_cache_octal_variants,\n \t\t\t\t\t      &update_cache_octal_variants),\n-\t\t     0,\n+\t\t     SPINAND_ODTR_PACKED_PAGE_READ,\n \t\t     SPINAND_INFO_VENDOR_OPS(&winbond_w35_ops),\n \t\t     SPINAND_ECCINFO(&w35n01jw_ooblayout, NULL),\n \t\t     SPINAND_CONFIGURE_CHIP(w35n0xjw_vcr_cfg)),\n",
    "prefixes": [
        "4/5"
    ]
}