| From f50da6edbf1ebf35dd8070847bfab5cb988d472b Mon Sep 17 00:00:00 2001 |
| From: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com> |
| Date: Wed, 25 Aug 2021 09:54:47 +0530 |
| Subject: powerpc/doc: Fix htmldocs errors |
| |
| From: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> |
| |
| commit f50da6edbf1ebf35dd8070847bfab5cb988d472b upstream. |
| |
| Fix make htmldocs related errors with the newly added associativity.rst |
| doc file. |
| |
| Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> |
| Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # build test |
| Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> |
| Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> |
| Link: https://lore.kernel.org/r/20210825042447.106219-1-aneesh.kumar@linux.ibm.com |
| Cc: Salvatore Bonaccorso <carnil@debian.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| Documentation/powerpc/associativity.rst | 29 +++++++++++++++-------------- |
| Documentation/powerpc/index.rst | 1 + |
| 2 files changed, 16 insertions(+), 14 deletions(-) |
| |
| --- a/Documentation/powerpc/associativity.rst |
| +++ b/Documentation/powerpc/associativity.rst |
| @@ -1,6 +1,6 @@ |
| ============================ |
| NUMA resource associativity |
| -============================= |
| +============================ |
| |
| Associativity represents the groupings of the various platform resources into |
| domains of substantially similar mean performance relative to resources outside |
| @@ -20,11 +20,11 @@ A value of 1 indicates the usage of Form |
| bit 2 of byte 5 in the "ibm,architecture-vec-5" property is used. |
| |
| Form 0 |
| ------ |
| +------ |
| Form 0 associativity supports only two NUMA distances (LOCAL and REMOTE). |
| |
| Form 1 |
| ------ |
| +------ |
| With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity |
| device tree properties are used to determine the NUMA distance between resource groups/domains. |
| |
| @@ -78,17 +78,18 @@ numa-lookup-index-table. |
| |
| For ex: |
| ibm,numa-lookup-index-table = <3 0 8 40>; |
| -ibm,numa-distace-table = <9>, /bits/ 8 < 10 20 80 |
| - 20 10 160 |
| - 80 160 10>; |
| - | 0 8 40 |
| ---|------------ |
| - | |
| -0 | 10 20 80 |
| - | |
| -8 | 20 10 160 |
| - | |
| -40| 80 160 10 |
| +ibm,numa-distace-table = <9>, /bits/ 8 < 10 20 80 20 10 160 80 160 10>; |
| + |
| +:: |
| + |
| + | 0 8 40 |
| + --|------------ |
| + | |
| + 0 | 10 20 80 |
| + | |
| + 8 | 20 10 160 |
| + | |
| + 40| 80 160 10 |
| |
| A possible "ibm,associativity" property for resources in node 0, 8 and 40 |
| |
| --- a/Documentation/powerpc/index.rst |
| +++ b/Documentation/powerpc/index.rst |
| @@ -7,6 +7,7 @@ powerpc |
| .. toctree:: |
| :maxdepth: 1 |
| |
| + associativity |
| booting |
| bootwrapper |
| cpu_families |