On 06/03/26 14:27, Peter Maydell wrote:
On Fri, 6 Mar 2026 at 06:32, Aditya Gupta <[email protected]> wrote:
I have below suggestion for this, acknowledging peter's dead code
suggestion and balaton's concern about things changing at runtime
(would be possible if let's say adding/removing a phb is allowed from
qemu console)
This generates the fdt everytime on a pnv_reset, which might be same as
previous fdt but takes care of the cases where any device changes
between init and reset.
Do you intend this as a sketch of what to do later when the FDT
can change at runtime, or a plan for now?
Yes that is my plan for the case atleast when FDT can change at runtime,
eg. when MPIPL is introduced.
I think that for now (i.e. fixing this bug) we should do the
simple thing, and generate the FDT once on startup.
We can design what to do for the "we really do need to
generate a new FDT on reset" case later, when we have the
requirement that motivates it.
Makes sense. I am okay with either way since I don't see fdt changing at
runtime
for PowerNV as of now
Thanks,
- Aditya G