Re: [BUG] crypto: qat - Mismatch in DMA mapping length in qat_rsa_enc/qat_rsa_cb

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

 



On Wed, Sep 07, 2022 at 03:42:58PM +0800, Herbert Xu wrote:
> Hi:
> 
> The function qat_rsa_enc maps req->phy_in with a length of 8 bytes,
> but the function qat_rsa_cb unmaps it with a length of 64 bytes.
> 
> This causes the DMA API to generate warnings in debug mode.
Thanks Herbert.
I was aware of that. We have a set in review internally that fixes all
warnings reported when CONFIG_DMA_API_DEBUG=y is selected.

For this particular issue, e48767c17718 ("crypto: qat - reduce size of
mapped region") needs to be reverted. This revert is included in the set
that I'm going to send.

Regards,

-- 
Giovanni



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