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@xxxxxxxxxxxxxxx> > --- > > v2: Treat unknown status values like "disabled", not like "fail" > > > drivers/of/base.c | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > Applied, thanks!