Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2194281/?format=api
{ "id": 2194281, "url": "http://patchwork.ozlabs.org/api/patches/2194281/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260208061919.30498-4-farbere@amazon.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": "<20260208061919.30498-4-farbere@amazon.com>", "list_archive_url": null, "date": "2026-02-08T06:19:18", "name": "[3/4] mtd: spi-nor: winbond: Fix locking support for w25q64jvm", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "f6234deb3fb2002777938e5680ca42328fd350a1", "submitter": { "id": 84667, "url": "http://patchwork.ozlabs.org/api/people/84667/?format=api", "name": "Eliav Farber", "email": "farbere@amazon.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260208061919.30498-4-farbere@amazon.com/mbox/", "series": [ { "id": 491410, "url": "http://patchwork.ozlabs.org/api/series/491410/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=491410", "date": "2026-02-08T06:19:19", "name": "mtd: spi-nor: winbond: Fix protection handling and enable dual/quad reads", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491410/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2194281/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2194281/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=kXXQwEWm;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256\n header.s=amazoncorp2 header.b=LOcn+TzT;\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 4f7yNZ4Sn7z1xw3\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 08 Feb 2026 17:19:54 +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 1voy8y-0000000D4ZI-0U5d;\n\tSun, 08 Feb 2026 06:19:40 +0000", "from pdx-out-002.esa.us-west-2.outbound.mail-perimeter.amazon.com\n ([44.246.1.125])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1voy8t-0000000D4XR-3hC1\n\tfor linux-mtd@lists.infradead.org;\n\tSun, 08 Feb 2026 06:19:37 +0000", "from ip-10-5-0-115.us-west-2.compute.internal (HELO\n smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.0.115])\n by internal-pdx-out-002.esa.us-west-2.outbound.mail-perimeter.amazon.com\n with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2026 06:19:31 +0000", "from EX19MTAUWA002.ant.amazon.com [205.251.233.234:8786]\n by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.19.186:2525]\n with esmtp (Farcaster)\n id 26e52be1-f38c-4d5e-91f1-ddc4caa557d7; Sun, 8 Feb 2026 06:19:31 +0000 (UTC)", "from EX19D001UWA001.ant.amazon.com (10.13.138.214) by\n EX19MTAUWA002.ant.amazon.com (10.250.64.202) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35;\n Sun, 8 Feb 2026 06:19:30 +0000", "from dev-dsk-farbere-1a-46ecabed.eu-west-1.amazon.com\n (172.19.116.181) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35; Sun, 8 Feb 2026\n 06:19:29 +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:References:In-Reply-To:\n\tMessage-ID:Date:Subject:CC:To: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=ELxdXBBbuhr1Pqq1Bl8HwmVzZiJCwIeACsO2b2MyLmE=; b=kXXQwEWmFZowlq\n\tCOVGkb6M/PBz4risYr1HksIXSUEd1PmoE/nOdk5FsXSXmgft153r4AMjYhJ2R/SHf+AbGjIAYraaz\n\t3ojMpeDfvktTViR3X2Xeb8OruULEdgL16vnHWRuzWGxexkEEXIJ2mP98jL/Kd+RfQAZKy9NpMR076\n\t8KZiSb/AJIyAcndUln0X2XHCCTJ5c/tXvtvbt2UWXVEcrl7D6AGTvcPK+kk8SCaQkHttxnNJCPiCp\n\tgwufoLQ8QH3k5KgP4YiH8MrNCb6+twLOm/99D4M1/3jUjh9kWy3IiPGypsvlnd5XP+qWa4bqkermE\n\tytNQHvd9MJG/xs0KOgQg==;", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=amazon.com; i=@amazon.com; q=dns/txt; s=amazoncorp2;\n t=1770531575; x=1802067575;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=2ltZuCxBdZ12qFQz0mmsudjFR/rgDd0q3Z1aKzrOqJs=;\n b=LOcn+TzTL8XQ7kmO3/2G7O8rP4XTxeMzgkdN4RH0UW+TGqR2iMTCdRhU\n 24zinlwf/6q5Yn26+3GXrxiKZ/Ti+yaO5GcnwOrhOji9f8UakzIuiR53A\n ePi9YEpOl85+ZUiXj812wS7k1pUvVYQsGhKyg3heQqxTN3wkzG2lbBnxh\n kvLGzC0xuCUMnzk5qef/GhIO3XNAsOaZ5NpE3IJza3ivrIk6ZcPZGyvcU\n Oo0J0mTI4YHJBxztItWI7YCE/em0B2PB/wjvmTBtGaf33kt+uJcxeVHnp\n ryWgB3rVz8zvobEwib/t+SJARVjs5DLdaTXKE9EzFYjO3iJkL1FTI/Oq4\n Q==;" ], "X-CSE-ConnectionGUID": "nRhDc9OeQmaElTcUDn64JA==", "X-CSE-MsgGUID": "fri+sQXxSYygnKYFaIXl5A==", "X-IronPort-AV": "E=Sophos;i=\"6.21,279,1763424000\";\n d=\"scan'208\";a=\"12615211\"", "X-Farcaster-Flow-ID": "26e52be1-f38c-4d5e-91f1-ddc4caa557d7", "From": "Eliav Farber <farbere@amazon.com>", "To": "<tudor.ambarus@linaro.org>, <pratyush@kernel.org>, <mwalle@kernel.org>,\n\t<miquel.raynal@bootlin.com>, <richard@nod.at>, <vigneshr@ti.com>,\n\t<linux-mtd@lists.infradead.org>, <linux-kernel@vger.kernel.org>", "CC": "<farbere@amazon.com>", "Subject": "[PATCH 3/4] mtd: spi-nor: winbond: Fix locking support for w25q64jvm", "Date": "Sun, 8 Feb 2026 06:19:18 +0000", "Message-ID": "<20260208061919.30498-4-farbere@amazon.com>", "X-Mailer": "git-send-email 2.47.3", "In-Reply-To": "<20260208061919.30498-1-farbere@amazon.com>", "References": "<20260208061919.30498-1-farbere@amazon.com>", "MIME-Version": "1.0", "X-Originating-IP": "[172.19.116.181]", "X-ClientProxiedBy": "EX19D038UWC003.ant.amazon.com (10.13.139.209) To\n EX19D001UWA001.ant.amazon.com (10.13.138.214)", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260207_221936_021694_075104CC ", "X-CRM114-Status": "UNSURE ( 9.31 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-9.6 (---------)", "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: The Winbond w25q64jvm supports block protection through the\n Status Register (SR) and provides a Top/Bottom (TB) protection bit. Enable\n SPI_NOR_HAS_LOCK and SPI_NOR_HAS_TB for this device to properly describe\n its locking capabilities.\n Content analysis details: (-9.6 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 [44.246.1.125 listed in list.dnswl.org]\n 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record\n -7.5 USER_IN_DEF_SPF_WL From: address is in the default SPF welcome-list\n -0.0 SPF_PASS SPF: sender matches SPF record\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 0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from\n envelope-from domain\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 [44.246.1.125 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 [44.246.1.125 listed in sa-accredit.habeas.com]\n 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay\n lines\n -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender\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 [44.246.1.125 listed in 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": "The Winbond w25q64jvm supports block protection through the Status\nRegister (SR) and provides a Top/Bottom (TB) protection bit.\n\nEnable SPI_NOR_HAS_LOCK and SPI_NOR_HAS_TB for this device to\nproperly describe its locking capabilities.\n\nThe device uses Status Register bit 5 as the TB bit and supports only\nthree Block Protect (BP) bits. Therefore, do not set SPI_NOR_TB_SR_BIT6\nor SPI_NOR_4BIT_BP.\n\nReference:\nhttps://www.winbond.com/hq/support/documentation/levelOne.jsp?__locale=en&DocNo=DA00-W25Q64JV.1\n\nSigned-off-by: Eliav Farber <farbere@amazon.com>\n---\n drivers/mtd/spi-nor/winbond.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c\nindex 6d325da121b4..eaa547d36aad 100644\n--- a/drivers/mtd/spi-nor/winbond.c\n+++ b/drivers/mtd/spi-nor/winbond.c\n@@ -296,6 +296,7 @@ static const struct flash_info winbond_nor_parts[] = {\n \t\t.id = SNOR_ID(0xef, 0x70, 0x17),\n \t\t.name = \"w25q64jvm\",\n \t\t.size = SZ_8M,\n+\t\t.flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB,\n \t\t.no_sfdp_flags = SECT_4K,\n \t}, {\n \t\t.id = SNOR_ID(0xef, 0x70, 0x18),\n", "prefixes": [ "3/4" ] }