Skip to contentSkip to conversation

crypto: qat - specify firmware files for 402xx

PATCH In review Giovanni Cabiddu 2 participants 2 messages Apr 22, 2024 – May 3, 2024

Subsystems (2)
lore
Share & tools
lore

Giovanni Cabiddu

author maintainer
#0 lore raw

PATCH 1/1 crypto: qat - specify firmware files for 402xx

The 4xxx driver can probe 4xxx and 402xx devices. However, the driver only specifies the firmware images required for 4xxx.
This might result in external tools missing these binaries, if required, in the initramfs.

Specify the firmware image used by 402xx with the MODULE_FIRMWARE() macros in the 4xxx driver.

Fixes a3e8c919b993 ("crypto: qat - add support for 402xx devices")
---
 drivers/crypto/intel/qat/qat_4xxx/adf_drv.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/crypto/intel/qat/qat_4xxx/adf_drv.c +2 -0
index 9762f2bf7727..d26564cebdec 100644
@@ -197,7 +197,9 @@ module_pci_driver(adf_driver);
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_AUTHOR("Intel");
 MODULE_FIRMWARE(ADF_4XXX_FW);
+MODULE_FIRMWARE(ADF_402XX_FW);
 MODULE_FIRMWARE(ADF_4XXX_MMP);
+MODULE_FIRMWARE(ADF_402XX_MMP);
 MODULE_DESCRIPTION("Intel(R) QuickAssist Technology");
 MODULE_VERSION(ADF_DRV_VERSION);
 MODULE_SOFTDEP("pre: crypto-intel_qat");
Signature · 1 line
2.44.0
maintainer
#1 lore raw
Quoted 8 lines · Giovanni Cabiddu

The 4xxx driver can probe 4xxx and 402xx devices. However, the driver only specifies the firmware images required for 4xxx.
This might result in external tools missing these binaries, if required, in the initramfs.

Specify the firmware image used by 402xx with the MODULE_FIRMWARE() macros in the 4xxx driver.

Quoted 6 lines
Fixes a3e8c919b993 ("crypto: qat - add support for 402xx devices")
---
 drivers/crypto/intel/qat/qat_4xxx/adf_drv.c | 2 ++
 1 file changed, 2 insertions(+)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt