--- v3
+++ v4
@@ -1,16 +1,19 @@
From: "Gautham R. Shenoy" <ego@linux.vnet.ibm.com>
-This is the third iteration of the patchset to use the psscr_val and
+This is the fourth iteration of the patchset to use the psscr_val and
psscr_mask provided by the firmware for each of the stop states.
The previous version can be found here:
+[v3]: https://lkml.org/lkml/2016/11/10/37
[v2]: https://lkml.org/lkml/2016/10/27/143
[v1]: https://lkml.org/lkml/2016/9/29/45
-This version fixes a couple of bugs pertaining to strncpy and
-initialization of the target-residency values of nap and sleep
-which were pointed out by Paul and Oliver in the earlier version.
+This version fixes some of the coding style issues pointed out by
+Michael Ellerman in v3. This version also documents the device-tree
+bindings defining the properties under the @power-mgt node in the
+device tree describing the idle states for Linux running on baremetal
+POWER servers.
Synopsis
==========
@@ -56,6 +59,10 @@
set the default sane values for for remaining PSSCR fields (i.e PSLL,
MTL, ESL, EC, and TR).
+The fourth patch provides the documentation for the device-tree
+bindings describing the idle state properties under the @power-mgt
+node in the device-tree.
+
The skiboot patch populates all the relevant fields in the PSSCR
values and the mask for all the stop states can be found here:
https://lists.ozlabs.org/pipermail/skiboot/2016-September/004869.html
@@ -63,21 +70,24 @@
The patches are based on top of
git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes
-Gautham R. Shenoy (3):
+Gautham R. Shenoy (4):
powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro
cpuidle:powernv: Add helper function to populate powernv idle states.
powernv: Pass PSSCR value and mask to power9_idle_stop
+ Documentation:powerpc: Add device-tree bindings for power-mgt
- arch/powerpc/include/asm/cpuidle.h | 42 +++++++++++-
- arch/powerpc/include/asm/processor.h | 3 +-
- arch/powerpc/kernel/exceptions-64s.S | 6 +-
- arch/powerpc/kernel/idle_book3s.S | 41 +++++++-----
- arch/powerpc/platforms/powernv/idle.c | 81 ++++++++++++++++++----
- arch/powerpc/platforms/powernv/powernv.h | 3 +-
- arch/powerpc/platforms/powernv/smp.c | 14 ++--
- drivers/cpuidle/cpuidle-powernv.c | 111 +++++++++++++++++++------------
- include/linux/cpuidle.h | 1 +
- 9 files changed, 219 insertions(+), 83 deletions(-)
+ .../devicetree/bindings/powerpc/opal/power-mgt.txt | 123 +++++++++++++++++++++
+ arch/powerpc/include/asm/cpuidle.h | 46 +++++++-
+ arch/powerpc/include/asm/processor.h | 3 +-
+ arch/powerpc/kernel/exceptions-64s.S | 6 +-
+ arch/powerpc/kernel/idle_book3s.S | 41 ++++---
+ arch/powerpc/platforms/powernv/idle.c | 81 +++++++++++---
+ arch/powerpc/platforms/powernv/powernv.h | 3 +-
+ arch/powerpc/platforms/powernv/smp.c | 14 ++-
+ drivers/cpuidle/cpuidle-powernv.c | 113 ++++++++++++-------
+ include/linux/cpuidle.h | 1 +
+ 10 files changed, 348 insertions(+), 83 deletions(-)
+ create mode 100644 Documentation/devicetree/bindings/powerpc/opal/power-mgt.txt
--
1.9.4