linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: ufs: add real time/inline crypto support to UFS HCD
@ 2018-12-11  9:49 Parshuram Thombare
  2018-12-11 14:06 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Parshuram Thombare @ 2018-12-11  9:49 UTC (permalink / raw)
  To: axboe, vinholikatti, jejb, martin.petersen, mchehab+samsung,
	gregkh, davem, akpm, nicolas.ferre, arnd, linux-kernel,
	linux-block, linux-scsi, tj, jbacik, michaelcallahan, snitzer,
	osandov, keith.busch, ming.lei, shli, dennisszhou
  Cc: adouglas, jank, rafalc, pthombar

Hello,

This patch series add inline / real time encryption support to UFS
host controller driver. It include following patches
0001-block-add-bi_crypto_ctx-variable-in-struct-bio.patch
Add 'void *bi_crypto_ctx' variable in 'struct bio' to embded crypto
configuration information, which is used by low level driver when
bio is processed. This field can also be useful to support inline
encryption in other protocols also.
0002-scsi-ufs-add-inline-crypto-support-to-UFS-HCD.patch
This patch depends on patch [0/1] in this series.
Patch include changes regarding UFS controller
crypto support. Inline crypto support is provided by using new
device mapper called 'crypt-ufs'. Inline encryption can be enabled on
UFS device by creating mapping using tool like dmsetup and mapper
'crypt-ufs'. Patch is tested on Cadence UFS controller which currently
support AES-ECB inline encryption.
As part of [PATCH 2/2], MAINTAINERS file is modified to add name as
supporter of ufshcd crypto files.

Regards,
Parshuram Thombare

Parshuram Thombare (2):
  block: add bi_crypto_ctx variable in struct bio
  scsi: ufs: add inline crypto support to UFS HCD

 MAINTAINERS                      |    7 +
 block/Kconfig                    |    5 +
 drivers/scsi/ufs/Kconfig         |   12 +
 drivers/scsi/ufs/Makefile        |    1 +
 drivers/scsi/ufs/ufshcd-crypto.c |  453 ++++++++++++++++++++++++++++++++++++++
 drivers/scsi/ufs/ufshcd-crypto.h |  102 +++++++++
 drivers/scsi/ufs/ufshcd.c        |   27 +++-
 drivers/scsi/ufs/ufshcd.h        |    6 +
 drivers/scsi/ufs/ufshci.h        |    1 +
 include/linux/blk_types.h        |    4 +
 10 files changed, 617 insertions(+), 1 deletions(-)
 create mode 100644 drivers/scsi/ufs/ufshcd-crypto.c
 create mode 100644 drivers/scsi/ufs/ufshcd-crypto.h


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-12  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-11  9:49 [PATCH 0/2] scsi: ufs: add real time/inline crypto support to UFS HCD Parshuram Thombare
2018-12-11 14:06 ` Christoph Hellwig
2018-12-11 18:22   ` Parshuram Raju Thombare
2018-12-12  7:40     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).