From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9A633DDDB2 for ; Wed, 11 Mar 2026 15:34:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773243243; cv=none; b=tl90MOdx/i61rE94Ses/1V1h4AsGO2HMF8oaiSpdyM1mNPu7faEMmSlhK8F6RUHMFqHWthffVJyx22qPfT3dp+h+oUuHBu5K9+Zxv3JYReMw4ZFqmdpx1LIkRAoixWHsnqIDtN/lp0cLOuh7tPMXMINCfgF0VTxRjQNd8ImmXLY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773243243; c=relaxed/simple; bh=D8Dg1SP49ziO3qh9I6rbjsvTZJFV+9AgS7FVrDKfgg4=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=KtRbY4VRpuq1d7v/TCEcngxh5YZcZxlOahj4mw7SwLMr7ICEH1fpEvFl5tGoAVLIHr2j6d385Fqd/uRt61iKUNr49kgDCkz+FbwZnAX31evptH4IqDTLWy20LkeuHLCK97zWQgQSrb1cZCgz7glmyKb0E7y80/RupKi4rvsRz7c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=r8N+2F8R; arc=none smtp.client-ip=185.246.84.56 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.b="r8N+2F8R" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id A8D4A1A2D8E; Wed, 11 Mar 2026 15:34:00 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 7E35860004; Wed, 11 Mar 2026 15:34:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6D35110369D16; Wed, 11 Mar 2026 16:33:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1773243239; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=+QP/TAqA3g74ztyeRloOGhmFvEHQCQu4ynxix4TPmuE=; b=r8N+2F8R9IH+PngLeINvtdWKUimc4Ux9C9ltXZ4dhTCsS00lGwnz9rAhuCvEmzIthVmJJj NbpD88qqPNyrja9GDMBtE6sPqipSeI2rlC47lOYJPNEyN7NJm9YyivMiu33q65V9VgHdL2 JE5jHuU1+8RNoS9gBR40tsreXIf+Gs6YVci9Dbn/CXbCEFRIMtT2sikCwRpI20wgM1N1hF hvfre5u9SPizw45vY8Xs1LHr3vdZBSxSLrzOBBDrAU9uVQUwiCOsYLgzS2E9d3kdgCYB2S NO9Fpj0uq+aOCpNqUow6y1TGvKOLpvkOLZdVmfRGggrYCb2Ra3qP1AwHI/pXow== From: Miquel Raynal To: computersforpeace@gmail.com, richard@nod.at, vigneshr@ti.com, Kamal Dasu Cc: florian.fainelli@broadcom.com, william.zhang@broadcom.com, bcm-kernel-feedback-list@broadcom.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20260305202157.3571334-1-kamal.dasu@broadcom.com> References: <20260305202157.3571334-1-kamal.dasu@broadcom.com> Subject: Re: [PATCH] mtd: rawnand: brcmnand: skip DMA during panic write Message-Id: <177324323830.694817.16608954604648703261.b4-ty@bootlin.com> Date: Wed, 11 Mar 2026 16:33:58 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 On Thu, 05 Mar 2026 15:21:57 -0500, Kamal Dasu wrote: > When oops_panic_write is set, the driver disables interrupts and > switches to PIO polling mode but still falls through into the DMA > path. DMA cannot be used reliably in panic context, so make the > DMA path an else branch to ensure only PIO is used during panic > writes. > > > [...] Applied to mtd/fixes, thanks! [1/1] mtd: rawnand: brcmnand: skip DMA during panic write commit: da9ba4dcc01e7cf52b7676f0ee9607b8358c2171 Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then). Kind regards, Miquèl