get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224213,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2224213/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260417-die-erase-fix-v1-2-4f93ca586c2e@infineon.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260417-die-erase-fix-v1-2-4f93ca586c2e@infineon.com>",
    "list_archive_url": null,
    "date": "2026-04-17T04:09:37",
    "name": "[2/2] mtd: spi-nor: spansion: add die erase support in s28hx-t",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1393d4c13a4cd0bebf38dd00858d5e84c8744d18",
    "submitter": {
        "id": 79571,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/79571/?format=api",
        "name": "Takahiro Kuwano",
        "email": "tkuw584924@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260417-die-erase-fix-v1-2-4f93ca586c2e@infineon.com/mbox/",
    "series": [
        {
            "id": 500234,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/500234/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=500234",
            "date": "2026-04-17T04:09:37",
            "name": "mtd: spi-nor: spansion: fix die erase support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500234/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224213/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224213/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=ew3n+98G;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=hcRMjNfi;\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 4fxhHl1R0fz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 14:10:23 +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 1wDaX3-00000003PFg-11EB;\n\tFri, 17 Apr 2026 04:10:17 +0000",
            "from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wDaX1-00000003PF8-0tva\n\tfor linux-mtd@lists.infradead.org;\n\tFri, 17 Apr 2026 04:10:16 +0000",
            "by mail-pl1-x630.google.com with SMTP id\n d9443c01a7336-2aae146b604so1485455ad.3\n        for <linux-mtd@lists.infradead.org>;\n Thu, 16 Apr 2026 21:10:15 -0700 (PDT)",
            "from ISCN5CG2520RPD.infineon.com (KD106168128197.ppp-bb.dion.ne.jp.\n [106.168.128.197])\n        by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5fab288aesm4505305ad.65.2026.04.16.21.10.10\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Thu, 16 Apr 2026 21:10:13 -0700 (PDT)"
        ],
        "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=Wr9wIWY26mhWUtt/S7FwtoDlvKAy2KYHJ0Pgih2z/lU=; b=ew3n+98GrlhDzW\n\t4FVo7AmXOow5HBTyPzCc23ffEbCdyNapLmdo7Oc5xrxhMAp2AgaVXG72UNTK+RCoCTQIMUvU6H64M\n\tGOeNxECA5YqpB9LnKdE+ePK/4vxluESST1zfQ9uotlsscZUkb2OWH9Lv7d4smdEd4vh3rY7LRbtBS\n\tVO3Jb8XNqHmInZyiw3c3ZGfInLfvwcPILw3hYCjW25WxETD5lz8CgNvtMpXA/41/eszW9Ou0QW/T9\n\tQ9b/g5+geHZN0wxMhywwg3PcNCOTdjbqGAMgPClssOnYUcRKOURjmO7VqlhwMIcTowU0XmFLO1oxg\n\tXq0OLX9lW/UO+AeKDmHw==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1776399014; x=1777003814;\n darn=lists.infradead.org;\n        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n         :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n         :reply-to;\n        bh=98m2sdL1pCMyEhLzfr61EEjsneVRiFvAHpBj+Kg/WNg=;\n        b=hcRMjNfiWQoibOSQHchEixcgotXAS/NIf2+y39w/QJMyO+pCEDEmy+SXmmbwpvyt+e\n         vHxRkgktD08Ogi7Ktv5TjEFktmccCp/9s6Lkx2GHn+UwT0je8NEARnAWQ4XgrWN4e+uu\n         iO/ZKRN+IBTu8K/R+bnuXVjxV2mGtbyAfdUxaUrFdJBxqnXa0O+gsPMYyeHi64wAMsBY\n         +aLVYAWF3oZAWqwh+PTPFDOcnRLs3MbpW8kbTPOZLkLq1SCmNEMBd2uVSyAOayJEl5b8\n         r5jb3qM12e8PBMtIEcZYlUILjSPTaC/+SyfIp6ZfHxlwoQazdbUBHFZ+KO/06NVvfhyg\n         1irA=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1776399014; x=1777003814;\n        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n         :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n         :cc:subject:date:message-id:reply-to;\n        bh=98m2sdL1pCMyEhLzfr61EEjsneVRiFvAHpBj+Kg/WNg=;\n        b=lU41WznNpVFiihOEkJK//VnQEJrqDtDREgJFn9h5byoNfpty0kYOs5PmJKFdbxpDhh\n         9qo/J40zEUMiyxpbxZnNzc/kp9/MTN/Qs3abkYj7kx4+d0jOMiW1p8DcAeB4ZNMi12SR\n         NUAvLMREtyNJ2clnniZJ8YtiDOCBciAuxjlfSA+ygV4L1p34CnniLKNks6hGB/3ky0Rv\n         5NuTBpV9jPzc9MHj/V17BDHjcvWsjZ4rvDXYQyAaYZEfLaayQLuyI9tZVxYEV8qKN3PV\n         sx9b5mEkPPFyePvth8x0/C/9iUZ6LUnKZ4CZjjRTxGjeKp+0/bVYCQRDAPPlaOErXbLj\n         AVqg==",
        "X-Gm-Message-State": "AOJu0YzMQUkWOtCBG7LHAJ9mrViG9HqzFnwGB+u15Dr0a2+Ll9BX5loz\n\tP4C07IybLKPKLaGOVvpzBFoqyAfJ7+ccvoiyuqK+rdeQZjh2XiCvYSpk",
        "X-Gm-Gg": "AeBDiesLl866J3YJprSXX3WUC8bQ/EzOjpt1bVbadFn1KO1aWlW9oLFpin0MEQakzQw\n\tKoc/noQVMqIZfk2ii7zaiZwWAAD3pKeqIw+9+6pOPPc1qRTSKJzBl2tzoY9UtoTGEmwraNFNJai\n\t10DdgUiJ7QKCuz23KUifeCb8nJMtJhV+kyZsfWPI44O5RM11fwX9EeQwvPEUjofDV3S7JefyfBJ\n\t+5Ib+nyf94b3iQSkdOPzc14bNH7ZzuvUfRuxyEJ0t3yZa41j7FY3cy4b9I3csstRSvKwokzub6o\n\tw9WhDcL+YLTOctYDsRadDoOYXMx12Q9QYW28boLK7gDXwEWogVNS6vAMK9boM6onpErYxT+mIfs\n\tdse32jjPKsH7BD1JBzn7AvW59LrhFNPlkXMnRn1jU/6pZV+CNJd/mvy4DP2rfu//nd1Uq2EEiU+\n\tC++1W7ul63DKt51Ej+X0hp7ThbDm0JJgTS9VbKsc1s9FV7T6KMi+NY0mgQkJtDUplQCsXr/3Zgc\n\tahL9NrQZqK9hxsayliDoAh8j7sFyg==",
        "X-Received": "by 2002:a17:903:1ac8:b0:2b2:5503:1ba0 with SMTP id\n d9443c01a7336-2b5f9e78a4dmr12777645ad.5.1776399014365;\n        Thu, 16 Apr 2026 21:10:14 -0700 (PDT)",
        "From": "Takahiro Kuwano <tkuw584924@gmail.com>",
        "X-Google-Original-From": "Takahiro Kuwano <takahiro.kuwano@infineon.com>",
        "Date": "Fri, 17 Apr 2026 13:09:37 +0900",
        "Subject": "[PATCH 2/2] mtd: spi-nor: spansion: add die erase support in\n s28hx-t",
        "MIME-Version": "1.0",
        "Message-Id": "<20260417-die-erase-fix-v1-2-4f93ca586c2e@infineon.com>",
        "References": "<20260417-die-erase-fix-v1-0-4f93ca586c2e@infineon.com>",
        "In-Reply-To": "<20260417-die-erase-fix-v1-0-4f93ca586c2e@infineon.com>",
        "To": "Tudor Ambarus <tudor.ambarus@linaro.org>,\n Pratyush Yadav <pratyush@kernel.org>, Michael Walle <mwalle@kernel.org>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>",
        "Cc": "linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,\n Takahiro Kuwano <takahiro.kuwano@infineon.com>",
        "X-Mailer": "b4 0.15.2",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1776399001; l=746;\n i=takahiro.kuwano@infineon.com; s=20250227; h=from:subject:message-id;\n bh=fJ3XJdKAMzgKAP1CSAH85n0sw5JeoeSHoGHGEGt2Q7M=;\n b=MFJk9ZMZAFnFHqjwyQjElB8xBT45ADbfVlcvqIDfrc1NnByKCZXvr9Yk4g2LrylM2PSMv3kLP\n tfgYoHx8jQfDCItm1L62Z1cP3Q/BNLsEkT75TxxQf8ky/jI6fTrhGvu",
        "X-Developer-Key": "i=takahiro.kuwano@infineon.com; a=ed25519;\n pk=aS8V9WLuMUkl0vmgD0xJU19ZajdJmuyFBnBfVj0dfDs=",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260416_211015_268325_FDEC7CBE ",
        "X-CRM114-Status": "UNSURE (   9.67  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-1.8 (-)",
        "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:  S28Hx-T family has multi-die devices that support die erase\n    opcode. Update die erase opcode when the device is multi-die.\n Signed-off-by:\n    Takahiro Kuwano --- drivers/mtd/spi-nor/spansion.c | 3 +++ 1 file changed,\n    3 insertions(+)\n Content analysis details:   (-1.8 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS               SPF: sender matches SPF record\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an 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]\n  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in\n                             digit\n                             [tkuw584924(at)gmail.com]\n  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail\n provider\n                             [tkuw584924(at)gmail.com]\n -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/, no\n                             trust\n                             [2607:f8b0:4864:20:0:0:0:630 listed in]\n                             [list.dnswl.org]",
        "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": "S28Hx-T family has multi-die devices that support die erase opcode.\nUpdate die erase opcode when the device is multi-die.\n\nSigned-off-by: Takahiro Kuwano <takahiro.kuwano@infineon.com>\n---\n drivers/mtd/spi-nor/spansion.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/mtd/spi-nor/spansion.c b/drivers/mtd/spi-nor/spansion.c\nindex b6023076903a..65227d989de1 100644\n--- a/drivers/mtd/spi-nor/spansion.c\n+++ b/drivers/mtd/spi-nor/spansion.c\n@@ -762,6 +762,9 @@ static int s28hx_t_late_init(struct spi_nor *nor)\n \tparams->ready = cypress_nor_sr_ready_and_clear;\n \tcypress_nor_ecc_init(nor);\n \n+\tif (params->n_dice > 1)\n+\t\tparams->die_erase_opcode = SPINOR_OP_CYPRESS_DIE_ERASE;\n+\n \treturn 0;\n }\n \n",
    "prefixes": [
        "2/2"
    ]
}