Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2224215/?format=api
{ "id": 2224215, "url": "http://patchwork.ozlabs.org/api/patches/2224215/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260417-die-erase-fix-v1-1-4f93ca586c2e@infineon.com/", "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": "<20260417-die-erase-fix-v1-1-4f93ca586c2e@infineon.com>", "list_archive_url": null, "date": "2026-04-17T04:09:36", "name": "[1/2] mtd: spi-nor: spansion: use die erase for multi-die devices only", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "e2278ea055bdaee126041e9b5751fd8d3da4a746", "submitter": { "id": 79571, "url": "http://patchwork.ozlabs.org/api/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-1-4f93ca586c2e@infineon.com/mbox/", "series": [ { "id": 500234, "url": "http://patchwork.ozlabs.org/api/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/2224215/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224215/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=fvtvngeK;\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=FjPfRQOi;\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 4fxhHl6DVDz1yJ7\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 1wDaWz-00000003PEt-3zE1;\n\tFri, 17 Apr 2026 04:10:13 +0000", "from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wDaWx-00000003PDt-0aCG\n\tfor linux-mtd@lists.infradead.org;\n\tFri, 17 Apr 2026 04:10:12 +0000", "by mail-pl1-x62b.google.com with SMTP id\n d9443c01a7336-2b2ea1b3962so1376225ad.0\n for <linux-mtd@lists.infradead.org>;\n Thu, 16 Apr 2026 21:10:10 -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.06\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 16 Apr 2026 21:10:09 -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=8Ijv5V7YaM3S7n2m3oBUDf4XyrbltRUTeldaE/xg61M=; b=fvtvngeKgRC7QB\n\tfXjhwrkmAi9nu6JzYqmxhRs6alSOUGv5O4RPThdn4B7L+mSqPjnGSPFI1AXgIHKk99j0Bsoeu8Vaj\n\tEOZEmRT8wFwC29Ui+sOAtfmaG5QWpBKli0zramDlgUVULqovNNrjOh0hyuUc/REUprzgK8B3s0mJG\n\t+8z5AihP1DcLuGFn13z/YNKd+84AgWml4/KUYxUaff+6MbWR0cEawisWv1mKVSlUQBofNeoO3KNiM\n\tuGSt3P0pN/QPpQc+sV5RI3IPrb/Sc2BSO5Dsez8U4qUkVGgVQxWdG6pkWaO6j5YN/K1P4VERGcKGo\n\tK558mWmkWi6VFKp6wCtw==;", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776399010; x=1777003810;\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=+8hl6ndgkcLN/B5VYGouQ3PaB3QiaN1IHGvG4dIhEOA=;\n b=FjPfRQOiudNpuH12S5tPIulcW8WdXtrPh3etcdnAiSUw73rOcYLTs7RrqNbEogmXxc\n DV5/Jb6ERvpdoI/AdCcFbZcGa2V2PexKPq6ZK+hFQMT3r+RSHgxa1VyZ9Fbl0tL6DWGv\n HU1zx9Ei9IDl3buhgVmri1I01tOShy4hUri7VCDf9ObAisMBBAsNMdanRCzl6fCB20zj\n 1F847UL7QLS88mEC7NPOW4RqxeJnzGI73zol5ze+gqao/jPoLKIDVJ3kPtyBzSutlEvs\n Y6rmxzY7ZIquiqGWW98+HwkyW4kWDMk8IGIJDJLzQyzkK8aDc++OJ5WVxACSvxlQFRkw\n FUCg==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776399010; x=1777003810;\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=+8hl6ndgkcLN/B5VYGouQ3PaB3QiaN1IHGvG4dIhEOA=;\n b=R+3mkApOHDX9KznVOTfSOwrJkQ4Xgs5VkpCxlNV3zc6e0JDZbw3TUXfDQtqQdF150e\n HwMQd/Umw+CvMONm0T4txepHqwF1LWud/JANif5tZ+o28e13tTp1FwHGdYSf1RwUzXIY\n KHSKkjuveHAsZnQWIAL08sB1iSLFtk55BEHFkkAGIWy4/vr1snaIUeRFOkUcYBzqTJ5Q\n sbQZcg/Ao3VUscFRS0RxRws1Z11uE7rSEoFkdGVceIsULI70wugV2WNT1dtLBOqqMlve\n ngYPqwnppk+sXS2fVb3oLCag+Ut3HkWZSyZ+m/tbIkyHtidxewxjGlE+Lqc6FFD9tNwz\n ATKA==", "X-Gm-Message-State": "AOJu0Yy2vnSpJRpm5ojX76H9zf4hyW3viVs50/AP081PKBEMu57IHlQ4\n\t6mRi7QAo+jLTvMZC9awVOOD+txVOPrXzFU23Gd5ik3DVj1+bT7bxnbE8", "X-Gm-Gg": "AeBDievm1+DujoWPVfx9xerRnbxnzzOguZGJiOrGd8vXp2b+F2C/1P/C/M9yfzAtkAA\n\tU1YY67IZs2o65dlmqjdeLw6EItIN5BIPIuZQqxJC/Cr8f/sJEKr/wO3aJ78FnIENgsmCL7pF23o\n\tJIrA1eQg9siax7u73pK1GuokDijerO8QesZ4ZfZjhHyqkTJG2Oz8AnmntfDD6KRZZdeFfp0F7WC\n\t7bOT2lkNhoKjN8EykRbLA9gD4+0Tasq7fV61N7q2oSMjbqjpl4pxFhJxkeDf62z9isOow2EmK0S\n\tGgXfES1ylMrs+X5s9Zjw1RCGiUDw+3wP4CuduMJZJx0wTlDuS7wsyGAWQ4tuLqnwMsojTmA4tYL\n\tIWgdL9VpmDDuOrKx20iCyA1P4Dmu9KNqpb7MSKled+QLYC9mf8ByiXmWDFK/6IIEOQzDdZWEO5M\n\t4+BsTzAqFkwvHSc0h9G1ilKXOB1wjPL0fVTwJu4ago5dquR1feflcdSdRZe5jxiGHDzNQe4NN21\n\tk67ev49aOxg9WXM7jD8f3J77+iaoINIPYCQtETI", "X-Received": "by 2002:a17:902:cf0e:b0:2b0:5cb3:e4bc with SMTP id\n d9443c01a7336-2b5f9f0099cmr13187845ad.16.1776399010301;\n Thu, 16 Apr 2026 21:10:10 -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:36 +0900", "Subject": "[PATCH 1/2] mtd: spi-nor: spansion: use die erase for multi-die\n devices only", "MIME-Version": "1.0", "Message-Id": "<20260417-die-erase-fix-v1-1-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>, stable@kernel.org", "X-Mailer": "b4 0.15.2", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1776399001; l=1018;\n i=takahiro.kuwano@infineon.com; s=20250227; h=from:subject:message-id;\n bh=8yx//9tvT7Tt3lxpUbTiukCjbjkctB90zoxhmldjicY=;\n b=5dnrdAWkHf9ZVcIPTnpG2276KtB2HqVyGFpWPqT5ioqr4rwVsv779asH6LvBceORTBB57Xaej\n 8t8Zc36CsYbATFvMCTwk3QBfXovIARc56656dPvqbFaxQethFrKGprc", "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_211011_185775_6B482B64 ", "X-CRM114-Status": "GOOD ( 11.46 )", "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: Die erase opcode is supported in multi-die devices only.\n For\n single die devices,\n default chip erase opcode must be used. In s25hx_t_late_init(),\n die erase opcode is set only when the device is multi-die.\n Content analysis details: (-1.8 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\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:62b listed in]\n [list.dnswl.org]\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]", "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": "Die erase opcode is supported in multi-die devices only. For single die\ndevices, default chip erase opcode must be used.\n\nIn s25hx_t_late_init(), die erase opcode is set only when the device is\nmulti-die.\n\nFixes: 461d0babb544 (\"mtd: spi-nor: spansion: enable die erase for multi die flashes\")\nCc: stable@kernel.org\nSigned-off-by: Takahiro Kuwano <takahiro.kuwano@infineon.com>\n---\n drivers/mtd/spi-nor/spansion.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/mtd/spi-nor/spansion.c b/drivers/mtd/spi-nor/spansion.c\nindex 8498c7003d88..b6023076903a 100644\n--- a/drivers/mtd/spi-nor/spansion.c\n+++ b/drivers/mtd/spi-nor/spansion.c\n@@ -674,7 +674,9 @@ static int s25hx_t_late_init(struct spi_nor *nor)\n \tparams->ready = cypress_nor_sr_ready_and_clear;\n \tcypress_nor_ecc_init(nor);\n \n-\tparams->die_erase_opcode = SPINOR_OP_CYPRESS_DIE_ERASE;\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": [ "1/2" ] }