Skip to content

CAAM JR lifecycle

Andrey Smirnov linux-crypto lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto: caam - use static initializationdrivers/crypto/caam/jr.c+4 -31 reply
2/5crypto: caam - introduce caam_jr_cbkdrivers/crypto/caam/intern.h drivers/crypto/caam/jr.c drivers/crypto/caam/jr.h+9 -101 reply
3/5crypto: caam - convert JR API to use struct caam_drv_private_jrdrivers/crypto/caam/caamalg.c drivers/crypto/caam/caamalg_qi.c drivers/crypto/caam/caamhash.c +7 more+207 -1850 replies
4/5crypto: caam - do not create a platform devices for JRsdrivers/crypto/caam/Kconfig drivers/crypto/caam/Makefile drivers/crypto/caam/caamalg.c +5 more+62 -1300 replies
5/5crypto: caam - disable CAAM's bind/unbind attributesdrivers/crypto/caam/ctrl.c+1 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchHoria Geantă
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] CAAM JR lifecycle

Everyone:

This series is a different approach to addressing the issues brought up in [discussion]. This time the proposition is to get away from creating per-JR platfrom device, move all of the underlying code into caam.ko and disable manual binding/unbinding of the CAAM device via sysfs. Note that this series is a rough cut intented to gauge if this approach could be acceptable for upstreaming.

Thanks,
Andrey Smirnov

[discussion] lore.kernel.org/lkml/[email protected]

Andrey Smirnov (5):
crypto: caam - use static initialization
crypto: caam - introduce caam_jr_cbk
crypto: caam - convert JR API to use struct caam_drv_private_jr
crypto: caam - do not create a platform devices for JRs
crypto: caam - disable CAAM's bind/unbind attributes

 drivers/crypto/caam/Kconfig      |   5 +-
 drivers/crypto/caam/Makefile     |  15 +--
 drivers/crypto/caam/caamalg.c    | 114 ++++++++++----------
 drivers/crypto/caam/caamalg_qi.c |  12 +--
 drivers/crypto/caam/caamhash.c   | 117 +++++++++++----------
 drivers/crypto/caam/caampkc.c    |  67 ++++++------
 drivers/crypto/caam/caampkc.h    |   2 +-
 drivers/crypto/caam/caamrng.c    |  41 ++++----
 drivers/crypto/caam/ctrl.c       |  16 ++-
 drivers/crypto/caam/intern.h     |   3 +-
 drivers/crypto/caam/jr.c         | 173 ++++++++-----------------------
 drivers/crypto/caam/jr.h         |  14 ++-
 drivers/crypto/caam/key_gen.c    |  11 +-
 drivers/crypto/caam/key_gen.h    |   5 +-
 14 files changed, 275 insertions(+), 320 deletions(-)
Signature · 1 line
2.21.0