Skip to content

mtd: spi-nor: fixes found when debugging smpt

[email protected] linux-mtd lkml 2 versions – Applied

Status from this message: Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesApplied
  2. v17 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- drop patches 3 and 6
- update fixes tag for the first patch
- add fixes tags for other patches
- typo, blank line, rename variable, add comment

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5mtd: spi-nor: don't drop sfdp data if optional parsers faildrivers/mtd/spi-nor/spi-nor.c+12 -32 replies
2/5mtd: spi-nor: fix iteration over smpt arraydrivers/mtd/spi-nor/spi-nor.c+30 -101 reply
3/5mtd: spi-nor: don't overwrite errno in spi_nor_get_map_in_use()drivers/mtd/spi-nor/spi-nor.c+9 -41 reply
4/5mtd: spi_nor: pass DMA-able buffer to spi_nor_read_raw()drivers/mtd/spi-nor/spi-nor.c+11 -41 reply
5/5mtd: spi-nor: remove unneeded smpt zeroizationdrivers/mtd/spi-nor/spi-nor.c+1 -11 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchYogesh Gaur
1/5T-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] mtd: spi-nor: fixes found when debugging smpt

Bunch of fixes that we found while debugging the roll back to SPINOR_OP_READ_1_1_4_4B in case smpt parser fails.

Boris, Yogesh,

Now I'm looking for a fix in case the smpt detection commands define variable address length and dummy bytes. Will follow.

v2:
- drop patches 3 and 6
- update fixes tag for the first patch
- add fixes tags for other patches
- typo, blank line, rename variable, add comment

Tudor Ambarus (5):
mtd: spi-nor: don't drop sfdp data if optional parsers fail
mtd: spi-nor: fix iteration over smpt array
mtd: spi-nor: don't overwrite errno in spi_nor_get_map_in_use()
mtd: spi_nor: pass DMA-able buffer to spi_nor_read_raw()
mtd: spi-nor: remove unneeded smpt zeroization

 drivers/mtd/spi-nor/spi-nor.c | 85 ++++++++++++++++++++++++++++++++-----------
 1 file changed, 63 insertions(+), 22 deletions(-)
Signature · 1 line
2.9.4