From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 053D1B7088 for ; Sat, 12 Sep 2009 07:09:39 +1000 (EST) Received: from e37.co.us.ibm.com (e37.co.us.ibm.com [32.97.110.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e37.co.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 90649DDD01 for ; Sat, 12 Sep 2009 07:09:38 +1000 (EST) Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e37.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n8BL8d79006384 for ; Fri, 11 Sep 2009 15:08:39 -0600 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n8BL9TUw023166 for ; Fri, 11 Sep 2009 15:09:33 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n8BL9Tf6017952 for ; Fri, 11 Sep 2009 15:09:29 -0600 Received: from [9.53.40.154] (mudbug-009053040154.austin.ibm.com [9.53.40.154]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n8BL9RbL017868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Sep 2009 15:09:29 -0600 Message-ID: <4AAABC83.5000508@austin.ibm.com> Date: Fri, 11 Sep 2009 16:09:23 -0500 From: Nathan Fontenot MIME-Version: 1.0 To: linuxppc-dev@ozlabs.org Subject: Re: [PATCH 0/5] kernel handling of dynamic logical partitioning References: <4AAAB99B.2080503@austin.ibm.com> In-Reply-To: <4AAAB99B.2080503@austin.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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