]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc3e337f88a5b3784cb3c806ffd650d06adff1ea5
tree12ca78132c4ccc74257bf2ad634e1c06a062d2bd
parentad42d5fc85383278663ecb58a24f6547ad0ba735
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