From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.85.4 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796419566; b=Ltlv7rMZAgHjOxsNPhWI/DZtZguFlo8/DgHary1FQ5VFNZKvcpDM2XCXIOJ19tWHdk6P 8ZvFdLgqcounUHTaeK2JFtMd7s8sJ6xR4l3J5dpecy9n9E2xjRgbPFtfV1dvYgjPEmNyd aVxRTrJty05U6bpmMlual2mkP8r+bF3NFw8co5znC6zPd/VacCEkxFk5Km6Hhz6wmgSki DbrdzB18sKl+Mfn0Pj2bRgmO3H62e32h9rpIfUkW8r2dMyoz6C7NPpKYzPEDBV1WYkL/w bTnEGG9OsC1QqAiRGXVwC2GUvaXMD9qQq0BREyq2O0dfjI+kjlujVrHLNt9H2Wffo5Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796419566; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:In-Reply-To:References:User-Agent:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding: X-Last-TLS-Session-Version; bh=QvzODArhRel6Y6ZVEuxbrFzDuJORn9wv8HS1JsCo2bM=; b=D9Mb/dsmmJ7bmjireiJkPxIgQA9K/4VIyEM6dXmdPHKbK2Re4hvvbSYw58ub3JCz188N +hrd8YXsN0ovgPZF0Mqvmta2XCod7qyW0J/pgQ34TMxC6p1WGxdPTdEtNCLEK6fxwGF6Y gjSlod4fSbApe/EaCKWcKSV+AN/cPExnVWVGUT/pbaEZH6IPloaYGcVisoqtcHExonWBm //lp5r41f9iLimyyKupJG0IauPcABJbTdQRJUqIfdvlrbZJGW53z4W2eoYXImlAWK16B1 OnJIZgtiHblroxC8vnljkCGWhjOTXgUJnOjav7dQALe8eTPgCzXCunbfhO2rIvIg8/w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=MgHX1OML; arc=none smtp.remote-ip=185.246.85.4 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 383CC606A32C; Fri, 4 Dec 2026 21:26:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 383CC606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=MgHX1OML Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 84EFD4E418A2; Fri, 4 Dec 2026 21:26:04 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3E95F603C4; Fri, 4 Dec 2026 21:26:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3A41E11EA18B6; Fri, 04 Dec 2026 22:25:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796419559; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=QvzODArhRel6Y6ZVEuxbrFzDuJORn9wv8HS1JsCo2bM=; b=MgHX1OML140k5bvzRk8b5yprs2mJwnAMzsZe3onW67fpPUlfdsMQN0lu7uxNmp2uPK6lkA Zypcd91f7FaPcniaDHC32BwzwnDQumSgnfqwYHptcByAIUam3SImZuNUyI/omMp4p2SL+7 S8MQbR19HPnKJex/z6+e5VZgchRPE7Kh1NogBjb1atW29Hj1tIB3npfUL7Zqr/sbmHpjQ3 rGPboMqNWp1f57ZJZvsc6q/NxcQ9lmcHpzFYVW+sMqMf8lVMgR2XtJlgB7gTk2U38zitKM RimMa7/SepIVlucwha7ad3nqHmdukhnN8V9lANmdqziUIRld2rz9RBdMwr3fEQ== From: Miquel Raynal To: James Hilliard Cc: Richard Weinberger , Vignesh Raghavendra , Arseniy Krasnov , Kyle Roeschley , Boris Brezillon , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v3 0/2] mtd: rawnand: serialize OTP and BBT recovery operations In-Reply-To: <20261126-submit-rawnand-operation-locking-v1-v3-0-cd3794332f23@gmail.com> (James Hilliard's message of "Thu, 26 Nov 2026 13:04:50 -0700") References: <20261126-submit-rawnand-operation-locking-v1-v3-0-cd3794332f23@gmail.com> User-Agent: mu4e 1.12.12; emacs 30.2 Date: Fri, 04 Dec 2026 22:25:55 +0100 Message-ID: <87fqwc68m4.fsf@bootlin.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Hi, On 26/11/2026 at 13:04:50 -07, James Hilliard w= rote: > Route raw NAND OTP callbacks through core wrappers that hold the chip > and controller locks, and protect marker writes performed by BBT > failure recovery. Both paths issue NAND commands outside the ordinary > MTD read/write wrappers, so they need the same serialization and > suspend handling as normal operations. > > The first patch registers manufacturer OTP operations with the raw NAND > core, which invokes them under the normal locks. The second uses those > locks around BBT recovery marker writes. > > Signed-off-by: James Hilliard Patch no longer applies, please rebase on top of nand/next. Thanks, Miqu=C3=A8l