From patchwork Mon Jul 1 12:08:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 1954659 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=29rUZSF6; 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=gtFWtrtU; 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 4WCQWL5pG8z1xpf for ; Mon, 1 Jul 2024 22:35:58 +1000 (AEST) 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=vFtR0Ovxi/wsxfXOnmjet4ls+qjdJExgK5ptrgC7FVI=; b=29rUZSF6xeH6kA jxzqZl0ZWCN0FH+Sfp+FDc8q1IIFjTpXFc8HPz90f2PPUM4LsZtkHFzZC5QiP00ugXtjgkgKMmpSl qmBOfwtp40dDDyDqgzKxsvsDpxOwFOdBhSCNuvVPQBGfk+C0mf4tWPxBAxmC8xSRCdnCNhFvOgrFD EOfsZ7G6c5ZbIFNA9mxDspV99g9Wlorv5bcv0hFIzeoBCr47GbaScBAI8ldaMjBm4SQpC3tEvE0Kn XCe/OgO3+2zGe50t/lJz+vo74wWHKZKkzOH2ietxWYl+maCUcEcp3D/gmWEwoWnFMTfsGDPpCDwpT xSi3+ZEuiosWhVTYuM6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOGG6-00000003Fgd-1wkA; Mon, 01 Jul 2024 12:35:50 +0000 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOFqF-000000033YW-38Ci for linux-mtd@lists.infradead.org; Mon, 01 Jul 2024 12:09:09 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 86A046000C; Mon, 1 Jul 2024 12:08:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1719835745; 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=NNHFXuboV35aybAAtJgPt+uHy7GJqBm0IfKboXBxs+s=; b=gtFWtrtUHiEHXWBUvLvImnMb5SkMPmovx9sNgbE6qtEy+vKdIN/mHwN6GW8VfhDLWURTrY yiKOgkscs7FmbNd6B6M5Z59l8RgRPuLcuEUbT0OPVdc+TGjIHnwFhn8HIbmtleLj5xp7ic AkA9dSeyaxqatWh7BItC191jY7onPOhqGKsrcLWYnCWPTe5KHqkjjzn5CG9fS36rOX2VBi 6vmln2BJmV31n9R1/m30wfgiuC0jPIi6+2v8OvK5080kjVv0tvXdTYFAeWtjka+5CWkVvJ Hp1+kpS/4EGAtv5wJSEsN0HIpqViNYuPkkys/HbSduTQNFU1lHp9qebFyjcaPg== Date: Mon, 1 Jul 2024 14:08:51 +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.10-rc7 Message-ID: <20240701140851.307df5e3@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; 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-20240701_050907_947933_CCD21332 X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. 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__Hi_Linus=2C_Here_is_a_fixes_PR_for_the?= =?unknown-8bit?q?_next_-rc=2E_Thanks=2C_Miqu=C3=A8l?= =?unknown-8bit?q?_?= =?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_low?= =?unknown-8bit?q?_trust?= =?unknown-8bit?b?IFsyMDAxOjRiOTg6ZGM0Ojg6MDowOjA6MjIzIGxpc3RlZCBpbl0=?= =?unknown-8bit?b?IFtsaXN0LmRuc3dsLm9yZ10=?= =?unknown-8bit?q?_-0=2E0_SPF=5FHELO=5FPASS__________SPF=3A_HELO_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from_author=27s?= =?unknown-8bit?q?_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_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?= 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 Hi Linus, Here is a fixes PR for the next -rc. Thanks, Miquèl The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -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.10-rc7 for you to fetch changes up to b27d8946b5edd9827ee3c2f9ea1dd30022fb1ebe: mtd: rawnand: rockchip: ensure NVDDR timings are rejected (2024-05-27 13:42:25 +0200) ---------------------------------------------------------------- Raw NAND: Rockchip NAND controller driver was not checking the timings properly and the introduction of NV-DDR support broke it. The core was also misbehaving in some very specific cases: in case of (unlikely) bitflips in the parameter page, the fallback might have failed as well but for software reasons. Finally, the chosen ECC configuration was no longer properly propagated to upper layers, mostly failing an info message at probe time. ---------------------------------------------------------------- Miquel Raynal (3): mtd: rawnand: Ensure ECC configuration is propagated to upper layers mtd: rawnand: Fix the nand_read_data_op() early check mtd: rawnand: Bypass a couple of sanity checks during NAND identification Val Packett (1): mtd: rawnand: rockchip: ensure NVDDR timings are rejected drivers/mtd/nand/raw/nand_base.c | 68 +++++++++++++++++++++++---------------- drivers/mtd/nand/raw/rockchip-nand-controller.c | 6 ++-- 2 files changed, 44 insertions(+), 30 deletions(-)