crypto: qat - add capability detection logic in qat_4xxx
Add logic to detect device capabilities in qat_4xxx driver. Read fuses and build the device capabilities mask. This will enable services and handling specific to QAT 4xxx devices. Co-developed-by:Tomaszx Kowalik <tomaszx.kowalik@intel.com> Signed-off-by:
Tomaszx Kowalik <tomaszx.kowalik@intel.com> Signed-off-by:
Marco Chiappero <marco.chiappero@intel.com> Reviewed-by:
Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by:
Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Showing
- drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c 24 additions, 0 deletionsdrivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c
- drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h 11 additions, 0 deletionsdrivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
- drivers/crypto/qat/qat_4xxx/adf_drv.c 3 additions, 0 deletionsdrivers/crypto/qat/qat_4xxx/adf_drv.c
Please register or sign in to comment