Skip to contentSkip to conversation

ARM: topology: Make it clear that all CPUs need to be described

PATCH New Mark Brown 3 participants 5 messages Mar 28, 2014 – Apr 11, 2014 Device tree bindings

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ARM: topology: Make it clear that all CPUs need to be described

From: Mark Brown <[email protected]>

The ARMv8 code will reject topologies that omit some CPUs (and it's not clear that it's ever sensible to do so). Update the binding document to make this clear.

Since we're reformatting the text also fix incorrect grammar in the final "Any other configuration..." section by removing "consider".

---
 Documentation/devicetree/bindings/arm/topology.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/topology.txt +4 -3
index 4aa20e7..1061faf 100644
@@ -75,9 +75,10 @@ The cpu-map node can only contain three types of child nodes:
 
 whose bindings are described in paragraph 3.
 
-The nodes describing the CPU topology (cluster/core/thread) can only be
-defined within the cpu-map node.
-Any other configuration is consider invalid and therefore must be ignored.
+The nodes describing the CPU topology (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
+invalid and therefore must be ignored.
 
 ===========================================
 2.1 - cpu-map child nodes naming convention
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: topology: Make it clear that all CPUs need to be described

Quoted 8 lines · Mark Brown

From: Mark Brown <[email protected]>

The ARMv8 code will reject topologies that omit some CPUs (and it's not clear that it's ever sensible to do so). Update the binding document to make this clear.

Since we're reformatting the text also fix incorrect grammar in the final "Any other configuration..." section by removing "consider".

I think the commit log should be reworded, we update the bindings because they are incomplete, not because ARMv8 code decided to reject topologies that omit CPUs.

Patch is ok with me, thanks:

Quoted 28 lines
---
 Documentation/devicetree/bindings/arm/topology.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/topology.txt +4 -3
index 4aa20e7..1061faf 100644
@@ -75,9 +75,10 @@ The cpu-map node can only contain three types of child nodes:
 
 whose bindings are described in paragraph 3.
 
-The nodes describing the CPU topology (cluster/core/thread) can only be
-defined within the cpu-map node.
-Any other configuration is consider invalid and therefore must be ignored.
+The nodes describing the CPU topology (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
+invalid and therefore must be ignored.
 
 ===========================================
 2.1 - cpu-map child nodes naming convention
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/1 ARM: topology: Make it clear that all CPUs need to be described

Quoted 10 lines · Lorenzo Pieralisi
Quoted 8 lines · Mark Brown

From: Mark Brown <[email protected]>

The ARMv8 code will reject topologies that omit some CPUs (and it's not clear that it's ever sensible to do so). Update the binding document to make this clear.

Since we're reformatting the text also fix incorrect grammar in the final "Any other configuration..." section by removing "consider".

Quoted 7 lines

I think the commit log should be reworded, we update the bindings because they are incomplete, not because ARMv8 code decided to reject topologies that omit CPUs.

Patch is ok with me, thanks:

Applied for 3.15.

Rob

author
#3 lore raw

PATCH 1/1 ARM: topology: Make it clear that all CPUs need to be described

Quoted 7 lines · Rob Herring

On Mon, Mar 31, 2014 at 4:30 AM, Lorenzo Pieralisi

Quoted 3 lines

Patch is ok with me, thanks:

Applied for 3.15.

Catalin already sent this to Linus I think unless I got my patches
confused.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140411/40e4d3db/attachment.sig>

#4 lore raw

PATCH 1/1 ARM: topology: Make it clear that all CPUs need to be described

Quoted 11 lines · Mark Brown
Quoted 7 lines · Rob Herring

On Mon, Mar 31, 2014 at 4:30 AM, Lorenzo Pieralisi

Quoted 3 lines

Patch is ok with me, thanks:

Applied for 3.15.

Catalin already sent this to Linus I think unless I got my patches confused.

Yes, you're right.

Rob