Skip to content

Commit a3bf6b4

Browse files
Gregory Pricedavejiang
authored andcommitted
cxl: docs - access-coordinates doc fixups
Place the hierarchy diagram in access-coordinates.rst in a code block. Fix a few grammar issues. Suggested-by: Randy Dunlap <[email protected]> Suggested-by: Bagas Sanjaya <[email protected]> Signed-off-by: Gregory Price <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
1 parent a770647 commit a3bf6b4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Documentation/driver-api/cxl/linux/access-coordinates.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ There can be multiple switches under an RP. There can be multiple RPs under
2626
a CXL Host Bridge (HB). There can be multiple HBs under a CXL Fixed Memory
2727
Window Structure (CFMWS).
2828

29-
An example hierarchy:
29+
An example hierarchy::
3030

31-
> CFMWS 0
32-
> |
33-
> _________|_________
34-
> | |
35-
> ACPI0017-0 ACPI0017-1
36-
> GP0/HB0/ACPI0016-0 GP1/HB1/ACPI0016-1
37-
> | | | |
38-
> RP0 RP1 RP2 RP3
39-
> | | | |
40-
> SW 0 SW 1 SW 2 SW 3
41-
> | | | | | | | |
42-
> EP0 EP1 EP2 EP3 EP4 EP5 EP6 EP7
31+
CFMWS 0
32+
|
33+
_________|_________
34+
| |
35+
ACPI0017-0 ACPI0017-1
36+
GP0/HB0/ACPI0016-0 GP1/HB1/ACPI0016-1
37+
| | | |
38+
RP0 RP1 RP2 RP3
39+
| | | |
40+
SW 0 SW 1 SW 2 SW 3
41+
| | | | | | | |
42+
EP0 EP1 EP2 EP3 EP4 EP5 EP6 EP7
4343

4444
Computation for the example hierarchy:
4545

@@ -82,8 +82,8 @@ this point all the bandwidths are aggregated per each host bridge, which is
8282
also the index for the resulting xarray.
8383

8484
The next step is to take the min() of the per host bridge bandwidth and the
85-
bandwidth from the Generic Port (GP). The bandwidths for the GP is retrieved
86-
via ACPI tables SRAT/HMAT. The min bandwidth are aggregated under the same
85+
bandwidth from the Generic Port (GP). The bandwidths for the GP are retrieved
86+
via ACPI tables SRAT/HMAT. The minimum bandwidth are aggregated under the same
8787
ACPI0017 device to form a new xarray.
8888

8989
Finally, the cxl_region_update_bandwidth() is called and the aggregated

0 commit comments

Comments
 (0)