aboutsummaryrefslogtreecommitdiff
path: root/block/blk-pm.c
diff options
context:
space:
mode:
authorGravatar Eric Biggers <ebiggers@google.com> 2020-07-10 00:20:11 -0700
committerGravatar Martin K. Petersen <martin.petersen@oracle.com> 2020-07-24 22:09:54 -0400
commit1bc726e26ef317579274b4aa9e32425bdf4301db (patch)
tree7b0985eb80afe2b5dc27e955f857770fb82fe700 /block/blk-pm.c
parentscsi: ufs-qcom: Name the dev_ref_clk_ctrl registers (diff)
downloadlinux-1bc726e26ef317579274b4aa9e32425bdf4301db.tar.gz
linux-1bc726e26ef317579274b4aa9e32425bdf4301db.tar.bz2
linux-1bc726e26ef317579274b4aa9e32425bdf4301db.zip
scsi: ufs: Add program_key() variant op
On Snapdragon SoCs, the Linux kernel isn't permitted to directly access the standard UFS crypto configuration registers. Instead, programming and evicting keys must be done through vendor-specific SMC calls. To support this hardware, add a ->program_key() method to 'struct ufs_hba_variant_ops'. This allows overriding the UFS standard key programming / eviction procedure. Link: https://lore.kernel.org/r/20200710072013.177481-5-ebiggers@kernel.org Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/blk-pm.c')
0 files changed, 0 insertions, 0 deletions