--- v2
+++ v3
@@ -1,28 +1,21 @@
From: "Gautham R. Shenoy" <ego@linux.vnet.ibm.com>
-Hi,
-
-This is the second iteration of the patchset to use the psscr_val and
+This is the third 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:
-https://lkml.org/lkml/2016/9/29/45
+The previous version can be found here:
-The main changes in this version are:
+[v2]: https://lkml.org/lkml/2016/10/27/143
+[v1]: https://lkml.org/lkml/2016/9/29/45
-1) Add a helper function in powernv-cpuidle.c to help initialize the
- powernv_states cpuidle table.
-
-2) Handle the older firmware which populates only the Requested Level
- (RL) fields of the psscr and psscr_mask in the device tree. This
- patchset ensures that in the presence of the older firmware, the
- other fields of PSSCR are initalized to sane default values.
-
+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.
Synopsis
==========
-In the current implementation, the code for ISA v3.0 stop
-implementation has a couple of shortcomings.
+In the current implementation, the code for ISA
+v3.0 stop implementation has a couple of shortcomings.
a) The code hand-codes the values for ESL,EC,TR,MTL bits of PSSCR and
uses only the RL field from the firmware. While this is not
@@ -79,12 +72,12 @@
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/idle.c | 81 ++++++++++++++++++----
arch/powerpc/platforms/powernv/powernv.h | 3 +-
arch/powerpc/platforms/powernv/smp.c | 14 ++--
- drivers/cpuidle/cpuidle-powernv.c | 110 ++++++++++++++++++++-----------
+ drivers/cpuidle/cpuidle-powernv.c | 111 +++++++++++++++++++------------
include/linux/cpuidle.h | 1 +
- 9 files changed, 220 insertions(+), 81 deletions(-)
+ 9 files changed, 219 insertions(+), 83 deletions(-)
--
1.9.4