diff options
author | Eric Biggers <ebiggers@google.com> | 2020-07-10 10:20:08 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-25 05:09:54 +0300 |
commit | 0f206514749be9988a083ca364b889a7fcff7f78 (patch) | |
tree | bf9f7ba1962a8642ac8bca5c9dbab7acee77cfeb /init/initramfs.c | |
parent | 3eef38a14370c673134600130094472e2c3f4041 (diff) | |
download | linux-0f206514749be9988a083ca364b889a7fcff7f78.tar.xz |
scsi: firmware: qcom_scm: Add support for programming inline crypto keys
Add support for the Inline Crypto Engine (ICE) key programming interface
that's needed for the ufs-qcom driver to use inline encryption on
Snapdragon SoCs. This interface consists of two SCM calls: one to program
a key into a keyslot, and one to invalidate a keyslot.
Although the UFS specification defines a standard way to do this, on these
SoCs the Linux kernel isn't permitted to access the needed crypto
configuration registers directly; these SCM calls must be used instead.
Link: https://lore.kernel.org/r/20200710072013.177481-2-ebiggers@kernel.org
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions