* [PATCH 4/5] scsi: ufs: Add crypto masks for UFS HC driver
@ 2018-05-28 13:32 Ladvine D Almeida
0 siblings, 0 replies; only message in thread
From: Ladvine D Almeida @ 2018-05-28 13:32 UTC (permalink / raw)
To: Vinayak Holikatti <vinholikatti@gmail.com>; "James
E.J. Bottomley" <jejb@linux.vnet.ibm.com>; "Martin
K. Petersen"
Cc: linux-kernel,
linux-scsi@vger.kernel.org;Manjunath M Bettegowda
<manjumb@synopsys.com>; Prabu Thangamuthu
<prabut@synopsys.com>; Tejas Joglekar
<joglekar@synopsys.com>; Joao Pinto
This patch add necessary crypto mask and command for
inline encryption support in the UFS Host Controller driver.
Signed-off-by: Ladvine D Almeida <ladvine@synopsys.com>
---
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 bb5d9c7..c003924 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -90,6 +90,7 @@ enum {
MASK_64_ADDRESSING_SUPPORT = 0x01000000,
MASK_OUT_OF_ORDER_DATA_DELIVERY_SUPPORT = 0x02000000,
MASK_UIC_DME_TEST_MODE_SUPPORT = 0x04000000,
+ MASK_CRYPTO_SUPPORT = 0x10000000,
};
#define UFS_MASK(mask, offset) ((mask) << (offset))
@@ -337,6 +338,7 @@ enum {
UTP_NATIVE_UFS_COMMAND = 0x10000000,
UTP_DEVICE_MANAGEMENT_FUNCTION = 0x20000000,
UTP_REQ_DESC_INT_CMD = 0x01000000,
+ UTP_REQ_CRYPT_EN_CMD = 0x00800000, /* Inline Encryption */
};
/* UTP Transfer Request Data Direction (DD) */
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-28 13:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-28 13:32 [PATCH 4/5] scsi: ufs: Add crypto masks for UFS HC driver Ladvine D Almeida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®