OpenFirmware devices and hotplug events

Dave Hansen haveblue at us.ibm.com
Thu Mar 18 05:53:15 EST 2004


On Wed, 2004-03-17 at 10:35, Nathan Lynch wrote:
> Each OF node (or "device") that can be released to the hypervisor has an
> ibm,my-drc-index property.  The value of this property should correspond
> to an element in the ibm,drc-indexes property of the device's parent node.
...
> So when we want to add a cpu to the kernel's resource pool, we go down
> the list of drc indexes, making a query to the hv for each index that we
> don't already own to see if it's available.
>
> Does this clear things up?

Yes, it gives me a much clearer picture of what is going on.  Thanks.

I see what the data are for, but not why they are exposed to userspace.
Do applications make the decisions about which drc index to use, or is
that all done inside the kernel?  If  each ibm,my-drc-index were
suddenly removed today, what applications would break?

-- dave


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list