Skip to content

Commit fad610b

Browse files
ij-intelbjorn-helgaas
authored andcommitted
Documentation PCI: Reformat RMW ops documentation
Extract the list of RMW protected PCIe Capability registers into a bullet list to make them easier to pick up on a glance. An upcoming change is going to add one more register among them so it will be much cleaner to have them as bullets. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Lukas Wunner <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]>
1 parent 9852d85 commit fad610b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Documentation/PCI/pciebus-howto.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,11 @@ capability structure except the PCI Express capability structure,
217217
that is shared between many drivers including the service drivers.
218218
RMW Capability accessors (pcie_capability_clear_and_set_word(),
219219
pcie_capability_set_word(), and pcie_capability_clear_word()) protect
220-
a selected set of PCI Express Capability Registers (Link Control
221-
Register and Root Control Register). Any change to those registers
222-
should be performed using RMW accessors to avoid problems due to
223-
concurrent updates. For the up-to-date list of protected registers,
224-
see pcie_capability_clear_and_set_word().
220+
a selected set of PCI Express Capability Registers:
221+
222+
* Link Control Register
223+
* Root Control Register
224+
225+
Any change to those registers should be performed using RMW accessors to
226+
avoid problems due to concurrent updates. For the up-to-date list of
227+
protected registers, see pcie_capability_clear_and_set_word().

0 commit comments

Comments
 (0)