Re: [PATCH] powerpc: warn users of smt-snooze-delay that the API isn't there anymore

2014-02-24 Thread Deepthi Dharwar
On 02/22/2014 05:44 AM, Cody P Schafer wrote: > /sys/devices/system/cpu/cpu*/smt-snooze-delay was converted into a NOP > in commit 3fa8cad82b94d0bed002571bd246f2299ffc876b, and now does > nothing. Add a pr_warn() to convince any users that they should stop > using it. > > The commit message from

Re: [PATCH] powerpc: warn users of smt-snooze-delay that the API isn't there anymore

2014-02-24 Thread Deepthi Dharwar
On 02/22/2014 05:44 AM, Cody P Schafer wrote: /sys/devices/system/cpu/cpu*/smt-snooze-delay was converted into a NOP in commit 3fa8cad82b94d0bed002571bd246f2299ffc876b, and now does nothing. Add a pr_warn() to convince any users that they should stop using it. The commit message from the

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-14 Thread Deepthi Dharwar
wernv which was earlier > taken care of by the arch specific idle routine. > > Signed-off-by: Preeti U Murthy Reviewed-by: Deepthi Dharwar > --- > drivers/cpuidle/cpuidle-powernv.c |5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/cpuidle/cpuidl

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-14 Thread Deepthi Dharwar
routine. Signed-off-by: Preeti U Murthy pre...@linux.vnet.ibm.com Reviewed-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-powernv.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/cpuidle/cpuidle-powernv.c b/drivers/cpuidle/cpuidle-powernv.c

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Deepthi Dharwar
Hi Preeti, Thanks for the patch. On 02/07/2014 12:31 PM, Preeti U Murthy wrote: > Hi Nicolas, > > Find below the patch that will need to be squashed with this one. > This patch is based on the mainline.Adding Deepthi, the author of > the patch which introduced the powernv cpuidle driver.

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-07 Thread Deepthi Dharwar
Hi Preeti, Thanks for the patch. On 02/07/2014 12:31 PM, Preeti U Murthy wrote: Hi Nicolas, Find below the patch that will need to be squashed with this one. This patch is based on the mainline.Adding Deepthi, the author of the patch which introduced the powernv cpuidle driver. Deepthi,

[PATCH v1] powernv/cpuidle: Back-end cpuidle driver for powernv platform for idle state management.

2014-01-14 Thread Deepthi Dharwar
CONFIG_POWERNV_IDLE. This patch series applies on pseries cpuidle backend driver fixes patchset posted earlier. pseries/cpuidle: pseries cpuidle backend driver clean-ups. Deepthi Dharwar (1): powernv/cpuidle: Back-end cpuidle driver for powernv platform. arch/powerpc/platforms/powernv

[PATCH v1] powernv/cpuidle: Back-end cpuidle driver for powernv platform.

2014-01-14 Thread Deepthi Dharwar
Following patch ports the cpuidle framework for powernv platform and also implements a cpuidle back-end powernv idle driver calling on to power7_nap and snooze idle states. Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/powernv/setup.c | 13 ++ drivers/cpuidle/Kconfig.powerpc

[PATCH v1 3/6] pseries/cpuidle: Use cpuidle_register() for initialisation.

2014-01-14 Thread Deepthi Dharwar
, this check is not required. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-pseries.c | 78 + 1 file changed, 11 insertions(+), 67 deletions(-) diff --git a/drivers/cpuidle/cpuidle-pseries.c b/drivers/cpuidle/cpuidle-pseries.c index 2115478

[PATCH v1 2/6] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2014-01-14 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-pseries.c Make the relevant Makefile and Kconfig changes. Also, introduce Kconfig.powerpc in drivers/cpuidle for all powerpc cpuidle drivers. Signed-off-by: Deepthi Dharwar --- arch/powerpc/include/asm

[PATCH v1 4/6] pseries/cpuidle: Make cpuidle-pseries backend driver a non-module.

2014-01-14 Thread Deepthi Dharwar
Currently cpuidle-pseries backend driver cannot be built as a module due to dependencies wrt cpuidle framework. This patch removes all the module related code in the driver. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-pseries.c | 15 +-- 1 file changed, 1 insertion

[PATCH v1 6/6] pseries/cpuidle: smt-snooze-delay cleanup.

2014-01-14 Thread Deepthi Dharwar
, propose to clean up the kernel code. Signed-off-by: Deepthi Dharwar --- arch/powerpc/include/asm/processor.h |7 --- arch/powerpc/kernel/sysfs.c |2 -- drivers/cpuidle/cpuidle-pseries.c| 17 - 3 files changed, 26 deletions(-) diff --git a/arch/powerpc

[PATCH v1 5/6] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2014-01-14 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-pseries.c | 28 ++-- 1

[PATCH v1 0/6] pseries/cpuidle: pseries cpuidle backend driver clean-ups.

2014-01-14 Thread Deepthi Dharwar
lkml/2013/8/27/432 V7 -> https://lkml.org/lkml/2013/10/29/216 V8 -> https://lkml.org/lkml/2013/11/11/29 Deepthi Dharwar (5): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Use cpuidle_register() for initialisation. pseries/cpuidle: Make cpuidl

[PATCH v1 1/6] pseries/cpuidle: Remove redundant call to ppc64_runlatch_off() in cpu idle routines

2014-01-14 Thread Deepthi Dharwar
for a misunderstanding that it is *necessary* to call ppc64_runlatch_off() multiple times, when that is not the case. Hence this patch takes care of eliminating this redundancy. Signed-off-by: Preeti U Murthy Reviewed-by: Srivatsa S. Bhat Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/pseries

Re: [PATCH] cpuidle/menu: Fail cpuidle_idle_call() if no idle state is acceptable

2014-01-14 Thread Deepthi Dharwar
On 01/14/2014 12:30 PM, Srivatsa S. Bhat wrote: > On 01/14/2014 11:35 AM, Preeti U Murthy wrote: >> On PowerPC, in a particular test scenario, all the cpu idle states were >> disabled. >> Inspite of this it was observed that the idle state count of the shallowest >> idle state, snooze, was

Re: [PATCH] cpuidle/menu: Fail cpuidle_idle_call() if no idle state is acceptable

2014-01-14 Thread Deepthi Dharwar
On 01/14/2014 12:30 PM, Srivatsa S. Bhat wrote: On 01/14/2014 11:35 AM, Preeti U Murthy wrote: On PowerPC, in a particular test scenario, all the cpu idle states were disabled. Inspite of this it was observed that the idle state count of the shallowest idle state, snooze, was increasing.

[PATCH v1 1/6] pseries/cpuidle: Remove redundant call to ppc64_runlatch_off() in cpu idle routines

2014-01-14 Thread Deepthi Dharwar
...@linux.vnet.ibm.com Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/platforms/pseries/processor_idle.c |3 --- 1 file changed, 3 deletions(-) diff --git a/arch/powerpc/platforms/pseries/processor_idle.c b/arch/powerpc/platforms/pseries/processor_idle.c index a166e38..09e4f56

[PATCH v1 0/6] pseries/cpuidle: pseries cpuidle backend driver clean-ups.

2014-01-14 Thread Deepthi Dharwar
- https://lkml.org/lkml/2013/10/29/216 V8 - https://lkml.org/lkml/2013/11/11/29 Deepthi Dharwar (5): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Use cpuidle_register() for initialisation. pseries/cpuidle: Make cpuidle-pseries backend driver a non

[PATCH v1 4/6] pseries/cpuidle: Make cpuidle-pseries backend driver a non-module.

2014-01-14 Thread Deepthi Dharwar
Currently cpuidle-pseries backend driver cannot be built as a module due to dependencies wrt cpuidle framework. This patch removes all the module related code in the driver. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-pseries.c | 15 +-- 1

[PATCH v1 6/6] pseries/cpuidle: smt-snooze-delay cleanup.

2014-01-14 Thread Deepthi Dharwar
, propose to clean up the kernel code. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/include/asm/processor.h |7 --- arch/powerpc/kernel/sysfs.c |2 -- drivers/cpuidle/cpuidle-pseries.c| 17 - 3 files changed, 26 deletions

[PATCH v1 5/6] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2014-01-14 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-pseries.c | 28

[PATCH v1 3/6] pseries/cpuidle: Use cpuidle_register() for initialisation.

2014-01-14 Thread Deepthi Dharwar
, this check is not required. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-pseries.c | 78 + 1 file changed, 11 insertions(+), 67 deletions(-) diff --git a/drivers/cpuidle/cpuidle-pseries.c b/drivers/cpuidle/cpuidle

[PATCH v1 2/6] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2014-01-14 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-pseries.c Make the relevant Makefile and Kconfig changes. Also, introduce Kconfig.powerpc in drivers/cpuidle for all powerpc cpuidle drivers. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch

[PATCH v1] powernv/cpuidle: Back-end cpuidle driver for powernv platform for idle state management.

2014-01-14 Thread Deepthi Dharwar
CONFIG_POWERNV_IDLE. This patch series applies on pseries cpuidle backend driver fixes patchset posted earlier. pseries/cpuidle: pseries cpuidle backend driver clean-ups. Deepthi Dharwar (1): powernv/cpuidle: Back-end cpuidle driver for powernv platform. arch/powerpc/platforms/powernv

[PATCH v1] powernv/cpuidle: Back-end cpuidle driver for powernv platform.

2014-01-14 Thread Deepthi Dharwar
Following patch ports the cpuidle framework for powernv platform and also implements a cpuidle back-end powernv idle driver calling on to power7_nap and snooze idle states. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/platforms/powernv/setup.c | 13 ++ drivers

Re: [PATCH] cpuidle/menu: Fail cpuidle_idle_call() if no idle state is acceptable

2014-01-13 Thread Deepthi Dharwar
reports back to arch so that it can take some > default action. > > Signed-off-by: Preeti U Murthy > --- Acked-by: Deepthi Dharwar > > drivers/cpuidle/cpuidle.c|6 +- > drivers/cpuidle/governors/menu.c |7 --- > 2 files changed, 9 insertions(+), 4 delet

Re: [PATCH] cpuidle/menu: Fail cpuidle_idle_call() if no idle state is acceptable

2014-01-13 Thread Deepthi Dharwar
. Signed-off-by: Preeti U Murthy pre...@linux.vnet.ibm.com --- Acked-by: Deepthi Dharwar deep...@linux.vnet.ibm.com drivers/cpuidle/cpuidle.c|6 +- drivers/cpuidle/governors/menu.c |7 --- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/cpuidle

Re: [PATCH v2 3/9] POWERPC: pseries: cpuidle: use the common cpuidle_[un]register() routines

2014-01-01 Thread Deepthi Dharwar
Acked-by: Deepthi Dharwar > Cc: Deepthi Dharwar > --- > arch/powerpc/platforms/pseries/processor_idle.c | 57 > ++--- > 1 file changed, 3 insertions(+), 54 deletions(-) > > diff --git a/arch/powerpc/platforms/pseries/processor_idle.c > b/arch/powerpc/

Re: [PATCH v2 2/9] POWERPC: pseries: cpuidle: remove superfluous dev->state_count initialization

2014-01-01 Thread Deepthi Dharwar
igned-off-by: Bartlomiej Zolnierkiewicz > Signed-off-by: Kyungmin Park > Acked-by: Daniel Lezcano Acked-by: Deepthi Dharwar > Cc: Deepthi Dharwar > --- > arch/powerpc/platforms/pseries/processor_idle.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/powe

Re: [PATCH v2 2/9] POWERPC: pseries: cpuidle: remove superfluous dev-state_count initialization

2014-01-01 Thread Deepthi Dharwar
Zolnierkiewicz b.zolnier...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Deepthi Dharwar deep...@linux.vnet.ibm.com Cc: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/platforms/pseries/processor_idle.c | 2

Re: [PATCH v2 3/9] POWERPC: pseries: cpuidle: use the common cpuidle_[un]register() routines

2014-01-01 Thread Deepthi Dharwar
Acked-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Deepthi Dharwar deep...@linux.vnet.ibm.com Cc: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/platforms/pseries/processor_idle.c | 57 ++--- 1 file changed, 3 insertions(+), 54 deletions(-) diff

[PATCH v8 2/7] pseries/cpuidle: Use cpuidle_register() for initialisation.

2013-11-10 Thread Deepthi Dharwar
This patch replaces the cpuidle driver and devices initialisation calls with a single generic cpuidle_register() call and also includes minor refactoring of the code around it. Signed-off-by: Deepthi Dharwar Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle-powerpc-book3s.c | 80

[PATCH v8 0/7] POWER/cpuidle: Generic POWERPC-BOOK3S cpuidle driver enabled for PSERIES and POWERNV platforms

2013-11-10 Thread Deepthi Dharwar
end driver posted out for powernv in V1 with pSeries to create a single powerpc driver but this had compile time flags. Deepthi Dharwar (7): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Use cpuidle_register() for initialisation. pseries/cpuidle: Make

[PATCH v8 7/7] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-11-10 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar Acked-by: Daniel Lezcano --- arch/powerpc/platforms/powernv/setup.c | 13 - 1 file changed, 12

[PATCH v8 3/7] pseries/cpuidle: Make pseries_idle backend driver a non-module.

2013-11-10 Thread Deepthi Dharwar
. Signed-off-by: Deepthi Dharwar Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle-powerpc-book3s.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/cpuidle/cpuidle-powerpc-book3s.c b/drivers/cpuidle/cpuidle-powerpc-book3s.c index 51f6cda..82c9e15 100644

[PATCH v8 1/7] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2013-11-10 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-powerpc-book3s.c Make the relevant Makefile and Kconfig changes. This will enable having a common backend cpuidle driver for POWERPC-BOOK3S platform going forward. Signed-off-by: Deepthi Dharwar Acked-by: Daniel

[PATCH v8 5/7] POWER/cpuidle: Generic POWERPC-BOOK3S CPUIDLE driver supporting PSERIES.

2013-11-10 Thread Deepthi Dharwar
This patch includes cleanup and refactoring of the existing code to make the driver POWERPC-BOOK3S generic. * Re-naming the functions from pseries to generic powerpc-book3s. * Re-naming the backend driver from pseries_idle to powerpc_book3s_idle. Signed-off-by: Deepthi Dharwar Acked-by: Daniel

[PATCH v8 6/7] POWER/cpuidle: Enable powernv cpuidle support.

2013-11-10 Thread Deepthi Dharwar
The following patch extends the current powerpc-book3s backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle-powerpc-book3s.c | 39 -- 1 file changed, 36 insertions(+), 3 deletions(-) diff

[PATCH v8 4/7] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2013-11-10 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle-powerpc-book3s.c

[PATCH v8 6/7] POWER/cpuidle: Enable powernv cpuidle support.

2013-11-10 Thread Deepthi Dharwar
The following patch extends the current powerpc-book3s backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/cpuidle-powerpc-book3s.c | 39 -- 1

[PATCH v8 4/7] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2013-11-10 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org

[PATCH v8 0/7] POWER/cpuidle: Generic POWERPC-BOOK3S cpuidle driver enabled for PSERIES and POWERNV platforms

2013-11-10 Thread Deepthi Dharwar
in V1 with pSeries to create a single powerpc driver but this had compile time flags. Deepthi Dharwar (7): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Use cpuidle_register() for initialisation. pseries/cpuidle: Make pseries_idle backend driver

[PATCH v8 7/7] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-11-10 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- arch/powerpc/platforms/powernv

[PATCH v8 3/7] pseries/cpuidle: Make pseries_idle backend driver a non-module.

2013-11-10 Thread Deepthi Dharwar
. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/cpuidle-powerpc-book3s.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/cpuidle/cpuidle-powerpc-book3s.c b/drivers/cpuidle

[PATCH v8 1/7] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2013-11-10 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-powerpc-book3s.c Make the relevant Makefile and Kconfig changes. This will enable having a common backend cpuidle driver for POWERPC-BOOK3S platform going forward. Signed-off-by: Deepthi Dharwar deep

[PATCH v8 5/7] POWER/cpuidle: Generic POWERPC-BOOK3S CPUIDLE driver supporting PSERIES.

2013-11-10 Thread Deepthi Dharwar
This patch includes cleanup and refactoring of the existing code to make the driver POWERPC-BOOK3S generic. * Re-naming the functions from pseries to generic powerpc-book3s. * Re-naming the backend driver from pseries_idle to powerpc_book3s_idle. Signed-off-by: Deepthi Dharwar deep

[PATCH v8 2/7] pseries/cpuidle: Use cpuidle_register() for initialisation.

2013-11-10 Thread Deepthi Dharwar
This patch replaces the cpuidle driver and devices initialisation calls with a single generic cpuidle_register() call and also includes minor refactoring of the code around it. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org

Re: [PATCH V7 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-11-06 Thread Deepthi Dharwar
On 11/07/2013 10:31 AM, Benjamin Herrenschmidt wrote: > On Thu, 2013-11-07 at 09:45 +0530, Deepthi Dharwar wrote: >> 'powerpc' would be very generic arch and would comprise of all platforms >> including embedded 32/64 bit to server 64 bit (similar to that of ARM). >> This d

Re: [PATCH V7 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-11-06 Thread Deepthi Dharwar
On 11/07/2013 02:35 AM, Daniel Lezcano wrote: > On 10/29/2013 12:01 PM, Deepthi Dharwar wrote: >> This patch includes cleanup and refactoring of the >> existing code to make the driver POWER generic. >> * Re-naming the functions from pseries to generic power. >> * Re-nam

Re: [PATCH V7 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-11-06 Thread Deepthi Dharwar
On 11/07/2013 02:35 AM, Daniel Lezcano wrote: On 10/29/2013 12:01 PM, Deepthi Dharwar wrote: This patch includes cleanup and refactoring of the existing code to make the driver POWER generic. * Re-naming the functions from pseries to generic power. * Re-naming the backend driver from

Re: [PATCH V7 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-11-06 Thread Deepthi Dharwar
On 11/07/2013 10:31 AM, Benjamin Herrenschmidt wrote: On Thu, 2013-11-07 at 09:45 +0530, Deepthi Dharwar wrote: 'powerpc' would be very generic arch and would comprise of all platforms including embedded 32/64 bit to server 64 bit (similar to that of ARM). This driver does not intend

[PATCH V7 2/7] pseries/cpuidle: Use cpuidle_register() for initialisation.

2013-10-29 Thread Deepthi Dharwar
This patch replaces the cpuidle driver and devices initialisation calls with a single generic cpuidle_register() call and also includes minor refactoring of the code around it. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 80 +-- 1

[PATCH V7 6/7] POWER/cpuidle: Enable powernv cpuidle support.

2013-10-29 Thread Deepthi Dharwar
The following patch extends the current power backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/cpuidle

[PATCH V7 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-10-29 Thread Deepthi Dharwar
This patch includes cleanup and refactoring of the existing code to make the driver POWER generic. * Re-naming the functions from pseries to generic power. * Re-naming the backend driver from pseries_idle to ibm-power-idle. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm

[PATCH V7 1/7] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2013-10-29 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-ibm-power.c Make the relevant Makefile and Kconfig changes. This will enable having a common backend cpuidle driver for POWER platform going forward. Signed-off-by: Deepthi Dharwar --- arch/powerpc/include/asm

[PATCH V7 7/7] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-10-29 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/powernv/setup.c | 13 - 1 file changed, 12 insertions(+), 1 deletion

[PATCH V7 3/7] pseries/cpuidle: Make pseries_idle backend driver a non-module.

2013-10-29 Thread Deepthi Dharwar
. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/cpuidle/cpuidle-ibm-power.c b/drivers/cpuidle/cpuidle-ibm-power.c index faf8cc1..8c9e42c 100644 --- a/drivers/cpuidle/cpuidle-ibm-power.c

[PATCH V7 4/7] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2013-10-29 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 26 +- 1

[PATCH V7 0/7] POWER/cpuidle: Generic IBM-POWER cpuidle driver enabled for PSERIES and POWERNV platforms

2013-10-29 Thread Deepthi Dharwar
of PPC64. Changes in V2: = * Merged the backend driver posted out for powernv in V1 with pSeries to create a single powerpc driver but this had compile time flags. Deepthi Dharwar (7): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Us

[PATCH V7 0/7] POWER/cpuidle: Generic IBM-POWER cpuidle driver enabled for PSERIES and POWERNV platforms

2013-10-29 Thread Deepthi Dharwar
: = * Merged the backend driver posted out for powernv in V1 with pSeries to create a single powerpc driver but this had compile time flags. Deepthi Dharwar (7): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Use cpuidle_register

[PATCH V7 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-10-29 Thread Deepthi Dharwar
This patch includes cleanup and refactoring of the existing code to make the driver POWER generic. * Re-naming the functions from pseries to generic power. * Re-naming the backend driver from pseries_idle to ibm-power-idle. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers

[PATCH V7 1/7] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2013-10-29 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-ibm-power.c Make the relevant Makefile and Kconfig changes. This will enable having a common backend cpuidle driver for POWER platform going forward. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com

[PATCH V7 7/7] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-10-29 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/platforms/powernv/setup.c | 13 - 1 file changed, 12

[PATCH V7 3/7] pseries/cpuidle: Make pseries_idle backend driver a non-module.

2013-10-29 Thread Deepthi Dharwar
. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/cpuidle/cpuidle-ibm-power.c b/drivers/cpuidle/cpuidle-ibm-power.c index faf8cc1..8c9e42c 100644 --- a/drivers

[PATCH V7 4/7] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2013-10-29 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 26

[PATCH V7 6/7] POWER/cpuidle: Enable powernv cpuidle support.

2013-10-29 Thread Deepthi Dharwar
The following patch extends the current power backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git

[PATCH V7 2/7] pseries/cpuidle: Use cpuidle_register() for initialisation.

2013-10-29 Thread Deepthi Dharwar
This patch replaces the cpuidle driver and devices initialisation calls with a single generic cpuidle_register() call and also includes minor refactoring of the code around it. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 80

[PATCH V6 3/7] pseries/cpuidle: Make pseries_idle backend driver a non-module.

2013-08-27 Thread Deepthi Dharwar
. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/cpuidle/cpuidle-ibm-power.c b/drivers/cpuidle/cpuidle-ibm-power.c index b42b948..262db3c 100644 --- a/drivers/cpuidle/cpuidle-ibm-power.c

[PATCH V6 7/7] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-08-27 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/powernv/setup.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion

[PATCH V6 6/7] POWER/cpuidle: Enable powernv cpuidle support.

2013-08-27 Thread Deepthi Dharwar
The following patch extends the current power backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/cpuidle

[PATCH V6 4/7] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2013-08-27 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 26 +- 1

[PATCH V6 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-08-27 Thread Deepthi Dharwar
This patch includes cleanup and refactoring of the existing code to make the driver POWER generic. * Re-naming the functions from pseries to generic power. * Re-naming the backend driver from pseries_idle to ibm-power-idle. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm

[PATCH V6 2/7] pseries/cpuidle: Use cpuidle_register() for initialisation.

2013-08-27 Thread Deepthi Dharwar
This patch replaces the cpuidle driver and devices initialisation calls with a single generic cpuidle_register() call and also includes minor refactoring of the code around it. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 80 +-- 1

[PATCH V6 1/7] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2013-08-27 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-ibm-power.c Make the relevant Makefile and Kconfig changes. This will enable having a common backend cpuidle driver for POWER platform going forward. Signed-off-by: Deepthi Dharwar --- arch/powerpc/include/asm

[PATCH V6 0/7] POWER/cpuidle: Generic IBM-POWER cpuidle driver enabled for PSERIES and POWERNV platforms

2013-08-27 Thread Deepthi Dharwar
with pSeries to create a single powerpc driver but this had compile time flags. Deepthi Dharwar (7): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Use cpuidle_register() for initialisation. pseries/cpuidle: Make pseries_idle backend drive

[PATCH V6 0/7] POWER/cpuidle: Generic IBM-POWER cpuidle driver enabled for PSERIES and POWERNV platforms

2013-08-27 Thread Deepthi Dharwar
a single powerpc driver but this had compile time flags. Deepthi Dharwar (7): pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. pseries/cpuidle: Use cpuidle_register() for initialisation. pseries/cpuidle: Make pseries_idle backend driver a non-module. pseries

[PATCH V6 1/7] pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.

2013-08-27 Thread Deepthi Dharwar
Move the file from arch specific pseries/processor_idle.c to drivers/cpuidle/cpuidle-ibm-power.c Make the relevant Makefile and Kconfig changes. This will enable having a common backend cpuidle driver for POWER platform going forward. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com

[PATCH V6 2/7] pseries/cpuidle: Use cpuidle_register() for initialisation.

2013-08-27 Thread Deepthi Dharwar
This patch replaces the cpuidle driver and devices initialisation calls with a single generic cpuidle_register() call and also includes minor refactoring of the code around it. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 80

[PATCH V6 4/7] pseries/cpuidle: Remove MAX_IDLE_STATE macro.

2013-08-27 Thread Deepthi Dharwar
This patch removes the usage of MAX_IDLE_STATE macro and dead code around it. The number of states are determined at run time based on the cpuidle state table selected on a given platform Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 26

[PATCH V6 5/7] POWER/cpuidle: Generic POWER CPUIDLE driver supporting PSERIES.

2013-08-27 Thread Deepthi Dharwar
This patch includes cleanup and refactoring of the existing code to make the driver POWER generic. * Re-naming the functions from pseries to generic power. * Re-naming the backend driver from pseries_idle to ibm-power-idle. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers

[PATCH V6 6/7] POWER/cpuidle: Enable powernv cpuidle support.

2013-08-27 Thread Deepthi Dharwar
The following patch extends the current power backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git

[PATCH V6 7/7] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-08-27 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/platforms/powernv/setup.c | 14 +- 1 file changed, 13

[PATCH V6 3/7] pseries/cpuidle: Make pseries_idle backend driver a non-module.

2013-08-27 Thread Deepthi Dharwar
. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-ibm-power.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/cpuidle/cpuidle-ibm-power.c b/drivers/cpuidle/cpuidle-ibm-power.c index b42b948..262db3c 100644 --- a/drivers

Re: [PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-23 Thread Deepthi Dharwar
;> +}; >> + >> +/* >> + * States for shared partition case. >> + */ >> +static struct cpuidle_state shared_states[MAX_IDLE_STATE_COUNT] = { >> +{ /* Shared Cede */ >> + .name = "Shared Cede", >> +.desc =

Re: [PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-23 Thread Deepthi Dharwar
E_VALID, >> +.exit_latency = 0, >> +.target_residency = 0, >> +.enter = _cede_loop }, >> +}; >> + >> +static void __exit power_processor_idle_exit(void) >> +{ >> + >> +unregister_cpu_notifier(_hotplug_n

Re: [PATCH V4 3/5] powerpc/cpuidle: Generic powerpc backend cpuidle driver.

2013-08-23 Thread Deepthi Dharwar
Hi Bartlomiej, Thanks for the review. On 08/22/2013 04:26 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Thursday, August 22, 2013 11:00:29 AM Deepthi Dharwar wrote: >> This patch involves moving the current pseries_idle backend driver code >> from pseries/pro

Re: [PATCH V4 3/5] powerpc/cpuidle: Generic powerpc backend cpuidle driver.

2013-08-23 Thread Deepthi Dharwar
Hi Bartlomiej, Thanks for the review. On 08/22/2013 04:26 PM, Bartlomiej Zolnierkiewicz wrote: Hi, On Thursday, August 22, 2013 11:00:29 AM Deepthi Dharwar wrote: This patch involves moving the current pseries_idle backend driver code from pseries/processor_idle.c to drivers/cpuidle

Re: [PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-23 Thread Deepthi Dharwar
you have tested the module? If not tested, please don't use the module. We do want to make it a module. But for now that cannot be done due to some other dependencies. This feature needs to be built in. Thanks for the review. +MODULE_AUTHOR(Deepthi Dharwar deep...@linux.vnet.ibm.com

Re: [PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-23 Thread Deepthi Dharwar
(power_processor_idle_init); +module_exit(power_processor_idle_exit); + Did you have tested the module? If not tested, please don't use the module. +MODULE_AUTHOR(Deepthi Dharwar deep...@linux.vnet.ibm.com); +MODULE_DESCRIPTION(Cpuidle driver for IBM POWER platforms); +MODULE_LICENSE(GPL); -- To unsubscribe

[PATCH V5 5/5] powernv/cpuidle: Enable idle powernv cpu to call into the cpuidle framework.

2013-08-22 Thread Deepthi Dharwar
This patch enables idle cpu on the powernv platform to hook on to the cpuidle framework, if available, else call on to default idle platform code. Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms/powernv/setup.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion

[PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-22 Thread Deepthi Dharwar
This removes a lot of code duplicacy, thus making the code elegant. Signed-off-by: Deepthi Dharwar --- arch/powerpc/include/asm/processor.h|2 arch/powerpc/platforms/pseries/Kconfig |9 - arch/powerpc/platforms/pseries/Makefile |1 arch/powerpc/platforms

[PATCH V5 2/5] pseries: Move plpar_wrapper.h to powerpc common include/asm location.

2013-08-22 Thread Deepthi Dharwar
As a part of pseries_idle backend driver cleanup to make the code common to both pseries and powernv platforms, it is necessary to move the backend-driver code to drivers/cpuidle. As a pre-requisite for that, it is essential to move plpar_wrapper.h to include/asm. Signed-off-by: Deepthi Dharwar

[PATCH V5 4/5] POWER/cpuidle: Enable powernv cpuidle support.

2013-08-22 Thread Deepthi Dharwar
The following patch extends the current power backend idle driver to the powernv platform. Signed-off-by: Deepthi Dharwar --- drivers/cpuidle/cpuidle-ibm-power.c | 37 --- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/drivers/cpuidle/cpuidle

[PATCH V5 1/5] pseries/cpuidle: Remove dependency of pseries.h file

2013-08-22 Thread Deepthi Dharwar
As a part of pseries_idle cleanup to make the backend driver code common to both pseries and powernv. Remove non-essential smt_snooze_delay declaration in pseries.h header file and pseries.h file inclusion in pseries/processor_idle.c Signed-off-by: Deepthi Dharwar --- arch/powerpc/platforms

[PATCH V5 0/5] POWER/cpuidle: Generic IBM-POWER cpuidle driver enabled for PSERIES and POWERNV platforms

2013-08-22 Thread Deepthi Dharwar
th pSeries to create a single powerpc driver but this had compile time flags. Deepthi Dharwar (5): pseries/cpuidle: Remove dependency of pseries.h file pseries: Move plpar_wrapper.h to powerpc common include/asm location. POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

[PATCH V5 0/5] POWER/cpuidle: Generic IBM-POWER cpuidle driver enabled for PSERIES and POWERNV platforms

2013-08-22 Thread Deepthi Dharwar
to create a single powerpc driver but this had compile time flags. Deepthi Dharwar (5): pseries/cpuidle: Remove dependency of pseries.h file pseries: Move plpar_wrapper.h to powerpc common include/asm location. POWER/cpuidle: Generic IBM-POWER backend cpuidle driver. POWER

[PATCH V5 1/5] pseries/cpuidle: Remove dependency of pseries.h file

2013-08-22 Thread Deepthi Dharwar
As a part of pseries_idle cleanup to make the backend driver code common to both pseries and powernv. Remove non-essential smt_snooze_delay declaration in pseries.h header file and pseries.h file inclusion in pseries/processor_idle.c Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com

[PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-22 Thread Deepthi Dharwar
This removes a lot of code duplicacy, thus making the code elegant. Signed-off-by: Deepthi Dharwar deep...@linux.vnet.ibm.com --- arch/powerpc/include/asm/processor.h|2 arch/powerpc/platforms/pseries/Kconfig |9 - arch/powerpc/platforms/pseries/Makefile |1

[PATCH V5 2/5] pseries: Move plpar_wrapper.h to powerpc common include/asm location.

2013-08-22 Thread Deepthi Dharwar
As a part of pseries_idle backend driver cleanup to make the code common to both pseries and powernv platforms, it is necessary to move the backend-driver code to drivers/cpuidle. As a pre-requisite for that, it is essential to move plpar_wrapper.h to include/asm. Signed-off-by: Deepthi Dharwar

  1   2   >