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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250922155635.749975-1-maarten@zanders.be>
Date: Mon, 22 Sep 2025 17:56:31 +0200
From: Maarten Zanders <maarten@...ders.be>
To: Tudor Ambarus <tudor.ambarus@...aro.org>,
	Pratyush Yadav <pratyush@...nel.org>,
	Michael Walle <mwalle@...nel.org>,
	Miquel Raynal <miquel.raynal@...tlin.com>,
	Richard Weinberger <richard@....at>,
	Vignesh Raghavendra <vigneshr@...com>,
	Boris Brezillon <bbrezillon@...nel.org>
Cc: Maarten Zanders <maarten@...ders.be>,
	linux-mtd@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] handle RDCR opcode for Macronix

This series introduces a configurable RDCR (Read Configuration Register)
opcode for spi-nor flashes and applies a fix for Macronix devices.

Patch 1 adds a new flash parameter to hold the RDCR opcode, defaulting
to 0x35 (JEDEC standard).

Patch 2 applies a Macronix-specific fixup, setting the RDCR opcode to
0x15.

Signed-off-by: Maarten Zanders <maarten@...ders.be>

Maarten Zanders (2):
  mtd: spi-nor: add configurable RDCR opcode
  mtd: spi-nor: macronix: use RDCR opcode 0x15

 drivers/mtd/spi-nor/core.c     | 12 +++++++++---
 drivers/mtd/spi-nor/core.h     |  6 ++++--
 drivers/mtd/spi-nor/macronix.c |  1 +
 include/linux/mtd/spi-nor.h    |  3 +++
 4 files changed, 17 insertions(+), 5 deletions(-)


base-commit: 4550d33e18112a11a740424c4eec063cd58e918c
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ