Skip to content

crypto: qat - fix firmware loader

Jack Xu linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto: qat - return error when failing to map FWdrivers/crypto/qat/qat_common/qat_uclo.c+2 -10 replies
2/5crypto: qat - check MMP size before writing to the SRAMdrivers/crypto/qat/qat_common/icp_qat_fw_loader_handle.h drivers/crypto/qat/qat_common/qat_hal.c drivers/crypto/qat/qat_common/qat_uclo.c+6 -60 replies
3/5crypto: qat - report an error if MMP file size is too largedrivers/crypto/qat/qat_common/qat_uclo.c+2 -40 replies
4/5crypto: qat - check return code of qat_hal_rd_rel_reg()drivers/crypto/qat/qat_common/qat_hal.c+5 -10 replies
5/5crypto: qat - remove unused macro in FW loaderdrivers/crypto/qat/qat_common/qat_uclo.c+0 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchGiovanni Cabiddu
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.31.1