Re: [PATCH 1/5] dynamic logical partitioning infrastructure

2009-09-17 Thread Nathan Fontenot
Michael Ellerman wrote: On Fri, 2009-09-11 at 16:10 -0500, Nathan Fontenot wrote: This patch provides the kernel DLPAR infrastructure in a new filed named dlpar.c. The functionality provided is for acquiring and releasing a resource from firmware and the parsing of information returned from th

Re: [PATCH 1/5] dynamic logical partitioning infrastructure

2009-09-15 Thread Michael Ellerman
On Fri, 2009-09-11 at 16:10 -0500, Nathan Fontenot wrote: > This patch provides the kernel DLPAR infrastructure in a new filed named > dlpar.c. The functionality provided is for acquiring and releasing a > resource from firmware and the parsing of information returned from the > ibm,configure-con

Re: [PATCH 1/5] dynamic logical partitioning infrastructure

2009-09-15 Thread Nathan Fontenot
Brian King wrote: Nathan Fontenot wrote: +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#define CFG_CONN_WORK_SIZE4096 +static char workarea[CFG_CONN_WORK_SIZE]; +spinlock_t workarea_lock; This can be: static DEFINE_SPINL

Re: [PATCH 1/5] dynamic logical partitioning infrastructure

2009-09-14 Thread Brian King
Nathan Fontenot wrote: > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include > + > +#define CFG_CONN_WORK_SIZE4096 > +static char workarea[CFG_CONN_WORK_SIZE]; > +spinlock_t workarea_lock; This can be: static DEFI

[PATCH 1/5] dynamic logical partitioning infrastructure

2009-09-11 Thread Nathan Fontenot
This patch provides the kernel DLPAR infrastructure in a new filed named dlpar.c. The functionality provided is for acquiring and releasing a resource from firmware and the parsing of information returned from the ibm,configure-connector rtas call. Additionally this exports the pSeries reconfi