diff options
author | Eric Biggers <[email protected]> | 2021-01-25 16:14:52 -0800 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-02-01 12:02:33 +0100 |
commit | 0a0c866f377ebea6ed5b65942cf1269651c21072 (patch) | |
tree | 60dbfb78ab0daffb006653703625d1d3bd1abf5b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1e80709bdbfc1e1f3cac0ba8ed9a58f5789bcf51 (diff) |
mmc: cqhci: add cqhci_host_ops::program_key
On Snapdragon SoCs, the Linux kernel isn't permitted to directly access
the standard CQHCI 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 cqhci_host_ops'. This allows overriding the standard CQHCI
crypto key programming / eviction procedure.
This is inspired by the corresponding UFS crypto support, which uses
these same SMC calls. See commit 1bc726e26ef3 ("scsi: ufs: Add
program_key() variant op").
Acked-by: Adrian Hunter <[email protected]>
Reviewed-by: Satya Tangirala <[email protected]>
Reviewed-and-tested-by: Peng Zhou <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions