Skip to contentSkip to conversation

Documentation: dt-bindings: Fix incorrect statement

PATCH In review Yanan Wang 2 participants 3 messages May 21, 2021 – Jun 7, 2021

Subsystems (2)
lore
Share & tools
lore

Yanan Wang

author
#0 lore raw

PATCH 1/1 Documentation: dt-bindings: Fix incorrect statement

It's found when reading the Doc.

In a SMP system, the hierarchy of CPUs now can be defined through four not three entities (socket/cluster/core/thread), so correct the statement to avoid possible confusion.

Since we are already there, also drop an extra space and tweak the title alignment. No real context change at all.

Cc Rob Herring <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Albert Ou <[email protected]>
---
 Documentation/devicetree/bindings/cpu/cpu-topology.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/cpu/cpu-topology.txt +4 -4
index 9bd530a35d14..8b23a98c283c 100644
@@ -6,7 +6,7 @@ CPU topology binding description
 1 - Introduction
 ===========================================
 
-In a SMP system, the hierarchy of CPUs is defined through three entities that
+In a SMP system, the hierarchy of CPUs is defined through four entities that
 are used to describe the layout of physical CPUs in the system:
 
 - socket
@@ -75,7 +75,7 @@ whose bindings are described in paragraph 3.
 
 The nodes describing the CPU topology (socket/cluster/core/thread) can
 only be defined within the cpu-map node and every core/thread in the
-system must be defined within the topology.  Any other configuration is
+system must be defined within the topology. Any other configuration is
 invalid and therefore must be ignored.
 
 ===========================================
@@ -91,9 +91,9 @@ cpu-map child nodes which do not share a common parent node can have the same
 name (ie same number N as other cpu-map child nodes at different device tree
 levels) since name uniqueness will be guaranteed by the device tree hierarchy.
 
-===========================================
+============================================
 3 - socket/cluster/core/thread node bindings
-===========================================
+============================================
 
 Bindings for socket/cluster/cpu/thread nodes are defined as follows:
 
Signature · 7 lines
2.19.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
maintainer
#1 lore raw
Quoted 1 line · Yanan Wang

It's found when reading the Doc.

Please improve the subject so we have some clue as to what the change is and what it applies to.

Quoted 6 lines

In a SMP system, the hierarchy of CPUs now can be defined through four not three entities (socket/cluster/core/thread), so correct the statement to avoid possible confusion.

Since we are already there, also drop an extra space and tweak the title alignment. No real context change at all.

Since already here, converting to schema would be preferred over trivial fixes.

Quoted 46 lines
Cc Rob Herring <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Albert Ou <[email protected]>
---
 Documentation/devicetree/bindings/cpu/cpu-topology.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/cpu/cpu-topology.txt +4 -4
index 9bd530a35d14..8b23a98c283c 100644
@@ -6,7 +6,7 @@ CPU topology binding description
 1 - Introduction
 ===========================================
 
-In a SMP system, the hierarchy of CPUs is defined through three entities that
+In a SMP system, the hierarchy of CPUs is defined through four entities that
 are used to describe the layout of physical CPUs in the system:
 
 - socket
@@ -75,7 +75,7 @@ whose bindings are described in paragraph 3.
 
 The nodes describing the CPU topology (socket/cluster/core/thread) can
 only be defined within the cpu-map node and every core/thread in the
-system must be defined within the topology.  Any other configuration is
+system must be defined within the topology. Any other configuration is
 invalid and therefore must be ignored.
 
 ===========================================
@@ -91,9 +91,9 @@ cpu-map child nodes which do not share a common parent node can have the same
 name (ie same number N as other cpu-map child nodes at different device tree
 levels) since name uniqueness will be guaranteed by the device tree hierarchy.
 
-===========================================
+============================================
 3 - socket/cluster/core/thread node bindings
-===========================================
+============================================
 
 Bindings for socket/cluster/cpu/thread nodes are defined as follows:
 
Signature · 1 line
2.19.1
#2 lore raw
Quoted 5 lines · Rob Herring
Quoted 1 line · Yanan Wang

It's found when reading the Doc.

Please improve the subject so we have some clue as to what the change is and what it applies to.

Ok, I will improve the subject to make it more readable.

Quoted 8 lines
Quoted 6 lines

In a SMP system, the hierarchy of CPUs now can be defined through four not three entities (socket/cluster/core/thread), so correct the statement to avoid possible confusion.

Since we are already there, also drop an extra space and tweak the title alignment. No real context change at all.

Since already here, converting to schema would be preferred over trivial fixes.

With pleasure to do this. I will send a v2 including this part of work.

Thanks,
Yanan

Quoted 46 lines
Quoted 45 lines
Cc Rob Herring <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Albert Ou <[email protected]>
---
  Documentation/devicetree/bindings/cpu/cpu-topology.txt | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/cpu/cpu-topology.txt +4 -4
index 9bd530a35d14..8b23a98c283c 100644
@@ -6,7 +6,7 @@ CPU topology binding description
  1 - Introduction
  ===========================================
 
-In a SMP system, the hierarchy of CPUs is defined through three entities that
+In a SMP system, the hierarchy of CPUs is defined through four entities that
  are used to describe the layout of physical CPUs in the system:
 
  - socket
@@ -75,7 +75,7 @@ whose bindings are described in paragraph 3.
 
  The nodes describing the CPU topology (socket/cluster/core/thread) can
  only be defined within the cpu-map node and every core/thread in the
-system must be defined within the topology.  Any other configuration is
+system must be defined within the topology. Any other configuration is
  invalid and therefore must be ignored.
 
  ===========================================
@@ -91,9 +91,9 @@ cpu-map child nodes which do not share a common parent node can have the same
  name (ie same number N as other cpu-map child nodes at different device tree
  levels) since name uniqueness will be guaranteed by the device tree hierarchy.
 
-===========================================
+============================================
  3 - socket/cluster/core/thread node bindings
-===========================================
+============================================
 
  Bindings for socket/cluster/cpu/thread nodes are defined as follows:
 
Signature · 1 line
2.19.1

.