From: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx> Hi, Jungseung, Michael, Vignesh, I took Jungseung's v2 and amend it here and there, the description of the changes are in each patch. You'll notice that there are 2 new small patches, the first one is needed so that we start the BP3 support from something that works. The new formula should not change what was before, and silently fix a bug, so the first patch is to address this. The second patch is Michael's suggestion split from Jungseung's patch, for a clearer separation of the fixes. This was just compiled, not (yet) tested on a flash, I'll test it later today. So I need you guys to double check the changes, do some testing, and if all good, let me know. Jungseung Lee (3): mtd: spi-nor: Add new formula for SR block protection handling mtd: spi-nor: Add SR 4bit block protection support mtd: spi-nor: Enable locking for n25q512ax3/n25q512a Tudor Ambarus (2): mtd: spi-nor: Fix gap in SR block protection locking mtd: spi-nor: Set all BP bits to one when lock_len == mtd->size drivers/mtd/spi-nor/core.c | 144 +++++++++++++++++++++----------- drivers/mtd/spi-nor/core.h | 10 +++ drivers/mtd/spi-nor/micron-st.c | 8 +- include/linux/mtd/spi-nor.h | 2 + 4 files changed, 113 insertions(+), 51 deletions(-) -- 2.23.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/