diff options
author | Yihang Li <[email protected]> | 2024-10-08 10:18:12 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-10-15 22:33:34 -0400 |
commit | 2c335fa7e69c06d8932ae8bc0ec7145de2973cf5 (patch) | |
tree | 419535d88b08e4acb2333d344e0b024195b44a04 /tools/perf/scripts/python/sctop.py | |
parent | 436a97c5d2882c09f44d3255ac47f641860faeea (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Xiang Chen <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions