Excluded List for "#size-cells" warning
Stan Johnson
userm57 at yahoo.com
Thu Oct 30 04:00:41 AEDT 2025
On 10/29/25 1:29 AM, Segher Boessenkool wrote:
> On Tue, Oct 28, 2025 at 08:17:27PM -0500, Rob Herring wrote:
>> On Tue, Oct 28, 2025 at 7:05 PM Stan Johnson <userm57 at yahoo.com> wrote:
>>>
>>> -------- Forwarded Message --------
>>> Subject: Excluded List for "#size-cells" warning
>>> Date: Tue, 28 Oct 2025 10:00:25 -0600
>>> From: Stan Johnson <userm57 at yahoo.com>
>>> To: debian-powerpc at lists.debian.org
>>> CC: Finn Thain <fthain at linux-m68k.org>, Christophe Leroy
>>> <christophe.leroy at csgroup.eu>
>>>
>>> Hello,
>>>
>>> On a PowerBook G3 Pismo running the latest Debian SID, dmesg reports the
>>> warning shown below. I've also seen the warning on PowerBook Lombard and
>>> Wallstreet systems. I haven't checked PowerBook 3400c or Kanga.
>>
>> Can you send me a dump of the device tree on these systems:
>>
>> dtc -O dts /proc/device-tree
Please see the attached compressed files containing dtc output for a
Wallstreet (dtc_wallstreet.txt) and a Pismo (dtc_pismo.txt).
>>
>> We've been fixing up these cases such as in commit 7e67ef889c9a
>> ("powerpc/prom_init: Fixup missing #size-cells on PowerBook6,7")
>
> And of course it is perfectly fine for an actual Open Firmware to *not*
> repeat the defaults. As the documentation (the main IEEE 1275 thing)
> says: "A missing “#size-cells” property signifies the default value of
> one." There are many other places in OF geared towards this default
> btw, take for example the "reg" word, that silently assumes your node's
> #size-cells is 1, and does completely the wrong thing if not.
>
> Flattened device trees are a fine thing, but the gratuitous ways it
> differs from OF, are not.
>
>
> Segher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtc_wallstreet.txt.xz
Type: application/x-xz
Size: 4728 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20251029/8b073288/attachment.xz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtc_pismo.txt.xz
Type: application/x-xz
Size: 52644 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20251029/8b073288/attachment-0001.xz>
More information about the Linuxppc-dev
mailing list