Loading
scsi: hisi_sas: Add firmware information check
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB5FF2 CVE: NA --------------------------------------------------------------------- For security purposes, after information is obtained through the FW, check information to ensure data correctness. - In v1 and v2 hw, the maximum number of PHYs is 9, while in v3 it is 8. - In v2 and v3 hw, the maximum number of hardware queues is 16, while in v1 it is 32. Also add some debug logs for failure. Fixes: e21fe3a5 ("scsi: hisi_sas: add initialisation for v3 pci-based controller") Signed-off-by:Yihang Li <liyihang9@huawei.com> Link: https://lore.kernel.org/r/20241008021822.2617339-4-liyihang9@huawei.com Reviewed-by:
Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Bing Xia <xiabing12@h-partners.com>