提交 8281a899 编写于 作者: Y Yupeng Zhou 提交者: Xie XiuQi

hisi_sas: Fix the issue of SAS panic in 1616 scenario.

driver inclusion
category: feature
bugzilla: NA
CVE: NA

This patch fix the issue of SAS panic in 1616 scenario.
set the numa_num_per_node parameter with the default value..
Signed-off-by: NYupeng Zhou <zhouyupeng1@huawei.com>
Reviewed-by: NJian Luo <luojian5@huawei.com>
Reviewed-by: NChuan Gao <gaochuan4@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 e3b9140e
......@@ -3420,6 +3420,7 @@ static int interrupt_init_v2_hw(struct hisi_hba *hisi_hba)
}
hisi_hba->nvecs = hisi_hba->queue_count;
hisi_hba->dq_num_per_node = hisi_hba->queue_count / num_online_nodes();
return 0;
free_cq_int_irqs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册