Skip to content

mtd: prepare for dynamically removed devices

Alexander Usyskin linux-mtd linux-renesas-soc lkml 1 version Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2mtd: use refcount to prevent corruptiondrivers/mtd/mtdcore.c drivers/mtd/mtdcore.h drivers/mtd/mtdpart.c +1 more+49 -4012 replies
2/2mtd: call external _get and _put in right orderdrivers/mtd/mtdcore.c+14 -141 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/2] mtd: prepare for dynamically removed devices

Prepare mtd subsystem for devices that can be dynamically removed, like memory on PCIE card.
Use refcount to prevent crashes when underlying device removed unexpectedly and reshuffle __get and __put functions to allow underlying device to clean it memory according to refcount.

Alexander Usyskin (1):
mtd: call external _get and _put in right order

Tomas Winkler (1):
mtd: use refcount to prevent corruption

 drivers/mtd/mtdcore.c   | 86 ++++++++++++++++++++++-------------------
 drivers/mtd/mtdcore.h   |  1 +
 drivers/mtd/mtdpart.c   | 14 ++++---
 include/linux/mtd/mtd.h |  2 +-
 4 files changed, 56 insertions(+), 47 deletions(-)
Signature · 6 lines
2.34.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/