[PATCH 0/5] powerpc: add device tree property updates
Segher Boessenkool
segher at kernel.crashing.org
Wed Jan 18 21:18:27 EST 2006
> Ok so what should the inode number be ?
>
> directory inodes should be the phandle .... yeah .. now to assign all
> the others non-conflicting. Do all the current phandle generators
> use either a memory address, offset, or small enum?
Nope. All current PowerPC OF implementations use a 32-bit
client interface though (to the best of my knowledge); this
implies that all phandle's are 32-bit. If inode numbers can
be bigger than 32 bit, problem solved; if not, you'll have a
problem as soon as someone creates a 64-bit client interface
(as is strongly recommended for 64-bit systems).
But I think I see an easy way out... you only deal with the
flattened device tree anyway, so just use the offset in that
blob? Should be a nicely small number...
Segher
More information about the Linuxppc64-dev
mailing list