On Fri, 3 Sept 2021 at 13:01, Leif Lindholm <l...@nuviainc.com> wrote: > On Thu, Sep 02, 2021 at 13:51:26 +0100, Peter Maydell wrote: > > How does guest software on this board figure out the memory > > layout ? Is there a mechanism for telling it "this is version 2 > > of this board" ? > > Not currently. Aiming to look like most SBSA platforms, it is > hard-wired, and firmware passes that information to the os. > > This is the kind of thing I eventually want to do using a PV-model > SCP. As a stop-gap, we could push it through the DT, like we do for > cpus and memory?
That's up to you, I guess. You could alternatively have some sort of "board ID" register that the firmware reads ? -- PMM