diff options
author | Gary R Hook <gary.hook@amd.com> | 2017-04-21 10:50:14 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-24 18:11:07 +0800 |
commit | 6263b51eb3190d30351360fd168959af7e3a49a9 (patch) | |
tree | 170a9134598f2967204d8e861f92f950f6422100 /drivers/scsi/dpt_i2o.c | |
parent | 7b537b24e76a1e8e6d7ea91483a45d5b1426809b (diff) | |
download | linux-6263b51eb3190d30351360fd168959af7e3a49a9.tar.bz2 |
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>
Diffstat (limited to 'drivers/scsi/dpt_i2o.c')
0 files changed, 0 insertions, 0 deletions