linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] kernel handling of dynamic logical partitioning
@ 2009-09-11 20:56 Nathan Fontenot
  2009-09-11 21:09 ` Nathan Fontenot
  0 siblings, 1 reply; 6+ messages in thread
From: Nathan Fontenot @ 2009-09-11 20:56 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: lkml

The Dynamic Logical Partitioning (DLPAR) capabilities of the powerpc pseries
platform allows for the addition and removal of resources (i.e. cpus,
memory, pci devices) from a partition. The removal of a resource involves
removing the resource's node from the device tree and then returning the
resource to firmware via the rtas set-indicator call.  To add a resource, it
is first obtained from firmware via the rtas set-indicator call and then a
new device tree node is created using the ibm,configure-coinnector rtas call
and added to the device tree.

The following set of patches implements the needed infrastructure to have the
kernel handle the DLPAR addition and removal of memory and cpus (other
DLPAR'able items to follow in future patches).  The framework for this is
to create a set of probe/release sysfs files in pseries that will add or
remove the cpu or memory to the system.

The majority of the code is powerpc/pseries specific except for PATCH 3/5, so
I am cc'ing lkml.

Patches include in this set:
1/5 - DLPAR infracstructure for powerpc/pseries platform.
2/5 - Move the of_drconf_cell struct to prom.h
3/5 - Export the memory sysdev class
4/5 - Memory DLPAR handling
5/5 - CPU DLPAR handling

-Nathan Fontenot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 0/5] kernel handling of dynamic logical partitioning
@ 2009-09-11 21:08 Nathan Fontenot
  2009-09-11 21:23 ` Daniel Walker
  0 siblings, 1 reply; 6+ messages in thread
From: Nathan Fontenot @ 2009-09-11 21:08 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: linux-kernel

The Dynamic Logical Partitioning (DLPAR) capabilities of the powerpc pseries
platform allows for the addition and removal of resources (i.e. cpus,
memory, pci devices) from a partition. The removal of a resource involves
removing the resource's node from the device tree and then returning the
resource to firmware via the rtas set-indicator call.  To add a resource, it
is first obtained from firmware via the rtas set-indicator call and then a
new device tree node is created using the ibm,configure-connector rtas call
and added to the device tree.

The following set of patches implements the needed infrastructure to have the
kernel handle the DLPAR addition and removal of memory and cpus (other
DLPAR'able items to follow in future patches).  The framework for this is
to create a set of probe/release sysfs files in pseries that will add or
remove the cpu or memory to the system.

The majority of the code is powerpc/pseries specific except for PATCH 3/5, so
I am cc'ing lkml.

Patches include in this set:
1/5 - DLPAR infrastructure for powerpc/pseries platform.
2/5 - Move the of_drconf_cell struct to prom.h
3/5 - Export the memory sysdev class
4/5 - Memory DLPAR handling
5/5 - CPU DLPAR handling

Please pardon the re-send, I borked the lkml address on cc the first time.

-Nathan Fontenot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] kernel handling of dynamic logical partitioning
  2009-09-11 20:56 [PATCH 0/5] kernel handling of dynamic logical partitioning Nathan Fontenot
@ 2009-09-11 21:09 ` Nathan Fontenot
  0 siblings, 0 replies; 6+ messages in thread
From: Nathan Fontenot @ 2009-09-11 21:09 UTC (permalink / raw)
  To: linuxppc-dev

Disregard.  Re-sending with corrections.

-Nathan

Nathan Fontenot wrote:
> The Dynamic Logical Partitioning (DLPAR) capabilities of the powerpc 
> pseries
> platform allows for the addition and removal of resources (i.e. cpus,
> memory, pci devices) from a partition. The removal of a resource involves
> removing the resource's node from the device tree and then returning the
> resource to firmware via the rtas set-indicator call.  To add a 
> resource, it
> is first obtained from firmware via the rtas set-indicator call and then a
> new device tree node is created using the ibm,configure-coinnector rtas 
> call
> and added to the device tree.
> 
> The following set of patches implements the needed infrastructure to 
> have the
> kernel handle the DLPAR addition and removal of memory and cpus (other
> DLPAR'able items to follow in future patches).  The framework for this is
> to create a set of probe/release sysfs files in pseries that will add or
> remove the cpu or memory to the system.
> 
> The majority of the code is powerpc/pseries specific except for PATCH 
> 3/5, so
> I am cc'ing lkml.
> 
> Patches include in this set:
> 1/5 - DLPAR infracstructure for powerpc/pseries platform.
> 2/5 - Move the of_drconf_cell struct to prom.h
> 3/5 - Export the memory sysdev class
> 4/5 - Memory DLPAR handling
> 5/5 - CPU DLPAR handling
> 
> -Nathan Fontenot
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] kernel handling of dynamic logical partitioning
  2009-09-11 21:08 Nathan Fontenot
@ 2009-09-11 21:23 ` Daniel Walker
  2009-09-14 18:22   ` Nathan Fontenot
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Walker @ 2009-09-11 21:23 UTC (permalink / raw)
  To: Nathan Fontenot; +Cc: linuxppc-dev, linux-kernel

On Fri, 2009-09-11 at 16:08 -0500, Nathan Fontenot wrote:
>  am cc'ing lkml.
> 
> Patches include in this set:
> 1/5 - DLPAR infrastructure for powerpc/pseries platform.
> 2/5 - Move the of_drconf_cell struct to prom.h
> 3/5 - Export the memory sysdev class
> 4/5 - Memory DLPAR handling
> 5/5 - CPU DLPAR handling
> 

It looks like a couple of your patches have some checkpatch issues..
Could you run these through scripts/checkpatch.pl and clean up any
problems it raises ? Specifically patches 1, 4, and 5 ..

Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] kernel handling of dynamic logical partitioning
  2009-09-11 21:23 ` Daniel Walker
@ 2009-09-14 18:22   ` Nathan Fontenot
  2009-09-14 18:24     ` Daniel Walker
  0 siblings, 1 reply; 6+ messages in thread
From: Nathan Fontenot @ 2009-09-14 18:22 UTC (permalink / raw)
  To: Daniel Walker; +Cc: linuxppc-dev, linux-kernel

Daniel Walker wrote:
> On Fri, 2009-09-11 at 16:08 -0500, Nathan Fontenot wrote:
>>  am cc'ing lkml.
>>
>> Patches include in this set:
>> 1/5 - DLPAR infrastructure for powerpc/pseries platform.
>> 2/5 - Move the of_drconf_cell struct to prom.h
>> 3/5 - Export the memory sysdev class
>> 4/5 - Memory DLPAR handling
>> 5/5 - CPU DLPAR handling
>>
> 
> It looks like a couple of your patches have some checkpatch issues..
> Could you run these through scripts/checkpatch.pl and clean up any
> problems it raises ? Specifically patches 1, 4, and 5 ..
> 

thanks for checking this, I obviously forgot.  I'll post updated patches
(after running checkpatch on them) with fixes.

-Nathan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] kernel handling of dynamic logical partitioning
  2009-09-14 18:22   ` Nathan Fontenot
@ 2009-09-14 18:24     ` Daniel Walker
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Walker @ 2009-09-14 18:24 UTC (permalink / raw)
  To: Nathan Fontenot; +Cc: linuxppc-dev, linux-kernel

On Mon, 2009-09-14 at 13:22 -0500, Nathan Fontenot wrote:
> Daniel Walker wrote:
> > On Fri, 2009-09-11 at 16:08 -0500, Nathan Fontenot wrote:
> >>  am cc'ing lkml.
> >>
> >> Patches include in this set:
> >> 1/5 - DLPAR infrastructure for powerpc/pseries platform.
> >> 2/5 - Move the of_drconf_cell struct to prom.h
> >> 3/5 - Export the memory sysdev class
> >> 4/5 - Memory DLPAR handling
> >> 5/5 - CPU DLPAR handling
> >>
> > 
> > It looks like a couple of your patches have some checkpatch issues..
> > Could you run these through scripts/checkpatch.pl and clean up any
> > problems it raises ? Specifically patches 1, 4, and 5 ..
> > 
> 
> thanks for checking this, I obviously forgot.  I'll post updated patches
> (after running checkpatch on them) with fixes.

Ok, thanks..

Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-14 18:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11 20:56 [PATCH 0/5] kernel handling of dynamic logical partitioning Nathan Fontenot
2009-09-11 21:09 ` Nathan Fontenot
  -- strict thread matches above, loose matches on Subject: below --
2009-09-11 21:08 Nathan Fontenot
2009-09-11 21:23 ` Daniel Walker
2009-09-14 18:22   ` Nathan Fontenot
2009-09-14 18:24     ` Daniel Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).