]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
crypto: talitos - Implement done interrupt mitigation
authorLee Nipper <lee.nipper@freescale.com>
Sun, 12 Oct 2008 12:29:34 +0000 (20:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:01:10 +0000 (11:01 +1100)
commit1c2e8811eea5f0c5da3213ea206c2864fa4614fd
tree1d1a227e268bef3bd7ce1df189dacee29cbf1937
parent40405f10b853ef404b395c6febca71b0de185490
crypto: talitos - Implement done interrupt mitigation

In talitos_interrupt, upon one done interrupt, mask further done interrupts,
and ack only any error interrupt.
In talitos_done, unmask done interrupts after completing processing.
In flush_channel, ack each done channel processed.
Keep done overflow interrupts masked because even though each pkt
is ack'ed, a few done overflows still occur.

Signed-off-by: Lee Nipper <lee.nipper@freescale.com>
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