Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758073AbZKZDAo (ORCPT ); Wed, 25 Nov 2009 22:00:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754298AbZKZDAn (ORCPT ); Wed, 25 Nov 2009 22:00:43 -0500 Received: from ozlabs.org ([203.10.76.45]:33247 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751947AbZKZDAm (ORCPT ); Wed, 25 Nov 2009 22:00:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19213.61204.591278.856459@drongo.ozlabs.ibm.com> Date: Thu, 26 Nov 2009 13:59:32 +1100 From: Paul Mackerras To: Nathan Fontenot Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, gregkh@suse.de, Ben Herrenschmidt Subject: Re: [PATCH v2 2/3] sysfs cpu probe/release files In-Reply-To: <4B0CD8D5.8050803@austin.ibm.com> References: <4B0CD70F.6090600@austin.ibm.com> <4B0CD8D5.8050803@austin.ibm.com> X-Mailer: VM 8.0.12 under 22.3.1 (powerpc-unknown-linux-gnu) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1092 Lines: 24 Nathan Fontenot writes: > In order to support kernel DLPAR of CPU resources we need to provide an > interface to add (probe) and remove (release) the resource from the system. > This patch Creates new generic probe and release sysfs files to facilitate > cpu probe/release. The probe/release interface provides for allowing each > arch to supply their own routines for implementing the backend of adding > and removing cpus to/from the system. > > This also creates the powerpc specific stubs to handle the arch callouts > from writes to the sysfs files. > > The creation and use of these files is regulated by the > CONFIG_ARCH_CPU_PROBE_RELEASE option so that only architectures that need the > capability will have the files created. > > Signed-off-by: Nathan Fontenot Acked-by: Paul Mackerras -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/