[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YaZhhxB1RmXTPJpt@robh.at.kernel.org>
Date: Tue, 30 Nov 2021 11:38:15 -0600
From: Rob Herring <robh@...nel.org>
To: Matthias Schiffer <matthias.schiffer@...tq-group.com>
Cc: devicetree@...r.kernel.org, Frank Rowand <frowand.list@...il.com>,
Rob Herring <robh+dt@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] of: base: Skip CPU nodes with "fail"/"fail-..." status
On Mon, 22 Nov 2021 12:45:36 +0100, Matthias Schiffer wrote:
> Allow fully disabling CPU nodes using status = "fail".
>
> This allows a bootloader to change the number of available CPUs (for
> example when a common DTS is used for SoC variants with different numbers
> of cores) without deleting the nodes altogether, which could require
> additional fixups to avoid dangling phandle references.
>
> Unknown status values (everything that is not "okay"/"ok", "disabled" or
> "fail"/"fail-...") will continue to be interpreted like "disabled",
> meaning that the CPU can be enabled during boot.
>
> References:
> - https://www.lkml.org/lkml/2020/8/26/1237
> - https://www.spinics.net/lists/devicetree-spec/msg01007.html
> - https://github.com/devicetree-org/dt-schema/pull/61
>
> Signed-off-by: Matthias Schiffer <matthias.schiffer@...tq-group.com>
> ---
>
> v2: Treat unknown status values like "disabled", not like "fail"
>
>
> drivers/of/base.c | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
Applied, thanks!
Powered by blists - more mailing lists