From: "Gautham R. Shenoy" <ego@linux•vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman•id.au>,
Michael Neuling <mikey@neuling•org>,
Benjamin Herrenschmidt <benh@kernel•crashing.org>,
"Shreyas B. Prabhu" <shreyasbp@gmail•com>,
Shilpasri G Bhat <shilpa.bhat@linux•vnet.ibm.com>,
Vaidyanathan Srinivasan <svaidy@linux•vnet.ibm.com>,
Anton Blanchard <anton@samba•org>,
Balbir Singh <bsingharora@gmail•com>,
Akshay Adiga <akshay.adiga@linux•vnet.ibm.com>
Cc: linuxppc-dev@lists•ozlabs.org, linux-kernel@vger•kernel.org,
"Gautham R. Shenoy" <ego@linux•vnet.ibm.com>
Subject: [PATCH 0/3] powernv:idle: Fixes for CPU-Hotplug on POWER DD1.0
Date: Mon, 13 Mar 2017 11:31:25 +0530 [thread overview]
Message-ID: <cover.1489383815.git.ego@linux.vnet.ibm.com> (raw)
From: "Gautham R. Shenoy" <ego@linux•vnet.ibm.com>
Hi,
This patchset contains fixes to make CPU-Hotplug working on correctly
on POWER9 DD1 systems.
There are three patches in the series.
- The first patch adds a fallback mechanism for CPU-Hotplug when no
platform idle state is available.
- The second patch ensures that the kernel doesn't use any stop state
that is not exposed by the firmware.
- The third patch adds a recovery framework for correctly recovering
paca pointer of the thread waking up from a stop.
These patches are based on powerpc/linux.git "fixes" with the top
commit a7d2475af7aed ("powerpc: Sort the selects under CONFIG_PPC").
The patches have been tested with stop1 (ESL=EC=1) as the
deepest-state entered into during CPU-Hotplug.
Gautham R. Shenoy (3):
powernv:smp: Add busy-wait loop as fall back for CPU-Hotplug
powernv:idle: Don't override default/deepest directly in kernel
powernv:Recover correct PACA on wakeup from a stop on P9 DD1
arch/powerpc/include/asm/paca.h | 5 ++++
arch/powerpc/kernel/asm-offsets.c | 1 +
arch/powerpc/kernel/idle_book3s.S | 43 +++++++++++++++++++++++++++-
arch/powerpc/platforms/powernv/idle.c | 49 ++++++++++++++++++++++++++------
arch/powerpc/platforms/powernv/powernv.h | 1 +
arch/powerpc/platforms/powernv/smp.c | 18 ++++++++++--
6 files changed, 105 insertions(+), 12 deletions(-)
--
1.9.4
next reply other threads:[~2017-03-13 6:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 6:01 Gautham R. Shenoy [this message]
2017-03-13 6:01 ` [PATCH 1/3] powernv:smp: Add busy-wait loop as fall back for CPU-Hotplug Gautham R. Shenoy
2017-03-14 13:30 ` Nicholas Piggin
2017-03-13 6:01 ` [PATCH 2/3] powernv:idle: Don't override default/deepest directly in kernel Gautham R. Shenoy
2017-03-14 14:05 ` Nicholas Piggin
2017-03-15 11:11 ` Gautham R Shenoy
2017-03-13 6:01 ` [PATCH 3/3] powernv:Recover correct PACA on wakeup from a stop on P9 DD1 Gautham R. Shenoy
2017-03-14 14:35 ` Nicholas Piggin
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=cover.1489383815.git.ego@linux.vnet.ibm.com \
--to=ego@linux$(echo .)vnet.ibm.com \
--cc=akshay.adiga@linux$(echo .)vnet.ibm.com \
--cc=anton@samba$(echo .)org \
--cc=benh@kernel$(echo .)crashing.org \
--cc=bsingharora@gmail$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=mikey@neuling$(echo .)org \
--cc=mpe@ellerman$(echo .)id.au \
--cc=shilpa.bhat@linux$(echo .)vnet.ibm.com \
--cc=shreyasbp@gmail$(echo .)com \
--cc=svaidy@linux$(echo .)vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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