On Tue, Oct 27, 2015 at 02:52:13PM -0500, Nathan Fontenot wrote: > On 10/26/2015 04:53 AM, Bharata B Rao wrote: > > Add support to hot remove pc-dimm memory devices. > > > > TODO: In response to memory hot removal operation on a DIMM device, > > guest kernel might refuse to offline a few LMBs that are part of that > > device. > > In such cases, we will have a DIMM device that has some LMBs online and some > > LMBs offline. To avoid this situation, drmgr could be enhanced to support > > a command line option that results in removal of all the LMBs or none. > > > > We had discussed an update to drmgr previously that would allow one to specify > that they wanted to remove a certain number of LMBs starting at a specified > drc > index. I would assume we could incorporate the notion that it is an all or > nothing request into that.
Right, but since that requires PAPR spec changes, I thought for now we could add such an option to drmgr and use that from rtas_errd on PowerKVM to correctly do memory hot unplug. Not feasible ? Regards, Bharata.