* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
@ 2014-03-20 12:59 Mark Brown
2014-03-21 13:32 ` Mark Rutland
0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2014-03-20 12:59 UTC (permalink / raw)
To: linux-arm-kernel
From: Mark Brown <broonie@linaro.org>
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.
Signed-off-by: Mark Brown <broonie@linaro.org>
---
Documentation/devicetree/bindings/arm/topology.txt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/topology.txt b/Documentation/devicetree/bindings/arm/topology.txt
index 4aa20e7a424e..1bd5edc225c1 100644
--- a/Documentation/devicetree/bindings/arm/topology.txt
+++ b/Documentation/devicetree/bindings/arm/topology.txt
@@ -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
+consider invalid and therefore must be ignored.
===========================================
2.1 - cpu-map child nodes naming convention
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
2014-03-20 12:59 [PATCH] ARM: topology: Make it clear that all CPUs need to be described Mark Brown
@ 2014-03-21 13:32 ` Mark Rutland
2014-03-21 13:39 ` Mark Brown
0 siblings, 1 reply; 8+ messages in thread
From: Mark Rutland @ 2014-03-21 13:32 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Mar 20, 2014 at 12:59:34PM +0000, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
>
> 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.
>
> Signed-off-by: Mark Brown <broonie@linaro.org>
> ---
> Documentation/devicetree/bindings/arm/topology.txt | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/topology.txt b/Documentation/devicetree/bindings/arm/topology.txt
> index 4aa20e7a424e..1bd5edc225c1 100644
> --- a/Documentation/devicetree/bindings/arm/topology.txt
> +++ b/Documentation/devicetree/bindings/arm/topology.txt
> @@ -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
> +consider invalid and therefore must be ignored.
s/consider/considered/ (or drop the word entirely?).
Otherwise this looks sane to me, given there are currently no users of
this information relying on partial topology descriptions.
Cheers,
Mark.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
2014-03-21 13:32 ` Mark Rutland
@ 2014-03-21 13:39 ` Mark Brown
0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2014-03-21 13:39 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 21, 2014 at 01:32:02PM +0000, Mark Rutland wrote:
> On Thu, Mar 20, 2014 at 12:59:34PM +0000, Mark Brown wrote:
> > -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
> > +consider invalid and therefore must be ignored.
> s/consider/considered/ (or drop the word entirely?).
Yup (that's a preexisting thing in the text that got reflowed).
-------------- 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/20140321/4da148ef/attachment-0001.sig>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
@ 2014-03-28 14:21 Mark Brown
2014-03-31 9:30 ` Lorenzo Pieralisi
0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2014-03-28 14:21 UTC (permalink / raw)
To: linux-arm-kernel
From: Mark Brown <broonie@linaro.org>
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".
Signed-off-by: Mark Brown <broonie@linaro.org>
---
Documentation/devicetree/bindings/arm/topology.txt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/topology.txt b/Documentation/devicetree/bindings/arm/topology.txt
index 4aa20e7..1061faf 100644
--- a/Documentation/devicetree/bindings/arm/topology.txt
+++ b/Documentation/devicetree/bindings/arm/topology.txt
@@ -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
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
2014-03-28 14:21 Mark Brown
@ 2014-03-31 9:30 ` Lorenzo Pieralisi
2014-04-10 23:01 ` Rob Herring
0 siblings, 1 reply; 8+ messages in thread
From: Lorenzo Pieralisi @ 2014-03-31 9:30 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 28, 2014 at 02:21:07PM +0000, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
>
> 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:
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
>
> Signed-off-by: Mark Brown <broonie@linaro.org>
> ---
> Documentation/devicetree/bindings/arm/topology.txt | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/topology.txt b/Documentation/devicetree/bindings/arm/topology.txt
> index 4aa20e7..1061faf 100644
> --- a/Documentation/devicetree/bindings/arm/topology.txt
> +++ b/Documentation/devicetree/bindings/arm/topology.txt
> @@ -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
> --
> 1.9.1
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
2014-03-31 9:30 ` Lorenzo Pieralisi
@ 2014-04-10 23:01 ` Rob Herring
2014-04-10 23:18 ` Mark Brown
0 siblings, 1 reply; 8+ messages in thread
From: Rob Herring @ 2014-04-10 23:01 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Mar 31, 2014 at 4:30 AM, Lorenzo Pieralisi
<lorenzo.pieralisi@arm.com> wrote:
> On Fri, Mar 28, 2014 at 02:21:07PM +0000, Mark Brown wrote:
>> From: Mark Brown <broonie@linaro.org>
>>
>> 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:
>
> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Applied for 3.15.
Rob
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
2014-04-10 23:01 ` Rob Herring
@ 2014-04-10 23:18 ` Mark Brown
2014-04-11 0:24 ` Rob Herring
0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2014-04-10 23:18 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Apr 10, 2014 at 06:01:31PM -0500, Rob Herring wrote:
> On Mon, Mar 31, 2014 at 4:30 AM, Lorenzo Pieralisi
> > Patch is ok with me, thanks:
> > Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> 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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] ARM: topology: Make it clear that all CPUs need to be described
2014-04-10 23:18 ` Mark Brown
@ 2014-04-11 0:24 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2014-04-11 0:24 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Apr 10, 2014 at 6:18 PM, Mark Brown <broonie@kernel.org> wrote:
> On Thu, Apr 10, 2014 at 06:01:31PM -0500, Rob Herring wrote:
>> On Mon, Mar 31, 2014 at 4:30 AM, Lorenzo Pieralisi
>
>> > Patch is ok with me, thanks:
>
>> > Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
>
>> Applied for 3.15.
>
> Catalin already sent this to Linus I think unless I got my patches
> confused.
Yes, you're right.
Rob
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-04-11 0:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 12:59 [PATCH] ARM: topology: Make it clear that all CPUs need to be described Mark Brown
2014-03-21 13:32 ` Mark Rutland
2014-03-21 13:39 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2014-03-28 14:21 Mark Brown
2014-03-31 9:30 ` Lorenzo Pieralisi
2014-04-10 23:01 ` Rob Herring
2014-04-10 23:18 ` Mark Brown
2014-04-11 0:24 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).