On Mon, 6 Jan 2025, Brad Boyer wrote:
There are a few drivers where we could eliminate complexity and #ifdef trickery if it was all device tree based.
Ideally, yes. But how would we get there from here? Should the kernel synthesize a device tree from the bootinfo data, so that an ideal no-ifdef pmac_zilog could work? (This seems like a maximum bloat solution.) Or should the mac platform abandon bootinfo, and require a new bootloader for all kernel releases after device tree adoption? (This seems maximally difficult, since it requires simultaneously merging many patches to many subsystems, even if the bootloader changes could be done in advance...) I wonder whether any other architectures have attempted to retrofit device tree support (?)