Re: [PATCH 2/3] clk: mvebu: Use of_get_cpu_hwid() to read CPU ID
From: Stephen Boyd
Date: Mon Apr 10 2023 - 19:36:28 EST
Quoting Rob Herring (2023-03-27 11:43:19)
> Use of_get_cpu_hwid() rather than the open coded reading of the CPU
> nodes "reg" property. The existing code is in fact wrong as the "reg"
> address cells size is 2 cells for arm64. The existing code happens to
> work because the DTS files are wrong as well.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> Note this should be marked for stable so that if/when the DTS files are
> fixed, then at least stable kernels will work. This is untested, so I
> didn't mark for stable.
That makes it sound like it breaks for existing DTS files. Is that the
case?