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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87tt2ley48.fsf@bootlin.com>
Date: Wed, 06 Aug 2025 08:57:11 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Gabor Juhos <j4g8y7@...il.com>
Cc: Richard Weinberger <richard@....at>,  Vignesh Raghavendra
 <vigneshr@...com>,  linux-kernel@...r.kernel.org,
  linux-mtd@...ts.infradead.org
Subject: Re: [PATCH] mtd: expose ooblayout information via sysfs

Hello Gabor,

On 19/07/2025 at 14:06:48 +02, Gabor Juhos <j4g8y7@...il.com> wrote:

> Add two new sysfs device attributes which allows to determine the OOB
> layout used by a given MTD device. This can be useful to verify the
> current layout during driver development without adding extra debug
> code. The exposed information also makes it easier to analyze NAND
> dumps without the need of cravling out the layout from the driver
> code.

I would prefer a debugfs entry, as this is mostly focusing on
development and debugging purposes. sysfs has a stable API, which makes
it a less relevant place in this case.

Thanks,
Miquèl

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ