scsi: hisi_sas: Limit users changing debugfs BIST count value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04-hwe |
Fix Released
|
Undecided
|
Ike Panhc |
Bug Description
[Bug Description]
After the cnt error code is set to 100, no error is reported.
[Steps to Reproduce]
1)dmesg -C
2)lsblk
3)lsscsi -p
4)dmesg
5)lsmod | grep hisi_sas_v3
6)mount | grep debugfs
7)rmmod hisi_sas_v3_hw
8)rmmod hisi_sas_main
9)modprobe hisi_sas_main debugfs_enable=1
10)modprobe hisi_sas_v3_hw
11)cd /sys/kernel/
12)ll
13)cd bist/
14)cat enable
15)cat cnt
16)echo 49 > cnt
17)echo 100 > cnt
18)dmesg
[Actual Results]
echo ok
[Expected Results]
echo fail
[Reproducibility]
Conditionally recurs.
[Additional information]
Ubuntu-
[Resolution]
scsi: hisi_sas: Limit users changing debugfs BIST count value
https:/
Looks good to me. I will try to backport and reproduce.