]> git.baikalelectronics.ru Git - kernel.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)
commit9af70dc1b2c8d1937ce861719a195e165fa04c60
tree669b3f012c1dbd8e7aac0114f61c169d5801587c
parentb9c57df2f6114fa13cc5e74665b5189f2af2e764
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