[PATCH 0/3] hotplug memory remove updates

Nathan Lynch ntl at pobox.com
Sat Mar 1 06:15:18 EST 2008


Geoff Levand wrote:
> 
> I'm wondering how the memory hot un-plug is initiated on the pseries.
> Could you tell me about this HMC?  Is it an application running in
> the lpar, or is it an external entity?

The HMC (Hardware Management Console) is a system separate from the
pseries box.  It's used to provision and, um, manage, one or more
systems and their partitions.  It communicates with both the POWER
hypervisor and some optional userspace daemons and utilities running
on the lpars.

> Is there a 'standard' interface from userspace that can be used to
> trigger the hot-unplug sequence?  I'm asking because PS3's lv1
> hypervisor supports hot un-plug of memory, but it would need to be
> triggered from some kind of management application running in in
> userspace.

I think sysfs is the conventional interface for "offlining" a
resource, that is, getting Linux to stop using it.  That's what is
used for cpu online/offline (and memory as well, I think).  Releasing
a resource to the hypervisor's control is necessarily a
platform-specific operation; on pseries a userspace utility calls a
set of RTAS methods to accomplish this.




More information about the Linuxppc-dev mailing list