2020-11-13 16:49:18

by Cabiddu, Giovanni

[permalink] [raw]
Subject: [PATCH 0/3] crypto: qat - add qat_4xxx driver

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

--
2.28.0


2020-11-20 06:59:44

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH 0/3] crypto: qat - add qat_4xxx driver

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.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt