[PATCH 0/3] PCI LNKCTL2 RMW Accessor Cleanup

From: Ilpo Järvinen
Date: Thu Feb 15 2024 - 08:32:19 EST


This series converts open-coded LNKCTL2 RMW accesses to use RMW
accessor. These patches used to be part of PCIe BW controller series
[1] which will require RMW ops to LNKCTL2 be properly locked.

However, since these RMW accessor patches are useful as cleanups on
their own I chose to send them now separately to reduce the size of the
BW controller series.

[1] https://lore.kernel.org/linux-pci/20240105112547.7301-1-ilpo.jarvinen@xxxxxxxxxxxxxxx/

Ilpo Järvinen (3):
drm/radeon: Use RMW accessors for changing LNKCTL2
drm/amdgpu: Use RMW accessors for changing LNKCTL2
RDMA/hfi1: Use RMW accessors for changing LNKCTL2

drivers/gpu/drm/amd/amdgpu/cik.c | 41 +++++++++++--------------------
drivers/gpu/drm/amd/amdgpu/si.c | 41 +++++++++++--------------------
drivers/gpu/drm/radeon/cik.c | 40 +++++++++++-------------------
drivers/gpu/drm/radeon/si.c | 40 +++++++++++-------------------
drivers/infiniband/hw/hfi1/pcie.c | 30 ++++++----------------
5 files changed, 68 insertions(+), 124 deletions(-)

--
2.39.2