mbox series

[0/5] crypto: qat - fix firmware loader

Message ID 20210517091316.69630-1-jack.xu@intel.com
Headers show
Series crypto: qat - fix firmware loader | expand

Message

Jack Xu May 17, 2021, 9:13 a.m. UTC
This patchset is to fix some issues in the QAT firmware loader:
* Patches #1 to #3, check the MMP binary size and return error if too large
* Patch #4 fixes a problem detected by clang static
* Patch #5 fixes a compiling warnings when building with clang


Jack Xu (5):
  crypto: qat - return error when failing to map FW
  crypto: qat - check MMP size before writing to the SRAM
  crypto: qat - report an error if MMP file size is too large
  crypto: qat - check return code of qat_hal_rd_rel_reg()
  crypto: qat - remove unused macro in FW loader

 .../qat/qat_common/icp_qat_fw_loader_handle.h      |  2 +-
 drivers/crypto/qat/qat_common/qat_hal.c            | 14 +++++++++-----
 drivers/crypto/qat/qat_common/qat_uclo.c           | 12 +++++-------
 3 files changed, 15 insertions(+), 13 deletions(-)

Comments

Herbert Xu May 28, 2021, 7:24 a.m. UTC | #1
On Mon, May 17, 2021 at 05:13:11AM -0400, Jack Xu wrote:
> This patchset is to fix some issues in the QAT firmware loader:

> * Patches #1 to #3, check the MMP binary size and return error if too large

> * Patch #4 fixes a problem detected by clang static

> * Patch #5 fixes a compiling warnings when building with clang

> 

> 

> Jack Xu (5):

>   crypto: qat - return error when failing to map FW

>   crypto: qat - check MMP size before writing to the SRAM

>   crypto: qat - report an error if MMP file size is too large

>   crypto: qat - check return code of qat_hal_rd_rel_reg()

>   crypto: qat - remove unused macro in FW loader

> 

>  .../qat/qat_common/icp_qat_fw_loader_handle.h      |  2 +-

>  drivers/crypto/qat/qat_common/qat_hal.c            | 14 +++++++++-----

>  drivers/crypto/qat/qat_common/qat_uclo.c           | 12 +++++-------

>  3 files changed, 15 insertions(+), 13 deletions(-)


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