lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CABj3Bj8-KVS2cvern77tPZGY9qHPnmwELkiMjAVYuB_X8zk0Wg@mail.gmail.com>
Date: Tue, 1 Jul 2025 12:03:15 +0200
From: Rafal Vonau <rafal.vonau@...il.com>
To: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] mtd: rawnand: pl35x: Fix BBT write operations by adding pure
 data out pattern

The PL35x NAND controller driver was failing to write Bad Block Tables
due to missing support for pure data out operations. When the NAND subsystem
attempted to write BBT data using just DATA_OUT commands without preceding
address cycles or commands, the operation parser failed to match any pattern.

This patch:

Adds a dedicated execution function for pure data out operations

Includes a new pattern in the op parser for DATA_OUT only operation

The fix maintains proper separation of concerns where:

Command sequences are handled by nand_prog_page_begin_op/end_op

Data writing is handled by the controller's data out operation

BBT writes now complete successfully

Tested on Xilinx Zynq with Micron MT29F2G08ABBEAH4 NAND flash.

Signed-off-by: Rafal Vonau <rafal.vonau@...il.com>

View attachment "zynq-pl35x-bbt-patch.patch" of type "text/x-patch" (1721 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ