diff options
author | Ilpo Järvinen <[email protected]> | 2023-07-17 15:04:54 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-08-10 11:13:22 -0500 |
commit | fb0171a4c01b4825e36a5584eaa84291179c64ce (patch) | |
tree | f0cd836069ef1ff7c32f9678f265c7294a1f372d /drivers/gpu/drm/amd/amdgpu/si.c | |
parent | 5e70d0acf0825f439079736080350371f8d6699a (diff) |
PCI: Make link retraining use RMW accessors for changing LNKCTL
Don't assume that the device is fully under the control of PCI core. Use
RMW capability accessors in link retraining which do proper locking to
avoid losing concurrent updates to the register values.
Suggested-by: Lukas Wunner <[email protected]>
Fixes: 4ec73791a64b ("PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum")
Fixes: 7d715a6c1ae5 ("PCI: add PCI Express ASPM support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: "Rafael J. Wysocki" <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
0 files changed, 0 insertions, 0 deletions