Skip to contentSkip to conversation

docs/cxl: Correct CFMW number

PATCH In review Li Zhijian 3 participants 5 messages May 24, 2023 – May 26, 2023

lore
Share & tools
lore

Li Zhijian

author
#0 lore raw

PATCH 1/2 docs/cxl: Correct CFMW number

The 'Notes:' in this document mentioned CFMW{0-2}, but the figure missed CFMW2.

---
I'm totally new to CXL, so i have little confidence to this change :)

---
 docs/system/devices/cxl.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/system/devices/cxl.rst +2 -2
index dce43476129..d3577a4d6da 100644
@@ -162,7 +162,7 @@ Example system Topology. x marks the match in each decoder level::
   |<------------------SYSTEM PHYSICAL ADDRESS MAP (1)----------------->|
   |    __________   __________________________________   __________    |
   |   |          | |                                  | |          |   |
-  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 1   |   |
+  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 2   |   |
   |   | HB0 only | |  Configured to interleave memory | | HB1 only |   |
   |   |          | |  memory accesses across HB0/HB1  | |          |   |
   |   |__________| |_____x____________________________| |__________|   |
@@ -247,7 +247,7 @@ Example topology involving a switch::
   |<------------------SYSTEM PHYSICAL ADDRESS MAP (1)----------------->|
   |    __________   __________________________________   __________    |
   |   |          | |                                  | |          |   |
-  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 1   |   |
+  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 2   |   |
   |   | HB0 only | |  Configured to interleave memory | | HB1 only |   |
   |   |          | |  memory accesses across HB0/HB1  | |          |   |
   |   |____x_____| |__________________________________| |__________|   |
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 2/2 docs/clx: Change to lowercase as others

Using the same style except the 'Topo' abbreviation.

---
I'm not a native speaker, feel free to correct me.

---
 docs/system/devices/cxl.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
docs/system/devices/cxl.rst +4 -4
index d3577a4d6da..56414d25871 100644
@@ -157,7 +157,7 @@ responsible for allocating appropriate ranges from within the CFMWs
 and exposing those via normal memory configurations as would be done
 for system RAM.
 
-Example system Topology. x marks the match in each decoder level::
+Example system topology. x marks the match in each decoder level::
 
   |<------------------SYSTEM PHYSICAL ADDRESS MAP (1)----------------->|
   |    __________   __________________________________   __________    |
@@ -187,8 +187,8 @@ Example system Topology. x marks the match in each decoder level::
        ___________|___   __________|__   __|_________   ___|_________
    (3)|  Root Port 0  | | Root Port 1 | | Root Port 2| | Root Port 3 |
       |  Appears in   | | Appears in  | | Appears in | | Appear in   |
-      |  PCI topology | | PCI Topology| | PCI Topo   | | PCI Topo    |
-      |  As 0c:00.0   | | as 0c:01.0  | | as de:00.0 | | as de:01.0  |
+      |  PCI topology | | PCI topology| | PCI Topo   | | PCI Topo    |
+      |  as 0c:00.0   | | as 0c:01.0  | | as de:00.0 | | as de:01.0  |
       |_______________| |_____________| |____________| |_____________|
             |                  |               |              |
             |                  |               |              |
@@ -272,7 +272,7 @@ Example topology involving a switch::
       |  Root Port 0  |
       |  Appears in   |
       |  PCI topology |
-      |  As 0c:00.0   |
+      |  as 0c:00.0   |
       |___________x___|
                   |
                   |
Signature · 1 line
2.31.1
#2 lore raw

Re: [PATCH 2/2] docs/clx: Change to lowercase as others

Quoted 5 lines · On Fri, 19 May 2023 16:58:02 +0800 Li Zhijian <[email protected]> wrote:

Using the same style except the 'Topo' abbreviation.

---
I'm not a native speaker, feel free to correct me.

I've edited slightly and applied to my local staging tree for cxl patches. Includes fixing docs/clx -> docs/cxl in the patch title.

Thanks, I'll queue this up with the next series of refactoring patches etc,

Jonathan

Quoted 18 lines
---
 docs/system/devices/cxl.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
docs/system/devices/cxl.rst +1 -1
index d3577a4d6da..56414d25871 100644
@@ -157,7 +157,7 @@ responsible for allocating appropriate ranges from within the CFMWs
 and exposing those via normal memory configurations as would be done
 for system RAM.
 
-Example system Topology. x marks the match in each decoder level::
+Example system topology. x marks the match in each decoder level::
 
   |<------------------SYSTEM PHYSICAL ADDRESS MAP (1)----------------->|
   |    __________   __________________________________   __________    |

docs/system/devices/cxl.rst Example system Topology. x marks the match in each decoder level:: · line 190

Quoted 6 lines
docs/system/devices/cxl.rst +1 -2
@@ -187,8 +187,8 @@ Example system Topology. x marks the match in each decoder level::
        ___________|___   __________|__   __|_________   ___|_________
    (3)|  Root Port 0  | | Root Port 1 | | Root Port 2| | Root Port 3 |
       |  Appears in   | | Appears in  | | Appears in | | Appear in   |
-      |  PCI topology | | PCI Topology| | PCI Topo   | | PCI Topo    |
-      |  As 0c:00.0   | | as 0c:01.0  | | as de:00.0 | | as de:01.0  |
+      |  PCI topology | | PCI topology| | PCI Topo   | | PCI Topo    |

I've switched to topo for the abbreviation as well. No particular reason it should have a capital letter.

Quoted 13 lines
docs/system/devices/cxl.rst +2 -1
+      |  as 0c:00.0   | | as 0c:01.0  | | as de:00.0 | | as de:01.0  |
       |_______________| |_____________| |____________| |_____________|
             |                  |               |              |
             |                  |               |              |
@@ -272,7 +272,7 @@ Example topology involving a switch::
       |  Root Port 0  |
       |  Appears in   |
       |  PCI topology |
-      |  As 0c:00.0   |
+      |  as 0c:00.0   |
       |___________x___|
                   |
                   |
#3 lore raw

Re: [PATCH 2/2] docs/clx: Change to lowercase as others

Quoted 5 lines · Jonathan Cameron via
Quoted 2 lines · On Fri, 19 May 2023 16:58:02 +0800 Li Zhijian <[email protected]> wrote:

Using the same style except the 'Topo' abbreviation.

Quoted 8 lines
Quoted 3 lines

---
I'm not a native speaker, feel free to correct me.

I've edited slightly and applied to my local staging tree for cxl patches. Includes fixing docs/clx -> docs/cxl in the patch title.

Thanks, I'll queue this up with the next series of refactoring patches etc,

Thank you for your help.

Thanks
Zhijian

Quoted 47 lines

Jonathan

Quoted 18 lines
---
  docs/system/devices/cxl.rst | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
docs/system/devices/cxl.rst +1 -1
index d3577a4d6da..56414d25871 100644
@@ -157,7 +157,7 @@ responsible for allocating appropriate ranges from within the CFMWs
  and exposing those via normal memory configurations as would be done
  for system RAM.
 
-Example system Topology. x marks the match in each decoder level::
+Example system topology. x marks the match in each decoder level::
 
    |<------------------SYSTEM PHYSICAL ADDRESS MAP (1)----------------->|
    |    __________   __________________________________   __________    |

docs/system/devices/cxl.rst Example system Topology. x marks the match in each decoder level:: · line 190

Quoted 6 lines
docs/system/devices/cxl.rst +1 -2
@@ -187,8 +187,8 @@ Example system Topology. x marks the match in each decoder level::
         ___________|___   __________|__   __|_________   ___|_________
     (3)|  Root Port 0  | | Root Port 1 | | Root Port 2| | Root Port 3 |
        |  Appears in   | | Appears in  | | Appears in | | Appear in   |
-      |  PCI topology | | PCI Topology| | PCI Topo   | | PCI Topo    |
-      |  As 0c:00.0   | | as 0c:01.0  | | as de:00.0 | | as de:01.0  |
+      |  PCI topology | | PCI topology| | PCI Topo   | | PCI Topo    |

I've switched to topo for the abbreviation as well. No particular reason it should have a capital letter.

Quoted 13 lines
docs/system/devices/cxl.rst +2 -1
+      |  as 0c:00.0   | | as 0c:01.0  | | as de:00.0 | | as de:01.0  |
        |_______________| |_____________| |____________| |_____________|
              |                  |               |              |
              |                  |               |              |
@@ -272,7 +272,7 @@ Example topology involving a switch::
        |  Root Port 0  |
        |  Appears in   |
        |  PCI topology |
-      |  As 0c:00.0   |
+      |  as 0c:00.0   |
        |___________x___|
                    |
                    |
#4 lore raw
In reply to Li Zhijian
Quoted 7 lines · On Fri, 19 May 2023 16:58:01 +0800 Li Zhijian <[email protected]> wrote:

The 'Notes:' in this document mentioned CFMW{0-2}, but the figure missed CFMW2.

---
I'm totally new to CXL, so i have little confidence to this change :)

I believe this one is already fixed upstream by Brice Goglin
https://gitlab.com/qemu-project/qemu/-/commit/ca4750583a597e97cbf8cec008d228f95d22c4

Otherwise was good!

Thanks,

Jonathan

Quoted 26 lines
---
 docs/system/devices/cxl.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/system/devices/cxl.rst +2 -2
index dce43476129..d3577a4d6da 100644
@@ -162,7 +162,7 @@ Example system Topology. x marks the match in each decoder level::
   |<------------------SYSTEM PHYSICAL ADDRESS MAP (1)----------------->|
   |    __________   __________________________________   __________    |
   |   |          | |                                  | |          |   |
-  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 1   |   |
+  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 2   |   |
   |   | HB0 only | |  Configured to interleave memory | | HB1 only |   |
   |   |          | |  memory accesses across HB0/HB1  | |          |   |
   |   |__________| |_____x____________________________| |__________|   |
@@ -247,7 +247,7 @@ Example topology involving a switch::
   |<------------------SYSTEM PHYSICAL ADDRESS MAP (1)----------------->|
   |    __________   __________________________________   __________    |
   |   |          | |                                  | |          |   |
-  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 1   |   |
+  |   | CFMW 0   | |  CXL Fixed Memory Window 1       | | CFMW 2   |   |
   |   | HB0 only | |  Configured to interleave memory | | HB1 only |   |
   |   |          | |  memory accesses across HB0/HB1  | |          |   |
   |   |____x_____| |__________________________________| |__________|   |