diff options
| author | Luo Jiaxing <luojiaxing@huawei.com> | 2020-09-01 19:13:05 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-02 22:49:08 -0400 |
| commit | caeddc0453b9215669a39ea335f1af1f3f91cc99 (patch) | |
| tree | 9cfa92e93125a30e5500efab8f3c8b5ece074759 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | scsi: hisi_sas: Modify macro name for OOB phy linkrate (diff) | |
| download | linux-caeddc0453b9215669a39ea335f1af1f3f91cc99.tar.gz linux-caeddc0453b9215669a39ea335f1af1f3f91cc99.zip | |
scsi: hisi_sas: Do not modify upper fields of PROG_PHY_LINK_RATE reg
When updating PROG_PHY_LINK_RATE to set linkrate for a phy we used a
hard-coded initial value instead of getting the current value from the
register. The assumption was that this register would not be modified, but
in fact it was partially modified in a new version of hardware. The
hard-coded value we used changed the default value of the register to a an
incorrect setting and as a result the SAS controller could not change
linkrate for the phy.
Delete hard-coded value and always read the latest value of register before
updating it.
Link: https://lore.kernel.org/r/1598958790-232272-4-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
