kernel_optimize_test/drivers/crypto/ccp
Gary R Hook 6263b51eb3 crypto: ccp - Change ISR handler method for a v5 CCP
The CCP has the ability to perform several operations simultaneously,
but only one interrupt.  When implemented as a PCI device and using
MSI-X/MSI interrupts, use a tasklet model to service interrupts. By
disabling and enabling interrupts from the CCP, coupled with the
queuing that tasklets provide, we can ensure that all events
(occurring on the device) are recognized and serviced.

This change fixes a problem wherein 2 or more busy queues can cause
notification bits to change state while a (CCP) interrupt is being
serviced, but after the queue state has been evaluated. This results
in the event being 'lost' and the queue hanging, waiting to be
serviced. Since the status bits are never fully de-asserted, the
CCP never generates another interrupt (all bits zero -> one or more
bits one), and no further CCP operations will be executed.

Cc: <stable@vger.kernel.org> # 4.9.x+

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-04-24 18:11:07 +08:00
..
ccp-crypto-aes-cmac.c
ccp-crypto-aes-galois.c crypto: ccp - Enable support for AES GCM on v5 CCPs 2017-03-24 22:02:55 +08:00
ccp-crypto-aes-xts.c
ccp-crypto-aes.c
ccp-crypto-des3.c crypto: ccp - Enable 3DES function on v5 CCPs 2017-03-24 22:02:55 +08:00
ccp-crypto-main.c crypto: ccp - Enable support for AES GCM on v5 CCPs 2017-03-24 22:02:55 +08:00
ccp-crypto-sha.c crypto: ccp - Add SHA-2 384- and 512-bit support 2017-03-24 22:02:54 +08:00
ccp-crypto.h crypto: ccp - Enable support for AES GCM on v5 CCPs 2017-03-24 22:02:55 +08:00
ccp-dev-v3.c crypto: ccp - Change ISR handler method for a v3 CCP 2017-04-24 18:11:06 +08:00
ccp-dev-v5.c crypto: ccp - Change ISR handler method for a v5 CCP 2017-04-24 18:11:07 +08:00
ccp-dev.c crypto: ccp - Assign DMA commands to the channel's CCP 2017-03-16 17:43:08 +08:00
ccp-dev.h crypto: ccp - Change ISR handler method for a v3 CCP 2017-04-24 18:11:06 +08:00
ccp-dmaengine.c crypto: ccp - Make some CCP DMA channels private 2017-03-24 21:51:34 +08:00
ccp-ops.c crypto: ccp - Enable support for AES GCM on v5 CCPs 2017-03-24 22:02:55 +08:00
ccp-pci.c crypto: ccp - Change ISR handler method for a v3 CCP 2017-04-24 18:11:06 +08:00
ccp-platform.c
Kconfig
Makefile crypto: ccp - Enable support for AES GCM on v5 CCPs 2017-03-24 22:02:55 +08:00