summaryrefslogtreecommitdiff
path: root/Documentation/PCI
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-10-18 17:47:48 +0300
committerBjorn Helgaas <bhelgaas@google.com>2024-10-23 16:50:02 -0500
commit04af8a399fa40310f831b4f1dc9f757085f41983 (patch)
treef8191c9677aa4d0ace2d012d832aa09c5012e14c /Documentation/PCI
parentfad610b987132868e3410c530871086552ce6155 (diff)
downloadlinux-04af8a399fa40310f831b4f1dc9f757085f41983.tar.gz
linux-04af8a399fa40310f831b4f1dc9f757085f41983.tar.bz2
linux-04af8a399fa40310f831b4f1dc9f757085f41983.zip
PCI: Protect Link Control 2 Register with RMW locking
The PCIe Bandwidth Controller performs RMW accesses the Link Control 2 Register which can occur concurrently to other sources of Link Control 2 Register writes. Therefore, add Link Control 2 Register among the PCI Express Capability Registers that need RMW locking. Link: https://lore.kernel.org/r/20241018144755.7875-3-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Lukas Wunner <lukas@wunner.de> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/PCI')
-rw-r--r--Documentation/PCI/pciebus-howto.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/PCI/pciebus-howto.rst b/Documentation/PCI/pciebus-howto.rst
index e48d01422efc..375d9ce171f6 100644
--- a/Documentation/PCI/pciebus-howto.rst
+++ b/Documentation/PCI/pciebus-howto.rst
@@ -221,6 +221,7 @@ a selected set of PCI Express Capability Registers:
* Link Control Register
* Root Control Register
+* Link Control 2 Register
Any change to those registers should be performed using RMW accessors to
avoid problems due to concurrent updates. For the up-to-date list of