From patchwork Fri Oct 20 18:00:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1852733 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=p1Ixq4k6; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=lJswlx/3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SBspd4VL2z20cX for ; Sat, 21 Oct 2023 05:01:29 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hXpl/XUf2yTNLPTbxbt2qadqIYqiV+FRhdYkXiyvGdQ=; b=p1Ixq4k6vBRuy3 7YAAk4J0iabq6pmGVQkHK+0orKvL1HRZOKoRHy/5mo1EVFNfp8NnG5YapEKnU3Ss7OObF7UOvPadY Wm2la+aTxaHiMyfT9bRxf3eG96EH7K2LxMFX9BGDl4dNDdLm6fPhoSzm2K2Gj6x8vkh02OBh2vtx5 paGmaRTG96pPPJOXxsXt1xUZ6shKFxWSWvT8hnuMnUKPBqF0p5EyiyeHs1zieDZBryIWgXWOPwxpZ LrqlGlPqaQo6C5jA9NzIP7KMqvWuPtHn9+zRlPETYZjW9CssBxrpjz7cPsotxsUZDCqO4GrHidc/8 xX5yojQF9LiAGtVp7aYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qttnk-002oZT-2A; Fri, 20 Oct 2023 18:00:48 +0000 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qttnh-002oYo-2G for linux-mtd@lists.infradead.org; Fri, 20 Oct 2023 18:00:47 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 20ACEC0005; Fri, 20 Oct 2023 18:00:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697824842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W3OOOWAmN8Ll41vLduGQ5zOvtpZilXlonF/UUtX3oS0=; b=lJswlx/366St25SOuRqY0hGsopmMN4RRNIykJfN0SXXtG792xL2Q9i3rz1bXnyzJYB2e31 8qAFxpNUlq1pOBobzt1fZ1kZFIUt83ljipnP+80CzLvQoaSeQ+LmjgxSfESYGXbrwob/+E zryUV4fsOp2IXw1uVWv/7hnzefcR6kOsZlU90p6L7L54eVA4U5rt9bP8eH3ejR3BNtk1lN g43H683Safk5tiILDPhhzPuoHO/dL5VVOoL5x/0l7cOTHCwky9I4flCNL6S2+m2N8/Dan7 tfhyS0ZThdqMmylnFUErTsBgw9S952dOkcI0ttiS2YDYWWEM7Ss8Stsuzgp3rg== Date: Fri, 20 Oct 2023 20:00:39 +0200 From: Miquel Raynal To: Linus Torvalds Cc: linux-mtd@lists.infradead.org, Richard Weinberger , Tudor Ambarus , Vignesh Raghavendra , Frieder Schrempf , Michael Walle , Pratyush Yadav , linux-kernel@vger.kernel.org Subject: [GIT PULL] mtd: Fixes for 6.6-rc7 Message-ID: <20231020200039.09ff7f18@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-GND-Sasl: miquel.raynal@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231020_110046_017018_0E6EA3EE X-CRM114-Status: GOOD ( 10.53 ) X-Spam-Score: -0.9 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__Hello_Linus=2C_This_is_an_MTD_fixes_PR?= =?unknown-8bit?q?_for_the_next_-rc=2E_As?= =?unknown-8bit?q?_discussed_during_the_previous_cycles=2C_I=27ve_changed_my_?= =?unknown-8bit?q?way_of_writing_the_PR?= =?unknown-8bit?q?_text=2E_Let_me_know_if_you_want_something_different=2E_Tha?= =?unknown-8bit?q?nks=2C_Miqu=C3=A8l_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-0=2E9_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E7_RCVD=5FIN=5FDNSWL=5FLOW______RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C?= =?unknown-8bit?q?_low_trust?= =?unknown-8bit?q?_=5B217=2E70=2E183=2E198_listed_in_list=2Ednswl=2Eorg=5D?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E0_SPF=5FHELO=5FPASS__________SPF=3A_HELO_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_0=2E0_RCVD=5FIN=5FMSPIKE=5FH5______RBL=3A_Excellent_reputa?= =?unknown-8bit?q?tion_=28+5=29?= =?unknown-8bit?q?_=5B217=2E70=2E183=2E198_listed_in_wl=2Emailspike=2Enet=5D?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_author=27s_domain?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily?= =?unknown-8bit?q?_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= =?unknown-8bit?q?_0=2E0_RCVD=5FIN=5FMSPIKE=5FWL______Mailspike_good_senders?= X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hello Linus, This is an MTD fixes PR for the next -rc. As discussed during the previous cycles, I've changed my way of writing the PR text. Let me know if you want something different. Thanks, Miquèl The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d: Linux 6.6-rc1 (2023-09-10 16:28:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-6.6-rc7 for you to fetch changes up to f6ca3fb6978f94d95ee79f95085fc22e71ca17cc: mtd: rawnand: Ensure the nand chip supports cached reads (2023-10-16 10:47:22 +0200) ---------------------------------------------------------------- In the raw NAND subsystem, the major fix prevents using cached reads with devices not supporting it. There was two bug reports about this. Aside, 3 drivers (pl353, arasan and marvell) could sometimes hide page program failures due to their their own program page helper not being fully compliant with the specification (many drivers use the default helpers shared by the core). Adding a missing check prevents these situation. Finally, the Qualcomm driver had a broken error path. In the SPI-NAND subsystem one Micron device used a wrong bitmak reporting possibly corrupted ECC status. Finally, the physmap-core got stripped from its map_rom fallback by mistake, this feature is added back. ---------------------------------------------------------------- Bibek Kumar Patro (1): mtd: rawnand: qcom: Unmap the right resource upon probe failure Geert Uytterhoeven (1): mtd: physmap-core: Restore map_rom fallback Martin Kurbanov (1): mtd: spinand: micron: correct bitmask for ecc status Miquel Raynal (3): mtd: rawnand: marvell: Ensure program page operations are successful mtd: rawnand: arasan: Ensure program page operations are successful mtd: rawnand: pl353: Ensure program page operations are successful Rouven Czerwinski (1): mtd: rawnand: Ensure the nand chip supports cached reads drivers/mtd/maps/physmap-core.c | 11 +++++++++++ drivers/mtd/nand/raw/arasan-nand-controller.c | 16 ++++++++++++++-- drivers/mtd/nand/raw/marvell_nand.c | 23 ++++++++++++++++++++++- drivers/mtd/nand/raw/nand_base.c | 3 +++ drivers/mtd/nand/raw/nand_jedec.c | 3 +++ drivers/mtd/nand/raw/nand_onfi.c | 3 +++ drivers/mtd/nand/raw/pl35x-nand-controller.c | 9 +++++++++ drivers/mtd/nand/raw/qcom_nandc.c | 2 +- drivers/mtd/nand/spi/micron.c | 2 +- include/linux/mtd/jedec.h | 3 +++ include/linux/mtd/onfi.h | 1 + include/linux/mtd/rawnand.h | 2 ++ 12 files changed, 73 insertions(+), 5 deletions(-)