Skip to content

Commit e19e226

Browse files
committed
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu: "Fix a regression in the qat driver" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: qat - do not handle PFVF sources for qat_4xxx
2 parents 2f47a9a + 27750a3 commit e19e226

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ static u32 uof_get_ae_mask(u32 obj_num)
211211
return adf_4xxx_fw_config[obj_num].ae_mask;
212212
}
213213

214+
static u32 get_vf2pf_sources(void __iomem *pmisc_addr)
215+
{
216+
/* For the moment do not report vf2pf sources */
217+
return 0;
218+
}
219+
214220
void adf_init_hw_data_4xxx(struct adf_hw_device_data *hw_data)
215221
{
216222
hw_data->dev_class = &adf_4xxx_class;
@@ -254,6 +260,7 @@ void adf_init_hw_data_4xxx(struct adf_hw_device_data *hw_data)
254260
hw_data->set_msix_rttable = set_msix_default_rttable;
255261
hw_data->set_ssm_wdtimer = adf_gen4_set_ssm_wdtimer;
256262
hw_data->enable_pfvf_comms = pfvf_comms_disabled;
263+
hw_data->get_vf2pf_sources = get_vf2pf_sources;
257264
hw_data->disable_iov = adf_disable_sriov;
258265
hw_data->min_iov_compat_ver = ADF_PFVF_COMPAT_THIS_VERSION;
259266

0 commit comments

Comments
 (0)