[PATCH 6.6.y v2 0/2] mtd: spi-nor: macronix: backport Quad Input Page Program fixups

Greg KH gregkh at linuxfoundation.org
Thu Jul 2 07:11:13 PDT 2026


On Thu, Jul 02, 2026 at 10:18:40AM +0800, Cheng Ming Lin wrote:
> From: Cheng Ming Lin <chengminglin at mxic.com.tw>
> 
> This is a backport of two upstream commits to 6.6.y:
> 
>   commit 798aafeffb36 ("mtd: spi-nor: macronix: Add post_sfdp fixups
>   for Quad Input Page Program")
>   commit 797bbaa7531f ("mtd: spi-nor: macronix: add support for
>   mx66{l2, u1}g45g")
> 
> Neither commit was tagged for -stable when merged. 6.6.y also predates
> commit 09e5a29fa3ad ("mtd: spi-nor: macronix: convert flash_info to new
> format"), which landed in v6.10, so drivers/mtd/spi-nor/macronix.c is
> still in the old INFO()/NO_SFDP_FLAGS()/FIXUP_FLAGS() macro-based
> format. Both patches have been adapted to that format with no other
> functional change; patch 2 depends on the macronix_qpp4b_fixups hook
> introduced by patch 1.

Why not just move to a newer kernel to get support for these newer
devices instead?  That's much simpler and I'd prefer that over taking
much-different patches instead.

thanks,

greg k-h



More information about the linux-mtd mailing list