Merge branch 'pci/pcie-rmw'
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2023 16:03:49 +0000 (11:03 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2023 16:03:49 +0000 (11:03 -0500)
commit8b524514e49670d3ab81c7dca18fdc55d82631d4
tree681257fbda0657d2fee37fbcc3999ce419515786
parentd4a0f52c962f048821b2c89b48a6e6808d65aab9
parent294c1e4fa73f545c7e1ac7e90a447c18094b318b
Merge branch 'pci/pcie-rmw'

- Add locking for read/modify/write PCIe Capability Register accessors for
  Link Control and Root Control (Ilpo Järvinen)

- Use PCIe RMW accessors for Link Control updates in PCI core, pciehp,
  amdgpu, radeon, mlx5, ath10k, ath11k, ath12k (Ilpo Järvinen)

- Convert PCIBIOS error values in mlx5 to generic errnos (Ilpo Järvinen)

- Simplify pcie_capability_clear_and_set_word() control flow (Bjorn
  Helgaas)

* pci/pcie-rmw:
  PCI: Simplify pcie_capability_clear_and_set_word() control flow
  net/mlx5: Convert PCI error values to generic errnos
  PCI: Document the Capability accessor RMW improvements
  wifi: ath10k: Use RMW accessors for changing LNKCTL
  wifi: ath12k: Use RMW accessors for changing LNKCTL
  wifi: ath11k: Use RMW accessors for changing LNKCTL
  net/mlx5: Use RMW accessors for changing LNKCTL
  drm/radeon: Use RMW accessors for changing LNKCTL
  drm/amdgpu: Use RMW accessors for changing LNKCTL
  PCI/ASPM: Use RMW accessors for changing LNKCTL
  PCI: pciehp: Use RMW accessors for changing LNKCTL
  PCI: Make link retraining use RMW accessors for changing LNKCTL
  PCI: Add locking to RMW PCI Express Capability Register accessors