On Fri, 03 May 2024 16:36:40 +0300, Ilpo Järvinen wrote: > Convert open coded RMW accesses for LNKCTL2 to use > pcie_capability_clear_and_set_word() which makes its easier to > understand what the code tries to do. > > In addition, this futureproofs the code. LNKCTL2 is not really owned by > any driver because it is a collection of control bits that PCI core > might need to touch. RMW accessors already have support for proper > locking for a selected set of registers to avoid losing concurrent > updates (LNKCTL2 is not yet among the registers that need protection > but likely will be in the future). > > [...] Applied, thanks! [1/1] RDMA/hfi1: Use RMW accessors for changing LNKCTL2 https://git.kernel.org/rdma/rdma/c/8f3b7103b41314 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>