Re: [PATCH] crypto: qat - fix unintentional re-enabling of error interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 25, 2024 at 03:41:19PM +0100, Giovanni Cabiddu wrote:
> From: Hareshx Sankar Raj <hareshx.sankar.raj@xxxxxxxxx>
> 
> 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@xxxxxxxxx>
> Reviewed-by: Damian Muszynski <damian.muszynski@xxxxxxxxx>
> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx>
> ---
>  drivers/crypto/intel/qat/qat_common/adf_gen2_pfvf.c       | 4 +++-
>  .../crypto/intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c  | 8 ++++++--
>  2 files changed, 9 insertions(+), 3 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux