diff options
author | Yihang Li <liyihang9@huawei.com> | 2024-10-08 10:18:12 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-10-15 22:33:34 -0400 |
commit | 2c335fa7e69c06d8932ae8bc0ec7145de2973cf5 (patch) | |
tree | 419535d88b08e4acb2333d344e0b024195b44a04 /tools/perf/scripts/python/task-analyzer.py | |
parent | 436a97c5d2882c09f44d3255ac47f641860faeea (diff) | |
download | linux-2c335fa7e69c06d8932ae8bc0ec7145de2973cf5.tar.gz linux-2c335fa7e69c06d8932ae8bc0ec7145de2973cf5.tar.bz2 linux-2c335fa7e69c06d8932ae8bc0ec7145de2973cf5.zip |
scsi: hisi_sas: Add firmware information check
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.
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>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions