[RESEND PATCH 0/2] crypto: caam - Support deferred probing of JR dependend drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm resending patch series, as I forgot to CC linux-crypto list.
This patch series fixes/improves CAAM JR dependent drivers initialization.
So far successful initialization depended on link and device-tree nodes
order. These changes make sure all drivers that use JRs (i.e. call
caam_jr_alloc() function) return -EPROBE_DEFER whem JRs are not yet
available (initialized).

Patches were developed and tested on v4.18-rc8.

Marcin Niestroj (2):
  crypto: caam/jr - Fix race by statically initializing global data
  crypto: caam - Support deferred probing in JR dependent drivers

 drivers/crypto/caam/caamalg.c    |  3 +++
 drivers/crypto/caam/caamalg_qi.c |  3 +++
 drivers/crypto/caam/caamhash.c   |  3 +++
 drivers/crypto/caam/caampkc.c    |  3 +++
 drivers/crypto/caam/caamrng.c    |  3 +++
 drivers/crypto/caam/jr.c         | 20 +++++---------------
 6 files changed, 20 insertions(+), 15 deletions(-)

-- 
2.18.0




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux