Re: [PATCH V4] powerpc/prom: Export device tree physical address via proc
From: Segher Boessenkool <hidden>
Date: 2010-07-17 16:39:54
From: Segher Boessenkool <hidden>
Date: 2010-07-17 16:39:54
quoted
quoted
quoted
Yes. Where would we get a list of memreserve sections?I would say the list of reserves that are not under the control of Linux should be explicitly described in the device tree proper. For instance, if you have a region that firmware depends on, then have a node for describing the firmware and a property stating the memory regions that it depends on. The memreserve regions can be generated from that.Ok, so we could traverse the tree node-by-bode for a persistent-memreserve property and add them to the /memreserve/ list in the kexec user space tools?I *think* that is okay, but I'd like to hear from Segher, Ben, Mitch, David Gibson, and other device tree experts on whether or not that exact property naming is a good one.
Let's take a step back: what exactly _are_ "memreserve sections", what are they used for, who (kernel, firmware, bootloader, etc.) holds what responsibility wrt them? Segher