]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: talitos - support for channel remap and 2nd IRQ
authorKim Phillips <kim.phillips@freescale.com>
Mon, 21 Nov 2011 08:13:27 +0000 (16:13 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Nov 2011 08:21:51 +0000 (16:21 +0800)
commitad9dde62b9071d642b9e1a3edf636122cf130fa6
tree12ca78132c4ccc74257bf2ad634e1c06a062d2bd
parentc754174c9fe8713997ff2bb97d15492f9853155a
crypto: talitos - support for channel remap and 2nd IRQ

Some later SEC v3.x are equipped with a second IRQ line.
By correctly assigning IRQ affinity, this feature can be
used to increase performance on dual core parts, like the
MPC8572E and P2020E.

The existence of the 2nd IRQ is determined from the device
node's interrupt property.  If present, the driver remaps
two of four channels, which in turn makes those channels
trigger their interrupts on the 2nd line instead of the first.
To handle single- and dual-IRQ combinations efficiently,
talitos gets two new interrupt handlers and back-half workers.

[includes a fix to MCR_LO's address.]

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c
drivers/crypto/talitos.h