get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196502,
    "url": "http://patchwork.ozlabs.org/api/patches/2196502/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260214062002.17862-1-cole@unwrap.rs/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260214062002.17862-1-cole@unwrap.rs>",
    "list_archive_url": null,
    "date": "2026-02-14T06:20:02",
    "name": "mtd: spi-nor: add support for Fudan Microelectronics FM25Q256",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "42a94b05a7e1d0247a26349007a36dbc2eeff98c",
    "submitter": {
        "id": 92642,
        "url": "http://patchwork.ozlabs.org/api/people/92642/?format=api",
        "name": "Cole Leavitt",
        "email": "cole@unwrap.rs"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260214062002.17862-1-cole@unwrap.rs/mbox/",
    "series": [
        {
            "id": 492162,
            "url": "http://patchwork.ozlabs.org/api/series/492162/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=492162",
            "date": "2026-02-14T06:20:02",
            "name": "mtd: spi-nor: add support for Fudan Microelectronics FM25Q256",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492162/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196502/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196502/checks/",
    "tags": {},
    "related": [],
    "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=JB3biybd;\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 4fCf8z1YYKz1xwj\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 17:22:38 +1100 (AEDT)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vr92m-00000004KiW-42YU;\n\tSat, 14 Feb 2026 06:22:16 +0000",
            "from mail.unwrap.rs ([172.232.15.166])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vr92k-00000004Ki7-3d45\n\tfor linux-mtd@lists.infradead.org;\n\tSat, 14 Feb 2026 06:22:16 +0000"
        ],
        "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:MIME-Version:Message-ID:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=bhqJ3Zbd93x6q73ne2WM4iciH+yEmBW8rgy5arB/wAI=; b=JB3biybdyED4RD\n\trgslRqZPtME47IM/4VqeDDebIsE5V+2MePCNa8z55oLVWyfffCb+oXuOyvOxuWc25drmlNHbvKHFF\n\tVOnguVJD4R3XDZHYD+3ItOC7aAWfJDauvTZTrG7mdFLxjqoGj8O09NFu5HLbLM2iYb++ULrcuDZwx\n\tjFgH2zLUN/TgP+R6MhZNpxqMcR5yXz1HXyGnocd68s5Z2OmgCnoGkhgHQActEkBpwCojIZN+UShJz\n\tMtyUcR5ZJkxKNxAqZge88muqM32tYuDHgTvZz57AVIh/n0B8zU5IF5I0gsl9xs9raniF9yHYxIXxS\n\tYqPbd8YnY5XasNvSR+7w==;",
        "From": "Cole Leavitt <cole@unwrap.rs>",
        "To": "Tudor Ambarus <tudor.ambarus@linaro.org>,\n\tPratyush Yadav <pratyush@kernel.org>,\n\tMichael Walle <mwalle@kernel.org>",
        "Cc": "Miquel Raynal <miquel.raynal@bootlin.com>,\n\tRichard Weinberger <richard@nod.at>,\n\tVignesh Raghavendra <vigneshr@ti.com>,\n\tlinux-mtd@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tCole Leavitt <cole@unwrap.rs>",
        "Subject": "[PATCH] mtd: spi-nor: add support for Fudan Microelectronics FM25Q256",
        "Date": "Fri, 13 Feb 2026 23:20:02 -0700",
        "Message-ID": "<20260214062002.17862-1-cole@unwrap.rs>",
        "X-Mailer": "git-send-email 2.52.0",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260213_222214_980314_3493316B ",
        "X-CRM114-Status": "GOOD (  13.36  )",
        "X-Spam-Score": "-1.9 (-)",
        "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:  Add support for the Fudan Microelectronics FM25Q256 (JEDEC\n    ID f7 f0 30), a 256Mbit (32MB) SPI NOR flash chip. This chip is found on\n   Lenovo ThinkPad P16 Gen 3 (Arrow Lake-S) platforms as the SPI flash [...]\n Content analysis details:   (-1.9 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n  0.0 SPF_HELO_FAIL          SPF: HELO does not match SPF record (fail)\n [SPF failed: Please see\n http://www.openspf.org/Why?s=helo;id=mail.unwrap.rs;ip=172.232.15.166;r=bombadil.infradead.org]\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\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                         [172.232.15.166 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                             [172.232.15.166 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                            [172.232.15.166 listed in\n bl.score.senderscore.com]",
        "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": "Add support for the Fudan Microelectronics FM25Q256 (JEDEC ID f7 f0 30),\na 256Mbit (32MB) SPI NOR flash chip. This chip is found on Lenovo\nThinkPad P16 Gen 3 (Arrow Lake-S) platforms as the SPI flash backing\nthe UEFI firmware.\n\nThe chip supports 4K sector erase, dual read, and quad read modes.\n\nWithout this patch, the kernel's spi-nor driver reports:\n  spi-nor spi0.0: unrecognized JEDEC id bytes: f7 f0 30\nand refuses to create an MTD device, preventing userspace tools from\naccessing the flash.\n\nSigned-off-by: Cole Leavitt <cole@unwrap.rs>\n---\n drivers/mtd/spi-nor/Makefile |  1 +\n drivers/mtd/spi-nor/core.c   |  1 +\n drivers/mtd/spi-nor/core.h   |  1 +\n drivers/mtd/spi-nor/fudan.c  | 25 +++++++++++++++++++++++++\n 4 files changed, 28 insertions(+)\n create mode 100644 drivers/mtd/spi-nor/fudan.c\n\n\nbase-commit: 2687c848e57820651b9f69d30c4710f4219f7dbf",
    "diff": "diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile\nindex 5dd9c35f6b6f..2c8b9b3e08bb 100644\n--- a/drivers/mtd/spi-nor/Makefile\n+++ b/drivers/mtd/spi-nor/Makefile\n@@ -5,6 +5,7 @@ spi-nor-objs\t\t\t+= atmel.o\n spi-nor-objs\t\t\t+= eon.o\n spi-nor-objs\t\t\t+= esmt.o\n spi-nor-objs\t\t\t+= everspin.o\n+spi-nor-objs\t\t\t+= fudan.o\n spi-nor-objs\t\t\t+= gigadevice.o\n spi-nor-objs\t\t\t+= intel.o\n spi-nor-objs\t\t\t+= issi.o\ndiff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c\nindex d3f8a78efd3b..395ff5c39883 100644\n--- a/drivers/mtd/spi-nor/core.c\n+++ b/drivers/mtd/spi-nor/core.c\n@@ -1944,6 +1944,7 @@ static const struct spi_nor_manufacturer *manufacturers[] = {\n \t&spi_nor_eon,\n \t&spi_nor_esmt,\n \t&spi_nor_everspin,\n+\t&spi_nor_fudan,\n \t&spi_nor_gigadevice,\n \t&spi_nor_intel,\n \t&spi_nor_issi,\ndiff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h\nindex 16b382d4f04f..be63273677c8 100644\n--- a/drivers/mtd/spi-nor/core.h\n+++ b/drivers/mtd/spi-nor/core.h\n@@ -594,6 +594,7 @@ extern const struct spi_nor_manufacturer spi_nor_atmel;\n extern const struct spi_nor_manufacturer spi_nor_eon;\n extern const struct spi_nor_manufacturer spi_nor_esmt;\n extern const struct spi_nor_manufacturer spi_nor_everspin;\n+extern const struct spi_nor_manufacturer spi_nor_fudan;\n extern const struct spi_nor_manufacturer spi_nor_gigadevice;\n extern const struct spi_nor_manufacturer spi_nor_intel;\n extern const struct spi_nor_manufacturer spi_nor_issi;\ndiff --git a/drivers/mtd/spi-nor/fudan.c b/drivers/mtd/spi-nor/fudan.c\nnew file mode 100644\nindex 000000000000..e9a4d3ed3cd0\n--- /dev/null\n+++ b/drivers/mtd/spi-nor/fudan.c\n@@ -0,0 +1,25 @@\n+// SPDX-License-Identifier: GPL-2.0\n+/*\n+ * Fudan Microelectronics SPI NOR flash support.\n+ *\n+ * JEDEC manufacturer ID 0xf7.\n+ */\n+\n+#include <linux/mtd/spi-nor.h>\n+\n+#include \"core.h\"\n+\n+static const struct flash_info fudan_nor_parts[] = {\n+\t{\n+\t\t.id = SNOR_ID(0xf7, 0xf0, 0x30),\n+\t\t.name = \"fm25q256\",\n+\t\t.size = SZ_32M,\n+\t\t.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,\n+\t},\n+};\n+\n+const struct spi_nor_manufacturer spi_nor_fudan = {\n+\t.name = \"fudan\",\n+\t.parts = fudan_nor_parts,\n+\t.nparts = ARRAY_SIZE(fudan_nor_parts),\n+};\n",
    "prefixes": []
}