diff options
| author | Luo Jiaxing <[email protected]> | 2020-09-01 19:13:05 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-09-02 22:49:08 -0400 |
| commit | caeddc0453b9215669a39ea335f1af1f3f91cc99 (patch) | |
| tree | 9cfa92e93125a30e5500efab8f3c8b5ece074759 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4b3a1f1feda62b0b15536548b6d31ca549de2e3a (diff) | |
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/[email protected]
Signed-off-by: Luo Jiaxing <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions