Skip to content

Commit e1d54d1

Browse files
dmuszynsherbertx
authored andcommitted
crypto: qat - fix arbiter mapping generation algorithm for QAT 402xx
The commit "crypto: qat - generate dynamically arbiter mappings" introduced a regression on qat_402xx devices. This is reported when the driver probes the device, as indicated by the following error messages: 4xxx 0000:0b:00.0: enabling device (0140 -> 0142) 4xxx 0000:0b:00.0: Generate of the thread to arbiter map failed 4xxx 0000:0b:00.0: Direct firmware load for qat_402xx_mmp.bin failed with error -2 The root cause of this issue was the omission of a necessary function pointer required by the mapping algorithm during the implementation. Fix it by adding the missing function pointer. Fixes: 5da6a2d ("crypto: qat - generate dynamically arbiter mappings") Signed-off-by: Damian Muszynski <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 6613476 commit e1d54d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ void adf_init_hw_data_4xxx(struct adf_hw_device_data *hw_data, u32 dev_id)
463463
hw_data->fw_name = ADF_402XX_FW;
464464
hw_data->fw_mmp_name = ADF_402XX_MMP;
465465
hw_data->uof_get_name = uof_get_name_402xx;
466+
hw_data->get_ena_thd_mask = get_ena_thd_mask;
466467
break;
467468
case ADF_401XX_PCI_DEVICE_ID:
468469
hw_data->fw_name = ADF_4XXX_FW;

0 commit comments

Comments
 (0)