doc: Fix some typo errors in ras.rst
Subsystems (2)
PATCH 1/1 doc: Fix some typo errors in ras.rst
Fix typo errors.
--- Documentation/admin-guide/ras.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/admin-guide/ras.rst +4 -4
@@ -156,10 +156,10 @@ the labels provided by the BIOS won't match the real ones. ECC memory ---------- -As mentioned on the previous section, ECC memory has extra bits to be -used for error correction. So, on 64 bit systems, a memory module -has 64 bits of *data width*, and 74 bits of *total width*. So, there are -8 bits extra bits to be used for the error detection and correction +As mentioned on the previous section, ECC memory has extra bits to +be used for error correction. So, on 64 bit systems, a memory module +has 64 bits of *data width*, and 72 bits of *total width*. So, there +are 8 extra bits to be used for the error detection and correction mechanisms. Those extra bits are called *syndrome*\ [#f1]_\ [#f2]_. So, when the cpu requests the memory controller to write a word with
Signature · 1 line
2.18.1
Jonathan Corbet
maintainerQuoted 14 lines · On Tue, 5 May 2020 11:10:49 -0400 Waiman Long <[email protected]> wrote:
Fix typo errors.
Signed-off-by Waiman Long <[email protected]>--- Documentation/admin-guide/ras.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Documentation/admin-guide/ras.rst +0
-0@@ -156,10 +156,10 @@ the labels provided by the BIOS won't match the real ones. ECC memory ----------
Documentation/admin-guide/ras.rst the labels provided by the BIOS won't match the real ones. · line 163
Quoted 10 lines
Documentation/admin-guide/ras.rst +4
-4-As mentioned on the previous section, ECC memory has extra bits to be -used for error correction. So, on 64 bit systems, a memory module -has 64 bits of *data width*, and 74 bits of *total width*. So, there are -8 bits extra bits to be used for the error detection and correction +As mentioned on the previous section, ECC memory has extra bits to +be used for error correction. So, on 64 bit systems, a memory module +has 64 bits of *data width*, and 72 bits of *total width*. So, there +are 8 extra bits to be used for the error detection and correction mechanisms. Those extra bits are called *syndrome*\ [#f1]_\ [#f2]_.
So I had to work to figure out what the change was, since you didn't say in the changelog and you refilled the paragraph. But this looks like a *factual* error, giving the wrong number of bits, right? It seems like the changelog should say that. Do the people who know about this stuff agree that the change is correct?
Thanks,
jon
Quoted 1 line · Waiman Long
Fix typo errors.
By reformatting it, you've successfully obscured what typos you've fixed. As a result I read the whole paragraph, and ...
Documentation/admin-guide/ras.rst the labels provided by the BIOS won't match the real ones. · line 159
Quoted 8 lines
ECC memory
----------Documentation/admin-guide/ras.rst +1
-4-As mentioned on the previous section, ECC memory has extra bits to be -used for error correction. So, on 64 bit systems, a memory module -has 64 bits of *data width*, and 74 bits of *total width*. So, there are -8 bits extra bits to be used for the error detection and correction +As mentioned on the previous section, ECC memory has extra bits to
s/on/in/
Review
Quoted 2 lines
(quoted diff) +2
-0+be used for error correction. So, on 64 bit systems, a memory module +has 64 bits of *data width*, and 72 bits of *total width*.
Usually a 64-bit system refers to the width of a pointer. Here, it's referring to the width of the memory system, which is rather confusing. How about "In the above example" instead of "So, on 64 bit systems".
Quoted 3 lines
So, there
+are 8 extra bits to be used for the error detection and correction
mechanisms. Those extra bits are called *syndrome*\ [#f1]_\ [#f2]_.
This would read better as:
The extra 8 bits which are used for error detection and correction are referred to as the *syndrome*\ [#f1]_\ [#f2]_.
Quoted 33 lines · Jonathan Corbet
Quoted 14 lines · On Tue, 5 May 2020 11:10:49 -0400 Waiman Long <[email protected]> wrote:
Fix typo errors.
Signed-off-by Waiman Long <[email protected]>--- Documentation/admin-guide/ras.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Documentation/admin-guide/ras.rst +0
-0@@ -156,10 +156,10 @@ the labels provided by the BIOS won't match the real ones. ECC memory ----------Documentation/admin-guide/ras.rst the labels provided by the BIOS won't match the real ones. · line 163
Quoted 10 lines
Documentation/admin-guide/ras.rst +4
-4-As mentioned on the previous section, ECC memory has extra bits to be -used for error correction. So, on 64 bit systems, a memory module -has 64 bits of *data width*, and 74 bits of *total width*. So, there are -8 bits extra bits to be used for the error detection and correction +As mentioned on the previous section, ECC memory has extra bits to +be used for error correction. So, on 64 bit systems, a memory module +has 64 bits of *data width*, and 72 bits of *total width*. So, there +are 8 extra bits to be used for the error detection and correction mechanisms. Those extra bits are called *syndrome*\ [#f1]_\ [#f2]_.So I had to work to figure out what the change was, since you didn't say in the changelog and you refilled the paragraph. But this looks like a *factual* error, giving the wrong number of bits, right? It seems like the changelog should say that. Do the people who know about this stuff agree that the change is correct?
Quoted 4 lines
Thanks,
jon
Yes, I change 74 bits to 72 bits and remove an extra "bits". Will send out v2 to clarify that.
Thanks,
Longman
Borislav Petkov
maintainerQuoted 3 lines · Matthew Wilcox
Usually a 64-bit system refers to the width of a pointer. Here, it's referring to the width of the memory system, which is rather confusing. How about "In the above example" instead of "So, on 64 bit systems".
Yes, that should not talk about 64-bit systems but about the length of the word the memory controller uses to create the ECC check bits out of.
That whole doc needs checking/fixing.
Quoted 2 lines
The extra 8 bits which are used for error detection and correction are referred to as the *syndrome*\ [#f1]_\ [#f2]_.
Well, I know it as "The syndrome field uniquely identifies the failing bit positions of a correctable ECC error." and depending on the error severity you can have correctable and uncorrectable syndromes.
I don't think the syndrome is the ECC word but it might be, depending on the ECC algorithm used or it might be that what I pasted above. That would need deeper digging.
Thx.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 21 lines · Matthew Wilcox
Quoted 1 line · Waiman Long
Fix typo errors.
By reformatting it, you've successfully obscured what typos you've fixed. As a result I read the whole paragraph, and ...
Documentation/admin-guide/ras.rst the labels provided by the BIOS won't match the real ones. · line 159
Quoted 8 lines
ECC memory
----------Documentation/admin-guide/ras.rst +1
-4-As mentioned on the previous section, ECC memory has extra bits to be -used for error correction. So, on 64 bit systems, a memory module -has 64 bits of *data width*, and 74 bits of *total width*. So, there are -8 bits extra bits to be used for the error detection and correction +As mentioned on the previous section, ECC memory has extra bits tos/on/in/
Review
Quoted 2 lines
(quoted diff) +2
-0+be used for error correction. So, on 64 bit systems, a memory module +has 64 bits of *data width*, and 72 bits of *total width*.Usually a 64-bit system refers to the width of a pointer. Here, it's referring to the width of the memory system, which is rather confusing. How about "In the above example" instead of "So, on 64 bit systems".
Quoted 8 lines
Quoted 3 lines
So, there
+are 8 extra bits to be used for the error detection and correction
mechanisms. Those extra bits are called *syndrome*\ [#f1]_\ [#f2]_.This would read better as:
The extra 8 bits which are used for error detection and correction are referred to as the *syndrome*\ [#f1]_\ [#f2]_.
Thanks for the suggestion. Will incorporate that in v2.
-Longman
Quoted 8 lines · Borislav Petkov
Quoted 3 lines · Matthew Wilcox
Usually a 64-bit system refers to the width of a pointer. Here, it's referring to the width of the memory system, which is rather confusing. How about "In the above example" instead of "So, on 64 bit systems".
Yes, that should not talk about 64-bit systems but about the length of the word the memory controller uses to create the ECC check bits out of.
That whole doc needs checking/fixing.
I am not knowledgeable enough to check/fix the whole document. This patch is motivated primarily by the incorrect "74 bits" total width that I saw. I will send a v2 to make the suggested edit. I will leave it to you to do the full document check.
Cheers,
Longman