[PATCH 5/5 v2] kernel handling of CPU DLPAR
michael at ellerman.id.au
Fri Oct 16 11:52:04 EST 2009
On Thu, 2009-10-15 at 10:40 -0500, Nathan Fontenot wrote:
> Michael Ellerman wrote:
> > On Tue, 2009-10-13 at 13:14 -0500, Nathan Fontenot wrote:
> >> This adds the capability to DLPAR add and remove CPUs from the kernel. The
> >> creates two new files /sys/devices/system/cpu/probe and
> >> /sys/devices/system/cpu/release to handle the DLPAR addition and removal of
> >> CPUs respectively.
> > How does this relate to the existing cpu hotplug mechanism? Or is this
> > making the cpu exist (possible), vs marking it as online?
> This update makes the cpu exist, it does not mark the cpu online.
> > Is some other platform going to want to do the same? ie. should the
> > probe/release part be in generic code?
> I thought about making this generic code, perhaps a follow-on patch to move
> the creation of the probe/release files to generic code to see what the
> community thinks. I would assume there would still need to be a arch and/or
> platforms specific callout to do the real work.
I'm not so worried about the code being generic, there's not much that
would be generic. More the mechanism. We don't want to add probe/release
to powerpc, and then have a different mechanism get added later by some
other platform, or generically.
But I guess you CC'ed lkml and there's not much more to do, I don't know
specifically who'd care about it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the Linuxppc-dev