From: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
To: Nathan Fontenot <nfont@austin.ibm.com>,
Benjamin Herrenschmidt <benh@au1.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Gautham R Shenoy <ego@in.ibm.com>,
linux-kernel@vger.kernel.org,
Arun R Bharadwaj <arun@linux.vnet.ibm.com>,
Andrew Morton <akpm@linux-foundation.org>,
linuxppc-dev@lists.ozlabs.org, Ingo Molnar <mingo@elte.hu>
Subject: [PATCH v6 0/2] pseries: Add cede support for cpu-offline
Date: Fri, 27 Nov 2009 01:28:45 +0530 [thread overview]
Message-ID: <20091126195121.29159.66098.stgit@drishya> (raw)
Hi,
This is version 6 of patch series that provides a framework to choose the state
a pseries CPU must be put to when it is offlined.
Previous versions can be found here:
Version 5: http://lkml.org/lkml/2009/10/30/6
Version 4: http://lkml.org/lkml/2009/10/9/59
Version 3: http://lkml.org/lkml/2009/9/15/164
Version 2: http://lkml.org/lkml/2009/8/28/102
Version 1: http://lkml.org/lkml/2009/8/6/236
Changes from the previous version include:
- Built on Nathan Fontenot's v3 of "Kernel handling of Dynamic
Logical Partitioning" http://lkml.org/lkml/2009/11/25/21
- Rebased to powerpc.git tree and hence dropped 1st and 2nd patch in
the stack since they are already in the powerpc.git tree:
With reference to previous version,
Dropped:
1/4 pSeries: extended_cede_processor() helper function
2/4 pSeries: Add hooks to put the CPU into an appropriate offline state
Posting only:
3/4 pseries: Add code to online/offline CPUs of a DLPAR node
4/4 pseries: Serialize cpu hotplug operations during deactivate Vs deallocate
Minor changes in the above patchs due to changes in Nathan's routines.
Also,
- This approach addresses Peter Z's objections regarding layering
violations. The user simply offlines the cpu and doesn't worry about what
state the CPU should be put into. That part is automatically handled by the
kernel.
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
http://lkml.org/lkml/2009/11/11/328
- It does not add any additional sysfs interface instead uses the existing
sysfs interface to offline CPUs.
- On platforms which do not have support for ceding the vcpu with a
latency specifier value, the offlining mechanism defaults to the current
method of calling rtas_stop_self().
This patchset is based on powerpc.git + Nathan's patches and has been built and
tested on pseries platforms. This series can be applied to powerpc.git after
Nathan's patches.
Thanks,
Vaidy
---
Gautham R Shenoy (2):
pseries: Serialize cpu hotplug operations during deactivate Vs deallocate
pseries: Add code to online/offline CPUs of a DLPAR node
arch/powerpc/platforms/pseries/dlpar.c | 144 ++++++++++++++++++++++++++++++--
drivers/base/cpu.c | 2
include/linux/cpu.h | 13 +++
3 files changed, 150 insertions(+), 9 deletions(-)
--
next reply other threads:[~2009-11-26 19:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-26 19:58 Vaidyanathan Srinivasan [this message]
2009-11-26 19:58 ` [PATCH v6 1/2] pseries: Add code to online/offline CPUs of a DLPAR node Vaidyanathan Srinivasan
2009-11-26 19:59 ` [PATCH v6 2/2] pseries: Serialize cpu hotplug operations during deactivate Vs deallocate Vaidyanathan Srinivasan
2009-12-08 6:14 ` [PATCH v6 0/2] pseries: Add cede support for cpu-offline Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091126195121.29159.66098.stgit@drishya \
--to=svaidy@linux.vnet.ibm.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=arun@linux.vnet.ibm.com \
--cc=benh@au1.ibm.com \
--cc=ego@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mingo@elte.hu \
--cc=nfont@austin.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).