qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [SLOF] [PATCH v4] board-qemu: add private hcall to inform


From: Segher Boessenkool
Subject: Re: [Qemu-ppc] [SLOF] [PATCH v4] board-qemu: add private hcall to inform host on "phandle" update
Date: Fri, 29 Sep 2017 03:42:07 -0500
User-agent: Mutt/1.4.2.3i

On Fri, Sep 29, 2017 at 03:18:41AM -0500, Segher Boessenkool wrote:
> I'm a bit worried about the phandles FDT requires, which are a different
> size than what OF uses (OF uses cell size, which is 64 bit on 64-bit OF;
> the device tree specification uses 32 bit always).
> 
> Now usually everything lives low in memory, so the top 32 bits will all
> be zeroes, but do we guarantee that anywhere (and do we want to restrict
> to that!)

OTOH SLOF currently has similar bugs itself.  Oh well.

> We cannot translate between the two types of phandles, because we do not
> (and CANNOT) know what parts of properties are phandles (for example
> when using FCode on a plugin board).
> 
> Or maybe phandles on flat device trees just are cell size and the spec
> (I looked at devicetree.org) is horribly wrong?  That would be good
> (here and everywhere else).


Segher



reply via email to

[Prev in Thread] Current Thread [Next in Thread]