On 5/21/25 11:31, Daniel P. Smith wrote:
As for 3, I can repost my original analysis that went to the working
group on why using this is not the best idea. Doing 3 would require
doing at least two, if not three passes on the DTB for x86 with zero
benefit/need since, unlike Arm, we never have to read from it after
boot. The way the x86 parser is today, we are walking the DTB only once.
What I would suggest for 2 is that, perhaps, it might be an opportune
time to review the existing DTB parsing code. Providing a common
interface to parse standard/spec DTB structures regardless if it is
coming from an FTB or via the FTB index, aka "unflattened" DTB. Doing so
would enable a complete reuse within the DTB parsers and remove then
need for 3.
Apologies, I did not CC anyone on the posting of the original analysis.
It is posted to xen-devel as "Hyperlaunch Device Tree Discussion".
v/r,
dps