]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: caam - Configuration for platforms with virtualization enabled in CAAM
authorRuchika Gupta <ruchika.gupta@freescale.com>
Mon, 23 Jun 2014 12:12:33 +0000 (17:42 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 25 Jun 2014 13:38:39 +0000 (21:38 +0800)
commit17157c90a8abf9323ee2a3daac7ad9f696642dda
tree669b3f012c1dbd8e7aac0114f61c169d5801587c
parenteb1139cd437afadc63f58159c111e3f166bddb51
crypto: caam - Configuration for platforms with virtualization enabled in CAAM

For platforms with virtualization enabled

    1. The job ring registers can be written to only is the job ring has been
       started i.e STARTR bit in JRSTART register is 1

    2. For DECO's under direct software control, with virtualization enabled
       PL, BMT, ICID and SDID values need to be provided. These are provided by
       selecting a Job ring in start mode whose parameters would be used for the
       DECO access programming.

Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/intern.h
drivers/crypto/caam/regs.h