[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181211094910.GA28288@lvlogina.cadence.com>
Date: Tue, 11 Dec 2018 09:49:10 +0000
From: Parshuram Thombare <pthombar@...ence.com>
To: <axboe@...nel.dk>, <vinholikatti@...il.com>,
<jejb@...ux.vnet.ibm.com>, <martin.petersen@...cle.com>,
<mchehab+samsung@...nel.org>, <gregkh@...uxfoundation.org>,
<davem@...emloft.net>, <akpm@...ux-foundation.org>,
<nicolas.ferre@...rochip.com>, <arnd@...db.de>,
<linux-kernel@...r.kernel.org>, <linux-block@...r.kernel.org>,
<linux-scsi@...r.kernel.org>, <tj@...nel.org>, <jbacik@...com>,
<michaelcallahan@...com>, <snitzer@...hat.com>, <osandov@...com>,
<keith.busch@...el.com>, <ming.lei@...hat.com>, <shli@...com>,
<dennisszhou@...il.com>
CC: <adouglas@...ence.com>, <jank@...ence.com>, <rafalc@...ence.com>,
<pthombar@...ence.com>
Subject: [PATCH 0/2] scsi: ufs: add real time/inline crypto support to UFS HCD
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
Powered by blists - more mailing lists