Skip to content

crypto: qat - add support for 420xx devices

Jie Wang linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto: qat - relocate and rename get_service_enabled()drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c drivers/crypto/intel/qat/qat_common/adf_cfg_services.c drivers/crypto/intel/qat/qat_common/adf_cfg_services.h+34 -260 replies
2/5crypto: qat - change signature of uof_get_num_objs()drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c drivers/crypto/intel/qat/qat_common/adf_accel_devices.h drivers/crypto/intel/qat/qat_common/adf_accel_engine.c+3 -30 replies
3/5crypto: qat - relocate portions of qat_4xxx codedrivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.h drivers/crypto/intel/qat/qat_4xxx/adf_drv.c +5 more+552 -4840 replies
4/5crypto: qat - move fw config related structuresdrivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c drivers/crypto/intel/qat/qat_common/adf_fw_config.h+19 -120 replies
5/5crypto: qat - add support for 420xx devicesdrivers/crypto/intel/qat/Kconfig drivers/crypto/intel/qat/Makefile drivers/crypto/intel/qat/qat_420xx/Makefile +10 more+849 -52 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 - add support for 420xx devices

This set adds support for 420xx devices.

Compared to 4xxx devices, 420xx devices have more acceleration engines (16 service engines and 1 admin) and support the wireless cipher algorithms ZUC and Snow 3G.

Here is a summary of the changes:
* Patch #1 relocates and renames get_service_enabled() since it is not specific to 4xxx.
* Patch #2 changes the signature of the function uof_get_num_objs() as it is required by the 420xx driver.
* Patch #3 moves the common logic between QAT GEN4 accelerators to the intel_qat folder.
* Patch #4 moves the fw config related structures to a newly created header file.
* Patch #5 implements the QAT 420xx driver.

The first 4 patches just refactor the code and do not introduce any functional changes.

Jie Wang (5):
crypto: qat - relocate and rename get_service_enabled()
crypto: qat - change signature of uof_get_num_objs()
crypto: qat - relocate portions of qat_4xxx code
crypto: qat - move fw config related structures
crypto: qat - add support for 420xx devices

 drivers/crypto/intel/qat/Kconfig              |  11 +
 drivers/crypto/intel/qat/Makefile             |   1 +
 drivers/crypto/intel/qat/qat_420xx/Makefile   |   4 +
 .../intel/qat/qat_420xx/adf_420xx_hw_data.c   | 552 ++++++++++++++++++
 .../intel/qat/qat_420xx/adf_420xx_hw_data.h   |  55 ++
 drivers/crypto/intel/qat/qat_420xx/adf_drv.c  | 202 +++++++
 .../intel/qat/qat_4xxx/adf_4xxx_hw_data.c     | 232 ++------
 .../intel/qat/qat_4xxx/adf_4xxx_hw_data.h     |  52 --
 drivers/crypto/intel/qat/qat_4xxx/adf_drv.c   | 277 +--------
 drivers/crypto/intel/qat/qat_common/Makefile  |   1 +
 .../intel/qat/qat_common/adf_accel_devices.h  |   5 +-
 .../intel/qat/qat_common/adf_accel_engine.c   |   2 +-
 .../intel/qat/qat_common/adf_cfg_common.h     |   1 +
 .../intel/qat/qat_common/adf_cfg_services.c   |  27 +
 .../intel/qat/qat_common/adf_cfg_services.h   |   4 +
 .../intel/qat/qat_common/adf_fw_config.h      |  18 +
 .../intel/qat/qat_common/adf_gen4_config.c    | 287 +++++++++
 .../intel/qat/qat_common/adf_gen4_config.h    |  11 +
 .../intel/qat/qat_common/adf_gen4_hw_data.c   | 148 +++++
 .../intel/qat/qat_common/adf_gen4_hw_data.h   |  74 +++
 .../crypto/intel/qat/qat_common/icp_qat_hw.h  |  14 +-
 .../intel/qat/qat_common/icp_qat_uclo.h       |   2 +-
 drivers/crypto/intel/qat/qat_common/qat_hal.c |   6 +-
 .../crypto/intel/qat/qat_common/qat_uclo.c    |   1 +
 24 files changed, 1457 insertions(+), 530 deletions(-)
 create mode 100644 drivers/crypto/intel/qat/qat_420xx/Makefile
 create mode 100644 drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c
 create mode 100644 drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.h
 create mode 100644 drivers/crypto/intel/qat/qat_420xx/adf_drv.c
 create mode 100644 drivers/crypto/intel/qat/qat_common/adf_fw_config.h
 create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_config.c
 create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_config.h

base-commit: 1ac058e8f5b5adc5e365d72361486922bfbd0cb9

Signature · 1 line
2.32.0