Skip to content

Resource-managed blk_ksm_init()

Eric Biggers linux-block linux-mmc linux-scsi 1 version Applied

Status from this message: Applied to my mmc for the next branch, by adding Jens' ack. Thanks everybody!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2block/keyslot-manager: introduce devm_blk_ksm_init()Documentation/block/inline-encryption.rst block/keyslot-manager.c include/linux/keyslot-manager.h+38 -64 replies
2/2scsi: ufs: use devm_blk_ksm_init()drivers/scsi/ufs/ufshcd-crypto.c drivers/scsi/ufs/ufshcd-crypto.h drivers/scsi/ufs/ufshcd.c+2 -133 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSatya Tangirala
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] Resource-managed blk_ksm_init()

This patchset adds a resource-managed variant of blk_ksm_init() so that drivers don't have to worry about calling blk_ksm_destroy().

This was suggested during review of my patchset which adds eMMC inline encryption support
(https://lkml.kernel.org/linux-mmc/[email protected]/T/#u).
That patchset proposes a second caller of blk_ksm_init(). But it can instead use the resource-managed variant, as can the UFS driver.

My preference is that patch #1 be taken through the MMC tree together with my MMC patchset, so that we don't have to wait an extra cycle for the MMC changes. Patch #2 can then go in later.

Eric Biggers (2):
block/keyslot-manager: introduce devm_blk_ksm_init()
scsi: ufs: use devm_blk_ksm_init()

 Documentation/block/inline-encryption.rst | 12 +++++-----
 block/keyslot-manager.c                   | 29 +++++++++++++++++++++++
 drivers/scsi/ufs/ufshcd-crypto.c          |  9 ++-----
 drivers/scsi/ufs/ufshcd-crypto.h          |  5 ----
 drivers/scsi/ufs/ufshcd.c                 |  1 -
 include/linux/keyslot-manager.h           |  3 +++
 6 files changed, 40 insertions(+), 19 deletions(-)
Signature · 1 line
2.30.0