Skip to content

enabling Advanced protection and security features

[email protected] linux-mtd lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mtd: spi-nor: micron-st: add advanced protection and security featuresdrivers/mtd/spi-nor/core.h drivers/mtd/spi-nor/micron-st.c+258 -02 replies
2/4mtd: spi-nor: add advanced protection and security features supportdrivers/mtd/spi-nor/Makefile drivers/mtd/spi-nor/advprotsec.c drivers/mtd/spi-nor/core.c +1 more+231 -11 reply
3/4mtd: add advanced protection and security ioctlsdrivers/mtd/mtdchar.c include/uapi/mtd/mtd-abi.h+156 -02 replies
4/4mtd: spi-nor: micron-st: add mt25qu128abb and mt25ql128abbdrivers/mtd/spi-nor/micron-st.c+7 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] enabling Advanced protection and security features

From: Shivamurthy Shastri <[email protected]>

Standard protection features in SPI NOR flashes are legacy and offer a simple way to protect the memory array against accidental or unwanted modification of its content.

These patches enable the support for advanced sector protection which protects memory from accidentally corrupting code and data stored, and it also prevents malicious attacks that could intentionally modify the code or data stored in the memory.

Micron Flashes offer some of the advanced protection methods using volatile lock bits, non-volatile lock bits, global freeze bits, and password.

Shivamurthy Shastri (4):
mtd: spi-nor: micron-st: add advanced protection and security features
mtd: spi-nor: add advanced protection and security features support
mtd: add advanced protection and security ioctls
mtd: spi-nor: micron-st: add mt25qu128abb and mt25ql128abb

 drivers/mtd/mtdchar.c            | 145 ++++++++++++++++++
 drivers/mtd/spi-nor/Makefile     |   2 +-
 drivers/mtd/spi-nor/advprotsec.c | 209 ++++++++++++++++++++++++++
 drivers/mtd/spi-nor/core.c       |   2 +
 drivers/mtd/spi-nor/core.h       |  20 +++
 drivers/mtd/spi-nor/micron-st.c  | 245 +++++++++++++++++++++++++++++++
 include/linux/mtd/mtd.h          |  19 +++
 include/uapi/mtd/mtd-abi.h       |  11 ++
 8 files changed, 652 insertions(+), 1 deletion(-)
 create mode 100644 drivers/mtd/spi-nor/advprotsec.c
Signature · 1 line
2.25.1