[PATCH v4 03/10] scsi: hisi_sas: fix the issue of link rate inconsistency

2018-03-07 Thread John Garry
From: Xiaofei Tan In sysfs, there are two files about minimum linkrate, and also two files for maximum linkrate. Take maximum linkrate example, maximum_linkrate_hw is read-only and indicated by the register HARD_PHY_LINKRATE, and maximum_linkrate is read-write and

[PATCH v4 03/10] scsi: hisi_sas: fix the issue of link rate inconsistency

2018-03-07 Thread John Garry
From: Xiaofei Tan In sysfs, there are two files about minimum linkrate, and also two files for maximum linkrate. Take maximum linkrate example, maximum_linkrate_hw is read-only and indicated by the register HARD_PHY_LINKRATE, and maximum_linkrate is read-write and corresponding to the register