]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - test PFVF registers for spurious interrupts on GEN4
authorMarco Chiappero <marco.chiappero@intel.com>
Thu, 7 Apr 2022 16:54:48 +0000 (17:54 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:34:26 +0000 (16:34 +0800)
commit7eb322501334e450ddea9843ada59821863f7c84
treedb6080dff5aeb1d839d293e45b69e9913b53a90d
parent6b8e0695538a05d282b4b248cf670288a1d64dee
crypto: qat - test PFVF registers for spurious interrupts on GEN4

Spurious PFVF interrupts can happen when either the ISR is invoked
without a valid source being set or, otherwise, when no interrupt bit
is set in the PFVF register containing the message.

The latter test was present for GEN2 devices but missing for GEN4, this
patch fills the gap.

Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_gen4_pfvf.c