Skip to contentSkip to conversation

docs/cxl: fix some typos

PATCH Superseded Hyeongtak Ji 2 participants 4 messages Jun 19, 2024 – Jun 24, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/cxl: fix some typos

---
 docs/system/devices/cxl.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/system/devices/cxl.rst +3 -3
index 10a0e9bc9ff4..e2497e6a098b 100644
@@ -218,17 +218,17 @@ Notes:
     A complex configuration here, might be to use the following HDM
     decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
     part of CXL Type3 0. HDM1 routes CFMW0 requests from a
-    different region of the CFMW0 PA range to RP2 and hence part
+    different region of the CFMW0 PA range to RP1 and hence part
     of CXL Type 3 1.  HDM2 routes yet another PA range from within
     CFMW0 to be interleaved across RP0 and RP1, providing 2 way
     interleave of part of the memory provided by CXL Type3 0 and
     CXL Type 3 1. HDM3 routes those interleaved accesses from
     CFMW1 that target HB0 to RP 0 and another part of the memory of
     CXL Type 3 0 (as part of a 2 way interleave at the system level
-    across for example CXL Type3 0 and CXL Type3 2.
+    across for example CXL Type3 0 and CXL Type3 1).
     HDM4 is used to enable system wide 4 way interleave across all
     the present CXL type3 devices, by interleaving those (interleaved)
-    requests that HB0 receives from from CFMW1 across RP 0 and
+    requests that HB0 receives from CFMW1 across RP 0 and
     RP 1 and hence to yet more regions of the memory of the
     attached Type3 devices.  Note this is a representative subset
     of the full range of possible HDM decoder configurations in this
Signature · 1 line
2.34.1
#1 lore raw

On Wed, 19 Jun 2024 13:54:59 +0900
Hyeongtak Ji <[email protected]> wrote:

Hi, some description would be good of how you caught these (I'm guessing a close read).

Whilst checking this I did notice there are some errors in the example bus numbering but that's a separate issue.

Jonathan

Quoted 10 lines
---
 docs/system/devices/cxl.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/system/devices/cxl.rst +0 -0
index 10a0e9bc9ff4..e2497e6a098b 100644

docs/system/devices/cxl.rst Notes: · line 221

Quoted 5 lines
docs/system/devices/cxl.rst +1 -1
@@ -218,17 +218,17 @@ Notes:
     A complex configuration here, might be to use the following HDM
     decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
     part of CXL Type3 0. HDM1 routes CFMW0 requests from a
-    different region of the CFMW0 PA range to RP2 and hence part
+    different region of the CFMW0 PA range to RP1 and hence part

Good catch.

docs/system/devices/cxl.rst Notes: · line 228

Quoted 8 lines
docs/system/devices/cxl.rst +1 -1
     of CXL Type 3 1.  HDM2 routes yet another PA range from within
     CFMW0 to be interleaved across RP0 and RP1, providing 2 way
     interleave of part of the memory provided by CXL Type3 0 and
     CXL Type 3 1. HDM3 routes those interleaved accesses from
     CFMW1 that target HB0 to RP 0 and another part of the memory of
     CXL Type 3 0 (as part of a 2 way interleave at the system level
-    across for example CXL Type3 0 and CXL Type3 2.
+    across for example CXL Type3 0 and CXL Type3 1).

This one is wrong. CFMW1 interleaves across both host bridges so we need a device below HB0 and one below HB1, so CXL type3 2 is a possible choice (could be CXL type3 3 as well, but that doesn't matter.)

docs/system/devices/cxl.rst Notes: · line 231

Quoted 4 lines
docs/system/devices/cxl.rst +1 -1
     HDM4 is used to enable system wide 4 way interleave across all
     the present CXL type3 devices, by interleaving those (interleaved)
-    requests that HB0 receives from from CFMW1 across RP 0 and
+    requests that HB0 receives from CFMW1 across RP 0 and

Good.

Quoted 3 lines
docs/system/devices/cxl.rst +0 -0
     RP 1 and hence to yet more regions of the memory of the
     attached Type3 devices.  Note this is a representative subset
     of the full range of possible HDM decoder configurations in this
#2 lore raw

Hello Jonathan,

Thank you for your response.

Quoted 6 lines · Jonathan Cameron

On Wed, 19 Jun 2024 13:54:59 +0900
Hyeongtak Ji <[email protected]> wrote:

Hi, some description would be good of how you caught these (I'm guessing a close read).

Just to confirm, are you suggesting that the patch should include a commit message? I apologize for submitting the patch without any sufficient explanation. However, I am not entirely sure if "how I found these typos" needs to be included in the commit message. For your information, I discovered these typos because the ASCII art did not align with the explanations (yes, a close read).

Quoted 33 lines

Whilst checking this I did notice there are some errors in the example bus numbering but that's a separate issue.

Jonathan

Quoted 10 lines
---
 docs/system/devices/cxl.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/system/devices/cxl.rst +0 -0
index 10a0e9bc9ff4..e2497e6a098b 100644

docs/system/devices/cxl.rst Notes: · line 221

Quoted 5 lines
docs/system/devices/cxl.rst +1 -1
@@ -218,17 +218,17 @@ Notes:
     A complex configuration here, might be to use the following HDM
     decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
     part of CXL Type3 0. HDM1 routes CFMW0 requests from a
-    different region of the CFMW0 PA range to RP2 and hence part
+    different region of the CFMW0 PA range to RP1 and hence part

Good catch.

docs/system/devices/cxl.rst Notes: · line 228

Quoted 8 lines
docs/system/devices/cxl.rst +1 -1
     of CXL Type 3 1.  HDM2 routes yet another PA range from within
     CFMW0 to be interleaved across RP0 and RP1, providing 2 way
     interleave of part of the memory provided by CXL Type3 0 and
     CXL Type 3 1. HDM3 routes those interleaved accesses from
     CFMW1 that target HB0 to RP 0 and another part of the memory of
     CXL Type 3 0 (as part of a 2 way interleave at the system level
-    across for example CXL Type3 0 and CXL Type3 2.
+    across for example CXL Type3 0 and CXL Type3 1).
Quoted 3 lines

This one is wrong. CFMW1 interleaves across both host bridges so we need a device below HB0 and one below HB1, so CXL type3 2 is a possible choice (could be CXL type3 3 as well, but that doesn't matter.)

Oh, I misunderstood the original explanation. I will correct it just by adding the missing parenthesis instead.

Quoted 11 lines

docs/system/devices/cxl.rst Notes: · line 231

Quoted 5 lines
docs/system/devices/cxl.rst +1 -1
     HDM4 is used to enable system wide 4 way interleave across all
     the present CXL type3 devices, by interleaving those (interleaved)
-    requests that HB0 receives from from CFMW1 across RP 0 and
+    requests that HB0 receives from CFMW1 across RP 0 and

Good.

Quoted 3 lines
docs/system/devices/cxl.rst +0 -0
     RP 1 and hence to yet more regions of the memory of the
     attached Type3 devices.  Note this is a representative subset
     of the full range of possible HDM decoder configurations in this

I will send V2 with a decent explanation and the corrected typo fix.

Kind regards,
Hyeongtak

Quoted 53 lines · Jonathan Cameron

On Wed, 19 Jun 2024 13:54:59 +0900
Hyeongtak Ji <[email protected]> wrote:

Hi, some description would be good of how you caught these (I'm guessing a close read).

Whilst checking this I did notice there are some errors in the example bus numbering but that's a separate issue.

Jonathan

Quoted 10 lines
---
 docs/system/devices/cxl.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/system/devices/cxl.rst +0 -0
index 10a0e9bc9ff4..e2497e6a098b 100644

docs/system/devices/cxl.rst Notes: · line 221

Quoted 5 lines
docs/system/devices/cxl.rst +1 -1
@@ -218,17 +218,17 @@ Notes:
     A complex configuration here, might be to use the following HDM
     decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
     part of CXL Type3 0. HDM1 routes CFMW0 requests from a
-    different region of the CFMW0 PA range to RP2 and hence part
+    different region of the CFMW0 PA range to RP1 and hence part

Good catch.

docs/system/devices/cxl.rst Notes: · line 228

Quoted 8 lines
docs/system/devices/cxl.rst +1 -1
     of CXL Type 3 1.  HDM2 routes yet another PA range from within
     CFMW0 to be interleaved across RP0 and RP1, providing 2 way
     interleave of part of the memory provided by CXL Type3 0 and
     CXL Type 3 1. HDM3 routes those interleaved accesses from
     CFMW1 that target HB0 to RP 0 and another part of the memory of
     CXL Type 3 0 (as part of a 2 way interleave at the system level
-    across for example CXL Type3 0 and CXL Type3 2.
+    across for example CXL Type3 0 and CXL Type3 1).

This one is wrong. CFMW1 interleaves across both host bridges so we need a device below HB0 and one below HB1, so CXL type3 2 is a possible choice (could be CXL type3 3 as well, but that doesn't matter.)

docs/system/devices/cxl.rst Notes: · line 231

Quoted 4 lines
docs/system/devices/cxl.rst +1 -1
     HDM4 is used to enable system wide 4 way interleave across all
     the present CXL type3 devices, by interleaving those (interleaved)
-    requests that HB0 receives from from CFMW1 across RP 0 and
+    requests that HB0 receives from CFMW1 across RP 0 and

Good.

Quoted 3 lines
docs/system/devices/cxl.rst +0 -0
     RP 1 and hence to yet more regions of the memory of the
     attached Type3 devices.  Note this is a representative subset
     of the full range of possible HDM decoder configurations in this
#3 lore raw
Quoted 13 lines · On Sat, 22 Jun 2024 16:25:26 +0900 Hyeongtak Ji <[email protected]> wrote:

Hello Jonathan,

Thank you for your response.

Quoted 6 lines · Jonathan Cameron

On Wed, 19 Jun 2024 13:54:59 +0900
Hyeongtak Ji <[email protected]> wrote:

Hi, some description would be good of how you caught these (I'm guessing a close read).

Quoted 6 lines

Just to confirm, are you suggesting that the patch should include a commit message? I apologize for submitting the patch without any sufficient explanation. However, I am not entirely sure if "how I found these typos" needs to be included in the commit message. For your information, I discovered these typos because the ASCII art did not align with the explanations (yes, a close read).

Mostly just wanted a patch description that said something. It can be useful to have even minimal info such as "Found by inspection relative to the ASCII art above." Helps guide if people should read closely or not!

Thanks,

Jonathan

Quoted 113 lines
Quoted 34 lines

Whilst checking this I did notice there are some errors in the example bus numbering but that's a separate issue.

Jonathan

Quoted 10 lines
---
 docs/system/devices/cxl.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/system/devices/cxl.rst +0 -0
index 10a0e9bc9ff4..e2497e6a098b 100644

docs/system/devices/cxl.rst Notes: · line 221

Quoted 5 lines
docs/system/devices/cxl.rst +1 -1
@@ -218,17 +218,17 @@ Notes:
     A complex configuration here, might be to use the following HDM
     decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
     part of CXL Type3 0. HDM1 routes CFMW0 requests from a
-    different region of the CFMW0 PA range to RP2 and hence part
+    different region of the CFMW0 PA range to RP1 and hence part  

Good catch.

docs/system/devices/cxl.rst Notes: · line 228

Quoted 8 lines
docs/system/devices/cxl.rst +1 -1
     of CXL Type 3 1.  HDM2 routes yet another PA range from within
     CFMW0 to be interleaved across RP0 and RP1, providing 2 way
     interleave of part of the memory provided by CXL Type3 0 and
     CXL Type 3 1. HDM3 routes those interleaved accesses from
     CFMW1 that target HB0 to RP 0 and another part of the memory of
     CXL Type 3 0 (as part of a 2 way interleave at the system level
-    across for example CXL Type3 0 and CXL Type3 2.
+    across for example CXL Type3 0 and CXL Type3 1).  
Quoted 3 lines

This one is wrong. CFMW1 interleaves across both host bridges so we need a device below HB0 and one below HB1, so CXL type3 2 is a possible choice (could be CXL type3 3 as well, but that doesn't matter.)

Oh, I misunderstood the original explanation. I will correct it just by adding the missing parenthesis instead.

Quoted 11 lines

docs/system/devices/cxl.rst Notes: · line 231

Quoted 5 lines
docs/system/devices/cxl.rst +1 -1
     HDM4 is used to enable system wide 4 way interleave across all
     the present CXL type3 devices, by interleaving those (interleaved)
-    requests that HB0 receives from from CFMW1 across RP 0 and
+    requests that HB0 receives from CFMW1 across RP 0 and  

Good.

Quoted 3 lines
docs/system/devices/cxl.rst +0 -0
     RP 1 and hence to yet more regions of the memory of the
     attached Type3 devices.  Note this is a representative subset
     of the full range of possible HDM decoder configurations in this  

I will send V2 with a decent explanation and the corrected typo fix.

Kind regards,
Hyeongtak

Quoted 53 lines · Jonathan Cameron

On Wed, 19 Jun 2024 13:54:59 +0900
Hyeongtak Ji <[email protected]> wrote:

Hi, some description would be good of how you caught these (I'm guessing a close read).

Whilst checking this I did notice there are some errors in the example bus numbering but that's a separate issue.

Jonathan

Quoted 10 lines
---
 docs/system/devices/cxl.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
docs/system/devices/cxl.rst +0 -0
index 10a0e9bc9ff4..e2497e6a098b 100644

docs/system/devices/cxl.rst Notes: · line 221

Quoted 5 lines
docs/system/devices/cxl.rst +1 -1
@@ -218,17 +218,17 @@ Notes:
     A complex configuration here, might be to use the following HDM
     decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
     part of CXL Type3 0. HDM1 routes CFMW0 requests from a
-    different region of the CFMW0 PA range to RP2 and hence part
+    different region of the CFMW0 PA range to RP1 and hence part  

Good catch.

docs/system/devices/cxl.rst Notes: · line 228

Quoted 8 lines
docs/system/devices/cxl.rst +1 -1
     of CXL Type 3 1.  HDM2 routes yet another PA range from within
     CFMW0 to be interleaved across RP0 and RP1, providing 2 way
     interleave of part of the memory provided by CXL Type3 0 and
     CXL Type 3 1. HDM3 routes those interleaved accesses from
     CFMW1 that target HB0 to RP 0 and another part of the memory of
     CXL Type 3 0 (as part of a 2 way interleave at the system level
-    across for example CXL Type3 0 and CXL Type3 2.
+    across for example CXL Type3 0 and CXL Type3 1).  

This one is wrong. CFMW1 interleaves across both host bridges so we need a device below HB0 and one below HB1, so CXL type3 2 is a possible choice (could be CXL type3 3 as well, but that doesn't matter.)

docs/system/devices/cxl.rst Notes: · line 231

Quoted 4 lines
docs/system/devices/cxl.rst +1 -1
     HDM4 is used to enable system wide 4 way interleave across all
     the present CXL type3 devices, by interleaving those (interleaved)
-    requests that HB0 receives from from CFMW1 across RP 0 and
+    requests that HB0 receives from CFMW1 across RP 0 and  

Good.

Quoted 3 lines
docs/system/devices/cxl.rst +0 -0
     RP 1 and hence to yet more regions of the memory of the
     attached Type3 devices.  Note this is a representative subset
     of the full range of possible HDM decoder configurations in this