Re: [PATCH 2/2] scsi: ufs: add inline crypto support to UFS HCD

2018-12-13 Thread Ladvine D Almeida
On 13/12/18 7:42 PM, Jens Axboe wrote: > On 12/13/18 12:39 PM, Ladvine D Almeida wrote: >> Suggest to take a look into the article >> https://urldefense.proofpoint.com/v2/url?u=https-3A__lwn.net_Articles_717754&d=DwICaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=z00zRD9ARrwHpe-XSl

Re: [PATCH 2/2] scsi: ufs: add inline crypto support to UFS HCD

2018-12-13 Thread Ladvine D Almeida
l...@vger.kernel.org; linux- >> s...@vger.kernel.org; Alan Douglas ; Janek Kotas >> ; Rafal Ciepiela ; AnilKumar >> Chimata ; Ladvine D Almeida ; >> Satya Tangirala ; Paul Crowley >> >> Subject: Re: [PATCH 2/2] scsi: ufs: add inline crypto support to UFS HCD >&

Re: [PATCH 3/5] scsi: ufs: Add Kconfig for UFS HC driver crypto support

2018-05-28 Thread Ladvine D Almeida
On Monday 28 May 2018 04:49 PM, Randy Dunlap wrote: > On 05/28/2018 06:29 AM, Ladvine D Almeida wrote: >> >> This patch adds the Kconfig for enabling crypto support for >> UFS Host Controller driver. It also adds Makefile changes >> for building crypto support based

[PATCH 1/5] scsi: ufs: Add crypto source file for UFS HC driver

2018-05-28 Thread Ladvine D Almeida
operation, management of key slots, hardware key programming, querying the hardware capability, registration of algorithm etc. Signed-off-by: Ladvine D Almeida --- drivers/scsi/ufs/ufshcd-crypto.c | 520 +++ 1 file changed, 520 insertions(+) create mode 100644

[PATCH 0/5] scsi: ufs: UFS Host Controller crypto changes

2018-05-28 Thread Ladvine D Almeida
performing the transformation in this layer. Separate patch is sent to the device mapper layer community for the same. The feature is tested and performance comparisions are done with Synopsys UFS Controller IP on Synopsys HAPS-70 FPGA-based Prototyping solution. Ladvine D Almeida (5): scsi: ufs: Add

[PATCH 5/5] scsi: ufs: Add hooks in UFS HC driver for crypto support

2018-05-28 Thread Ladvine D Almeida
driver only if the crypto capability is detected in the hardware during the init stage. The changes done for the UFS HC crypto support are guarded with CONFIG_SCSI_UFSHCD_INLINE_ENCRYPTION. Signed-off-by: Ladvine D Almeida --- drivers/scsi/ufs/ufshcd.c | 63

[PATCH 4/5] scsi: ufs: Add crypto masks for UFS HC driver

2018-05-28 Thread Ladvine D Almeida
This patch add necessary crypto mask and command for inline encryption support in the UFS Host Controller driver. Signed-off-by: Ladvine D Almeida --- drivers/scsi/ufs/ufshci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h index

[PATCH 3/5] scsi: ufs: Add Kconfig for UFS HC driver crypto support

2018-05-28 Thread Ladvine D Almeida
This patch adds the Kconfig for enabling crypto support for UFS Host Controller driver. It also adds Makefile changes for building crypto support based on crypto Kconfig selection. Signed-off-by: Ladvine D Almeida --- drivers/scsi/ufs/Kconfig | 15 +++ drivers/scsi/ufs/Makefile

[PATCH 2/5] scsi: ufs: Add crypto header file for UFS HC driver

2018-05-28 Thread Ladvine D Almeida
This patch adds the required structures, enum definitions, function prototypes for UFS Host Controller Crypto support. Signed-off-by: Ladvine D Almeida --- drivers/scsi/ufs/ufshcd-crypto.h | 156 +++ 1 file changed, 156 insertions(+) create mode 100644

[PATCH] md: dm-crypt: Add Inline Encryption support for dmcrypt

2018-05-28 Thread Ladvine D Almeida
bio structure. Signed-off-by: Ladvine D Almeida --- drivers/md/dm-crypt.c | 55 +-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 44ff473..a9ed567 100644 --- a/drivers/md/dm-crypt.c

Re: [PATCH 1/7] block: Add block level changes for inline encryption

2018-05-28 Thread Ladvine D Almeida
The subject line is incorrect for the patch. Please discard it, I will resend with corrected subject line. On Monday 28 May 2018 01:30 PM, Ladvine D Almeida wrote: > > This patch introduces new variable under bio structure to > facilitate inline encryption. This variable is used to &g

[PATCH 1/7] block: Add block level changes for inline encryption

2018-05-28 Thread Ladvine D Almeida
This patch introduces new variable under bio structure to facilitate inline encryption. This variable is used to associate I/O requests to crypto information. Signed-off-by: Ladvine D Almeida --- block/Kconfig | 13 + block/bio.c | 6 ++ include/linux