]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: qat - fix unintentional re-enabling of error interrupts
authorHareshx Sankar Raj <hareshx.sankar.raj@intel.com>
Tue, 25 Jun 2024 14:41:19 +0000 (15:41 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 6 Jul 2024 00:20:00 +0000 (10:20 +1000)
commitf0622894c59458fceb33c4197462bc2006f3fc6b
treee73137ec487b829b0ebfce5eea121bbc781d87e3
parent6424da7d8b938fe66e7e771eaa949bc7b6c29c00
crypto: qat - fix unintentional re-enabling of error interrupts

The logic that detects pending VF2PF interrupts unintentionally clears
the section of the error mask register(s) not related to VF2PF.
This might cause interrupts unrelated to VF2PF, reported through
errsou3 and errsou5, to be reported again after the execution
of the function disable_pending_vf2pf_interrupts() in dh895xcc
and GEN2 devices.

Fix by updating only section of errmsk3 and errmsk5 related to VF2PF.

Signed-off-by: Hareshx Sankar Raj <hareshx.sankar.raj@intel.com>
Reviewed-by: Damian Muszynski <damian.muszynski@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_gen2_pfvf.c
drivers/crypto/intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c