mbox series

[0/3] crypto: qat - add qat_4xxx driver

Message ID 20201113164643.103383-1-giovanni.cabiddu@intel.com (mailing list archive)
Headers show
Series crypto: qat - add qat_4xxx driver | expand

Message

Cabiddu, Giovanni Nov. 13, 2020, 4:46 p.m. UTC
Add support for QAT 4xxx devices.

The first patch reworks the logic that loads the firmware images to
allow for for devices that require multiple firmware images to work.
The second patch introduces an hook to program the vector routing table,
which is introduced in QAT 4XXX, to allow to change the vector associated
with the interrupt source.
The third patch implements the QAT 4xxx driver.

Giovanni Cabiddu (3):
  crypto: qat - target fw images to specific AEs
  crypto: qat - add hook to initialize vector routing table
  crypto: qat - add qat_4xxx driver

 drivers/crypto/qat/Kconfig                    |  11 +
 drivers/crypto/qat/Makefile                   |   1 +
 drivers/crypto/qat/qat_4xxx/Makefile          |   4 +
 .../crypto/qat/qat_4xxx/adf_4xxx_hw_data.c    | 218 ++++++++++++
 .../crypto/qat/qat_4xxx/adf_4xxx_hw_data.h    |  75 ++++
 drivers/crypto/qat/qat_4xxx/adf_drv.c         | 320 ++++++++++++++++++
 drivers/crypto/qat/qat_common/Makefile        |   1 +
 .../crypto/qat/qat_common/adf_accel_devices.h |   5 +
 .../crypto/qat/qat_common/adf_accel_engine.c  |  58 +++-
 .../crypto/qat/qat_common/adf_cfg_common.h    |   3 +-
 .../crypto/qat/qat_common/adf_gen4_hw_data.c  | 101 ++++++
 .../crypto/qat/qat_common/adf_gen4_hw_data.h  |  99 ++++++
 drivers/crypto/qat/qat_common/adf_isr.c       |   3 +
 13 files changed, 893 insertions(+), 6 deletions(-)
 create mode 100644 drivers/crypto/qat/qat_4xxx/Makefile
 create mode 100644 drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c
 create mode 100644 drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
 create mode 100644 drivers/crypto/qat/qat_4xxx/adf_drv.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_hw_data.c
 create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_hw_data.h

Comments

Herbert Xu Nov. 20, 2020, 6:58 a.m. UTC | #1
On Fri, Nov 13, 2020 at 04:46:40PM +0000, Giovanni Cabiddu wrote:
> Add support for QAT 4xxx devices.
> 
> The first patch reworks the logic that loads the firmware images to
> allow for for devices that require multiple firmware images to work.
> The second patch introduces an hook to program the vector routing table,
> which is introduced in QAT 4XXX, to allow to change the vector associated
> with the interrupt source.
> The third patch implements the QAT 4xxx driver.
> 
> Giovanni Cabiddu (3):
>   crypto: qat - target fw images to specific AEs
>   crypto: qat - add hook to initialize vector routing table
>   crypto: qat - add qat_4xxx driver
> 
>  drivers/crypto/qat/Kconfig                    |  11 +
>  drivers/crypto/qat/Makefile                   |   1 +
>  drivers/crypto/qat/qat_4xxx/Makefile          |   4 +
>  .../crypto/qat/qat_4xxx/adf_4xxx_hw_data.c    | 218 ++++++++++++
>  .../crypto/qat/qat_4xxx/adf_4xxx_hw_data.h    |  75 ++++
>  drivers/crypto/qat/qat_4xxx/adf_drv.c         | 320 ++++++++++++++++++
>  drivers/crypto/qat/qat_common/Makefile        |   1 +
>  .../crypto/qat/qat_common/adf_accel_devices.h |   5 +
>  .../crypto/qat/qat_common/adf_accel_engine.c  |  58 +++-
>  .../crypto/qat/qat_common/adf_cfg_common.h    |   3 +-
>  .../crypto/qat/qat_common/adf_gen4_hw_data.c  | 101 ++++++
>  .../crypto/qat/qat_common/adf_gen4_hw_data.h  |  99 ++++++
>  drivers/crypto/qat/qat_common/adf_isr.c       |   3 +
>  13 files changed, 893 insertions(+), 6 deletions(-)
>  create mode 100644 drivers/crypto/qat/qat_4xxx/Makefile
>  create mode 100644 drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c
>  create mode 100644 drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
>  create mode 100644 drivers/crypto/qat/qat_4xxx/adf_drv.c
>  create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_hw_data.c
>  create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_hw_data.h

All applied.  Thanks.