diff options
| author | Ahmad Fatoum <[email protected]> | 2022-05-13 14:57:01 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2022-05-23 15:47:50 +0000 |
| commit | 7a0e7d5265f58eab5983f6560817d4fe9943743b (patch) | |
| tree | ffea767113f5ac62367d676fc752fd0ecc7f5d5f /drivers/mmc/core/queue.c | |
| parent | KEYS: trusted: allow use of kernel RNG for key material (diff) | |
| download | kernel-7a0e7d5265f58eab5983f6560817d4fe9943743b.tar.gz kernel-7a0e7d5265f58eab5983f6560817d4fe9943743b.zip | |
crypto: caam - determine whether CAAM supports blob encap/decap
Depending on SoC variant, a CAAM may be available, but with some futures
fused out. The LS1028A (non-E) SoC is one such SoC and while it
indicates BLOB support, BLOB operations will ultimately fail, because
there is no AES support. Add a new blob_present member to reflect
whether both BLOB support and the AES support it depends on is
available.
These will be used in a follow-up commit to allow blob driver
initialization to error out on SoCs without the necessary hardware
support instead of failing at runtime with a cryptic
caam_jr 8020000.jr: 20000b0f: CCB: desc idx 11: : Invalid CHA selected.
Co-developed-by: Michael Walle <[email protected]>
Signed-off-by: Michael Walle <[email protected]>
Tested-by: Michael Walle <[email protected]> # on ls1028a (non-E and E)
Signed-off-by: Ahmad Fatoum <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions
