]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: nx - add nx842 constraints
authorDan Streetman <ddstreet@ieee.org>
Thu, 7 May 2015 17:49:18 +0000 (13:49 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 May 2015 07:06:46 +0000 (15:06 +0800)
commita4683142cce455e372caec2991d8bc14c764408e
tree13e716f492a528a093e061fec08e7ed74dbaddcc
parent3ea82d6fa16c95b7177d3a8e8762f160e45dab5b
crypto: nx - add nx842 constraints

Add "constraints" for the NX-842 driver.  The constraints are used to
indicate what the current NX-842 platform driver is capable of.  The
constraints tell the NX-842 user what alignment, min and max length, and
length multiple each provided buffers should conform to.  These are
required because the 842 hardware requires buffers to meet specific
constraints that vary based on platform - for example, the pSeries
max length is much lower than the PowerNV max length.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-842-pseries.c
drivers/crypto/nx/nx-842.c
drivers/crypto/nx/nx-842.h
include/linux/nx842.h