Re: [PATCH 0/2] DMA: PL330: Clock and runtime cleanup

2012-09-14 Thread Chander Kashyap
in the same code paths, which unneccessarily increments the usage count of the clock for the same device. The following patches remove the redundant clock enable/disable from the driver. Looks good, any tested by before I apply this.. Kukjin? if it matters, Tested-by: Chander Kashyap

[PATCH 0/2] ARM: Exynos4: Migrate to common clock framework.

2012-10-01 Thread chander . kashyap
From: Thomas Abraham thomas.abra...@linaro.org This patch series migrates Exynos4 clock support to common clock framework. The first patch in this series removes the existing Exynos4 clock support that uses the Samsung specific clock framework. The second patch in this series add Exynos4 clock

[PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-01 Thread chander . kashyap
From: Thomas Abraham thomas.abra...@linaro.org Register clocks for Exynos4 platfotms using common clock framework. Also included are set of helper functions for clock registration that can be reused on other Samsung platforms as well. Cc: Mike Turquette mturque...@linaro.org Cc: Kukjin Kim

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
at http://vger.kernel.org/majordomo-info.html -- with warm regards, Chander Kashyap -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 18:20, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa wrote: Ccing Arnd and Olof, because I forgot to add them to git send-email

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 18:54, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100, Tomasz Figa wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene@samsung.com wrote: On 06/19/13 02:45, Tomasz Figa

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 19:19, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 14:24:17 Lorenzo Pieralisi wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100, Tomasz Figa wrote: On Wednesday 19 of June 2013 17:39:21 Chander Kashyap wrote: On 18 June 2013 23:29, Kukjin Kim kgene

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 19:58, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 19:25:27 Chander Kashyap wrote: On 19 June 2013 19:19, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 14:24:17 Lorenzo Pieralisi wrote: On Wed, Jun 19, 2013 at 01:50:57PM +0100

Re: [PATCH] ARM: EXYNOS: Fix incorrect usage of S5P_ARM_CORE1_* registers

2013-06-19 Thread Chander Kashyap
On 19 June 2013 20:31, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 20:26:50 Chander Kashyap wrote: On 19 June 2013 19:58, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 19 of June 2013 19:25:27 Chander Kashyap wrote: On 19 June 2013 19:19, Tomasz Figa t.f

Re: [PATCH 5/6] ARM: EXYNOS: Minor fixes to enable EXYNOS5410 support

2013-10-03 Thread Chander Kashyap
...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- with warm regards, Chander Kashyap -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

[PATCH] irqchip: exynos-combiner: remove hard-coded irq_base value

2013-09-15 Thread Chander Kashyap
Pass '0' in place of hardcoded irq_base value as first_irq parameter to irq_domain_add_simple in order to use linear irq domain. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- drivers/irqchip/exynos-combiner.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions

Re: [PATCH v2] irqchip: exynos-combiner: remove hard-coded irq_base value

2013-11-24 Thread Chander Kashyap
Hi Kikjin, On 21 October 2013 02:32, Kukjin Kim kgene@samsung.com wrote: On 10/18/13 02:53, Tomasz Figa wrote: Hi Kukjin, On Thursday 26 of September 2013 14:05:09 Kukjin Kim wrote: Chander Kashyap wrote: Replace irq_domain_add_simple with irq_domain_add_linear in order to use

Re: [PATCH] irqchip: exynos-combiner: remove hard-coded irq_base value

2013-09-23 Thread Chander Kashyap
On 17 September 2013 18:07, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, On Monday 16 of September 2013 11:01:22 Chander Kashyap wrote: Pass '0' in place of hardcoded irq_base value as first_irq parameter to irq_domain_add_simple in order to use linear irq domain. Signed-off

[PATCH v2] irqchip: exynos-combiner: remove hard-coded irq_base value

2013-09-23 Thread Chander Kashyap
Replace irq_domain_add_simple with irq_domain_add_linear in order to use linear irq domain, and to remove hardcoded irq_base_value. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- Changes since v1: - Replaced irq_domain_add_simple with irq_domain_add_linear

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-10 Thread Chander Kashyap
this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- with warm regards, Chander Kashyap -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-10 Thread Chander Kashyap
Hi Doug, On Tue, Jun 10, 2014 at 9:19 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Tue, 10 Jun 2014, Doug Anderson wrote: My S-state knowledge is not strong, but I believe that Lorenzo's questions matter if we're using S2 for CPUidle (where we actually turn off power and hot unplug

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-11 Thread Chander Kashyap
On Wed, Jun 11, 2014 at 3:43 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Jun 11, 2014 at 05:52:10AM +0100, Chander Kashyap wrote: Hi Doug, On Tue, Jun 10, 2014 at 9:19 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Tue, 10 Jun 2014, Doug Anderson wrote: My S

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-11 Thread Chander Kashyap
On 11 June 2014 18:45, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Jun 11, 2014 at 01:14:21PM +0100, Chander Kashyap wrote: On Wed, Jun 11, 2014 at 3:43 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Jun 11, 2014 at 05:52:10AM +0100, Chander Kashyap wrote: Hi

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-13 Thread Chander Kashyap
On Wed, Jun 11, 2014 at 8:58 PM, Kukjin Kim kgene@samsung.com wrote: On 06/12/14 00:19, Doug Anderson wrote: Chander, On Tue, Jun 10, 2014 at 9:52 PM, Chander Kashyapk.chan...@samsung.com wrote: Hi Doug, On Tue, Jun 10, 2014 at 9:19 PM, Nicolas Pitrenicolas.pi...@linaro.org wrote:

Re: [PATCH] PM / OPP: discard duplicate OPP additions

2014-05-15 Thread Chander Kashyap
On 14 May 2014 19:57, Nishanth Menon n...@ti.com wrote: On 05/14/2014 06:08 AM, Viresh Kumar wrote: On 14 May 2014 15:01, Chander Kashyap chander.kash...@linaro.org wrote: say we do at this point: if (new_opp-rate == opp-rate) { dev_err(dev, %s: attempt to add duplicate OPP entry (rate=%ld

Re: [PATCH] PM / OPP: discard duplicate OPP additions

2014-05-15 Thread Chander Kashyap
On 15 May 2014 13:57, Viresh Kumar viresh.ku...@linaro.org wrote: On 15 May 2014 13:55, Chander Kashyap chander.kash...@linaro.org wrote: Then in that case the caller must take care for two type of errors: -EEXIST and -ENOMEM Actually, success: (0 or -EEXIST), failure: Anything else. Yes

Re: [PATCH v5 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-05-15 Thread Chander Kashyap
Hi Tomasz, On 16 May 2014 02:56, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Chander, On 14.05.2014 10:03, Chander Kashyap wrote: Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed

[PATCH v6 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-05-16 Thread Chander Kashyap
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc

[PATCH v2] PM / OPP: discard duplicate OPP additions

2014-05-16 Thread Chander Kashyap
From: Chander Kashyap k.chan...@samsung.com It may be possible to unregister and re-register the cpufreq driver. One such example is arm big-little IKS cpufreq driver. While re-registering the driver, same OPPs may get added again. This patch detects the duplicacy and discards them. Signed-off

Re: [RESEND][PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-05-16 Thread Chander Kashyap
On 22 April 2014 18:08, Chander Kashyap chander.kash...@linaro.org wrote: In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function and initialise by unity, hence avoid repeated comparisons. Signed-off

[PATCH v6 6/6] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-16 Thread Chander Kashyap
In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- Changes in v6: None Changes in v5

[PATCH v6 4/6] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-05-16 Thread Chander Kashyap
Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- Changes in v5: None

[PATCH v6 1/6] driver: cpuidle-big-little: add of_device_id structure

2014-05-16 Thread Chander Kashyap
this driver. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- drivers/cpuidle/cpuidle-big_little.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle

[PATCH v6 0/6] add cpuidle support for Exynos5420

2014-05-16 Thread Chander Kashyap
://www.spinics.net/lists/arm-kernel/msg331100.html Changelog is in respective patches. Chander Kashyap (5): driver: cpuidle-big-little: add of_device_id structure arm: exynos: add generic function to calculate cpu number cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

[PATCH v6 3/6] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

2014-05-16 Thread Chander Kashyap
Add support to select generic big-little cpuidle driver for Samsung Exynos series SoC's. This is required for Exynos big-llittle SoC's eg, Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- Changes in v4: 1. Typo

[PATCH v6 2/6] arm: exynos: add generic function to calculate cpu number

2014-05-16 Thread Chander Kashyap
The address of cpu power registers in pmu is based on cpu number offsets. This function calculate the same. This is essentially required in case of multi-cluster SoC's e.g Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com

Re: [PATCH v2] PM / OPP: discard duplicate OPP additions

2014-05-16 Thread Chander Kashyap
On 16 May 2014 13:54, Viresh Kumar viresh.ku...@linaro.org wrote: On 16 May 2014 13:43, Chander Kashyap chander.kash...@linaro.org wrote: From: Chander Kashyap k.chan...@samsung.com It may be possible to unregister and re-register the cpufreq driver. One such example is arm big-little IKS

[PATCH v3] PM / OPP: discard duplicate OPPs

2014-05-16 Thread Chander Kashyap
From: Chander Kashyap k.chan...@samsung.com This patch detects the duplicate OPP entries and discards them Signed-off-by: Chander Kashyap k.chan...@samsung.com Signed-off-by: Inderpal Singh inderpa...@samsung.com --- Changes in v3: - Modify the commit log Changes in v2

Re: [RESEND][PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-05-16 Thread Chander Kashyap
On 16 May 2014 15:16, Rafael J. Wysocki rafael.j.wyso...@intel.com wrote: On 5/16/2014 10:16 AM, Chander Kashyap wrote: On 22 April 2014 18:08, Chander Kashyap chander.kash...@linaro.org wrote: In menu_select function we check for correction factor every time. If it is zero we

[PATCH] PM / OPP: fix incorrect OPP count handling in of_init_opp_table

2014-05-16 Thread Chander Kashyap
In of_init_opp_table function, if a failure to add an OPP is detected, the count of OPPs, yet to be added is not updated. Fix this by decrementing this count on failure as well. Signed-off-by: Chander Kashyap k.chan...@samsung.com Signed-off-by: Inderpal Singh inderpa...@samsung.com --- drivers

Re: [PATCH v6 0/6] add cpuidle support for Exynos5420

2014-05-18 Thread Chander Kashyap
Hi Daniel/Kgene, On 16 May 2014 13:33, Chander Kashyap chander.kash...@linaro.org wrote: Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 cores. This patchset adds cpuidle support for Exynos5420 SoC based on generic big.little cpuidle driver. Tested on SMDK5420

Re: [PATCH v6 0/6] add cpuidle support for Exynos5420

2014-05-28 Thread Chander Kashyap
On 28 May 2014 14:32, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 05/28/2014 06:35 AM, Kukjin Kim wrote: Chander Kashyap wrote: On 26 May 2014 15:59, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Chander, On 16.05.2014 10:03, Chander Kashyap wrote: Exynos5420 is a big-little Soc

Re: [PATCH v6 0/6] add cpuidle support for Exynos5420

2014-05-25 Thread Chander Kashyap
On 19 May 2014 11:10, Chander Kashyap chander.kash...@linaro.org wrote: Hi Daniel/Kgene, On 16 May 2014 13:33, Chander Kashyap chander.kash...@linaro.org wrote: Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 cores. This patchset adds cpuidle support for Exynos5420 SoC

Re: [PATCH v6 0/6] add cpuidle support for Exynos5420

2014-05-27 Thread Chander Kashyap
On 26 May 2014 15:59, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Chander, On 16.05.2014 10:03, Chander Kashyap wrote: Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 cores. This patchset adds cpuidle support for Exynos5420 SoC based on generic big.little cpuidle driver

[PATCH] PM / OPP: discard duplicate OPP additions

2014-05-13 Thread [Chander Kashyap
From: Chander Kashyap k.chan...@samsung.com It may be possible to unregister and re-register the cpufreq driver. One such example is arm big-little IKS cpufreq driver. While re-registering the driver, same OPPs may get added again. This patch detects the duplicacy and discards them. Signed-off

Re: [Patch v4 5/5] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-13 Thread Chander Kashyap
Hi Lorenzo On 9 May 2014 21:02, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Mon, May 05, 2014 at 10:27:20AM +0100, Chander Kashyap wrote: In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks

Re: [PATCH] PM / OPP: discard duplicate OPP additions

2014-05-13 Thread Chander Kashyap
On 13 May 2014 16:35, Viresh Kumar viresh.ku...@linaro.org wrote: On 13 May 2014 16:00, Sudeep Holla sudeep.ho...@arm.com wrote: On Tue, May 13, 2014 at 9:22 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 13 May 2014 13:11, [Chander Kashyap chander.kash...@linaro.org wrote: What

Re: [Patch v4 5/5] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-13 Thread Chander Kashyap
Hi Lorenzo, On 13 May 2014 22:44, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Tue, May 13, 2014 at 12:43:31PM +0100, Chander Kashyap wrote: [...] +static void exynos_suspend(u64 residency) +{ + unsigned int mpidr, cpunr; + + mpidr = read_cpuid_mpidr

[PATCH v5 6/6] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-14 Thread Chander Kashyap
In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- Changes in v5: 1. Add

[PATCH v5 0/6] add cpuidle support for Exynos5420

2014-05-14 Thread Chander Kashyap
://www.spinics.net/lists/arm-kernel/msg331100.html Changelog is in respective patches. Chander Kashyap (5): driver: cpuidle-big-little: add of_device_id structure arm: exynos: add generic function to calculate cpu number cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

[PATCH v5 4/6] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-05-14 Thread Chander Kashyap
Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- Changes in v4: None

[PATCH v5 1/6] driver: cpuidle-big-little: add of_device_id structure

2014-05-14 Thread Chander Kashyap
this driver. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- drivers/cpuidle/cpuidle-big_little.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle

[PATCH v5 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-05-14 Thread Chander Kashyap
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc

[PATCH v5 3/6] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

2014-05-14 Thread Chander Kashyap
Add support to select generic big-little cpuidle driver for Samsung Exynos series SoC's. This is required for Exynos big-little SoC's eg, Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- Changes in v4: 1. Typo

[PATCH v5 2/6] arm: exynos: add generic function to calculate cpu number

2014-05-14 Thread Chander Kashyap
The address of cpu power registers in pmu is based on cpu number offsets. This function calculate the same. This is essentially required in case of multi-cluster SoC's e.g Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com

Re: [PATCH] PM / OPP: discard duplicate OPP additions

2014-05-14 Thread Chander Kashyap
Hi Nishant, On 13 May 2014 18:53, Nishanth Menon n...@ti.com wrote: On Tue, May 13, 2014 at 2:41 AM, [Chander Kashyap chander.kash...@linaro.org wrote: From: Chander Kashyap k.chan...@samsung.com It may be possible to unregister and re-register the cpufreq driver. One such example is arm

Re: [PATCH v5 0/6] add cpuidle support for Exynos5420

2014-05-14 Thread Chander Kashyap
Hi Daniel, On 14 May 2014 15:26, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 05/14/2014 10:03 AM, Chander Kashyap wrote: Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 cores. This patchset adds cpuidle support for Exynos5420 SoC based on generic big.little cpuidle

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-16 Thread Chander Kashyap
Hi Doug, On 13 June 2014 20:40, Doug Anderson diand...@chromium.org wrote: Chander, On Fri, Jun 13, 2014 at 4:54 AM, Chander Kashyap k.chan...@samsung.com wrote: This patch is effectively changing the mcpm_entry_point address from nsbase + 0x1c to nsbase + 0x8 Hence while integrating

[Patch v7 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@linaro.org Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan

[Patch v7 3/6] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@linaro.org Add support to select generic big-little cpuidle driver for Samsung Exynos series SoC's. This is required for Exynos big-llittle SoC's eg, Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan

[Patch v7 4/6] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@linaro.org Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Reviewed-by: Tomasz Figa t.f

[Patch v7 6/6] mcpm: exynos: populate suspend and powered_up callbacks

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@linaro.org In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan

[Patch v7 1/6] driver: cpuidle-big-little: add of_device_id structure

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@linaro.org This driver will be used by many big.Little Soc's. As of now it does string matching of hardcoded compatible string to init the driver. This comparison list will keep on growing with addition of new SoC's. Hence add of_device_id structure

[Patch v7 2/6] arm: exynos: add generic function to calculate cpu number

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap chander.kash...@linaro.org The address of cpu power registers in pmu is based on cpu number offsets. This function calculate the same. This is essentially required in case of multi-cluster SoC's e.g Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org

[Patch v7 0/6] add cpuidle support for Exynos5420

2014-06-16 Thread Chander Kashyap
Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 cores. This patchset adds cpuidle support for Exynos5420 SoC based on generic big.little cpuidle driver. Tested on SMDK5420. Rebased on 3.16-rc1 Changelog is in respective patches. Chander Kashyap (5): driver: cpuidle-big

[Patch v3 1/5] driver: cpuidle-big-little: add of_device_id structure

2014-05-05 Thread Chander Kashyap
this driver. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- drivers/cpuidle/cpuidle-big_little.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle

[Patch v3 2/5] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

2014-05-05 Thread Chander Kashyap
Exynos5420 is a big-little SoC from Samsung. It has 4 A15 and 4 A7 cores. In order to use generic cpuidle-big-little driver, this patch adds Exynos5420 specific check to initialize generic cpuidle driver. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap

[Patch v3 4/5] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-05-05 Thread Chander Kashyap
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc

[Patch v3 5/5] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-05 Thread Chander Kashyap
In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- Changes in v3: 1. Removed

[Patch v3 3/5] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-05-05 Thread Chander Kashyap
Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- Changes in v3: 1

[PATCH v3 0/5] add cpuidle support for Exynos5420

2014-05-05 Thread Chander Kashyap
patches. Chander Kashyap (5): driver: cpuidle-big-little: add of_device_id structure cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver driver: cpuidle: cpuidle-big-little: init driver for Exynos5420 exynos: cpuidle: do not allow cpuidle registration

Re: [Patch v3 2/5] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

2014-05-05 Thread Chander Kashyap
Hi Andreas, On 5 May 2014 14:29, Andreas Färber afaer...@suse.de wrote: Hi, Am 05.05.2014 10:27, schrieb Chander Kashyap: Exynos5420 is a big-little SoC from Samsung. It has 4 A15 and 4 A7 cores. In order to use generic cpuidle-big-little driver, this patch adds Exynos5420 specific check

[Patch v4 1/5] driver: cpuidle-big-little: add of_device_id structure

2014-05-05 Thread Chander Kashyap
this driver. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- drivers/cpuidle/cpuidle-big_little.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle

[PATCH v4 0/5] add cpuidle support for Exynos5420

2014-05-05 Thread Chander Kashyap
patches. Chander Kashyap (5): driver: cpuidle-big-little: add of_device_id structure cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver driver: cpuidle: cpuidle-big-little: init driver for Exynos5420 exynos: cpuidle: do not allow cpuidle registration

[Patch v4 3/5] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-05-05 Thread Chander Kashyap
Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- Changes in v4: None

[Patch v4 4/5] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-05-05 Thread Chander Kashyap
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc

[Patch v4 2/5] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

2014-05-05 Thread Chander Kashyap
Add support to select generic big-little cpuidle driver for Samsung Exynos series SoC's. This is required for Exynos big-llittle SoC's eg, Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- Changes in v4: 1. Typo

[Patch v4 5/5] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-05 Thread Chander Kashyap
In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- Changes in v4: None Changes in v3

Re: [Patch v2 4/4] mcpm: exynos: populate suspend and powered_up callbacks

2014-04-24 Thread Chander Kashyap
On 23 April 2014 21:32, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: [added Nico in CC] On Wed, Apr 23, 2014 at 10:25:54AM +0100, Chander Kashyap wrote: In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate

Re: [Patch v2 2/4] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-04-24 Thread Chander Kashyap
On 23 April 2014 22:02, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Apr 23, 2014 at 10:25:52AM +0100, Chander Kashyap wrote: Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash

[PATCH 4/4] mcpm: exynos: populate suspend and powered_up callbacks

2014-04-21 Thread Chander Kashyap
In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- arch/arm/mach-exynos/mcpm-exynos.c

[PATCH 2/4] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-04-21 Thread Chander Kashyap
Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.org --- drivers/cpuidle/cpuidle-big_little.c |3 ++- 1 file changed, 2

[PATCH 1/4] cpuidle: config: Add SOC_EXYNOS5420 entry to select cpuidle-big-little driver

2014-04-21 Thread Chander Kashyap
Exynos5420 is a big-little SoC from Samsung. It has 4 A15 and 4 A7 cores. In order to use generic cpuidle-big-little driver, this patch adds Exynos5420 specific check to initialize generic cpuidle driver. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap

[PATCH 3/4] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-04-21 Thread Chander Kashyap
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- arch/arm/mach-exynos/cpuidle.c

[PATCH 0/4] add cpuidle support for Exynos5420

2014-04-21 Thread Chander Kashyap
://www.spinics.net/lists/arm-kernel/msg321666.html 2. [PATCH v4] arm: exynos: generalize power register address calculation http://www.spinics.net/lists/arm-kernel/msg324024.html Chander Kashyap (4): cpuidle: config: Add SOC_EXYNOS5420 entry to select cpuidle-big

Re: [PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-04-21 Thread Chander Kashyap
ping On 10 April 2014 19:57, Tuukka Tikkanen tuukka.tikka...@linaro.org wrote: On 10 April 2014 16:43, Chander Kashyap chander.kash...@linaro.org wrote: In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function

Re: [PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-04-22 Thread Chander Kashyap
+cc linux...@vger.kernel.org. On 22 April 2014 15:33, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, April 22, 2014 08:27:53 AM Chander Kashyap wrote: ping Please CC cpuidle patches to linux...@vger.kernel.org. +cc to linux...@vger.kernel.org. Thanks Rafael Thanks! On 10 April

Re: [PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-04-22 Thread Chander Kashyap
On 22 April 2014 16:54, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, April 22, 2014 03:24:21 PM Chander Kashyap wrote: +cc linux...@vger.kernel.org. And can you please resend the patch? So that it shows up in Patchwork, for example? Yes i will resend it again. On 22 April

[RESEND][PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-04-22 Thread Chander Kashyap
In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function and initialise by unity, hence avoid repeated comparisons. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Reviewed-by: Tuukka Tikkanen

Re: [PATCH 1/4] cpuidle: config: Add SOC_EXYNOS5420 entry to select cpuidle-big-little driver

2014-04-23 Thread Chander Kashyap
Hi Daniel, On 22 April 2014 16:12, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 04/21/2014 01:49 PM, Chander Kashyap wrote: Exynos5420 is a big-little SoC from Samsung. It has 4 A15 and 4 A7 cores. In order to use generic cpuidle-big-little driver, this patch adds Exynos5420 specific

Re: [PATCH 4/4] mcpm: exynos: populate suspend and powered_up callbacks

2014-04-23 Thread Chander Kashyap
On 22 April 2014 16:21, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 04/21/2014 01:49 PM, Chander Kashyap wrote: In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander

[Patch v2 4/4] mcpm: exynos: populate suspend and powered_up callbacks

2014-04-23 Thread Chander Kashyap
In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com --- changes in v2: 1. Fixed typo

[Patch v2 3/4] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-04-23 Thread Chander Kashyap
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc

[Patch v2 0/4] add cpuidle support for Exynos5420

2014-04-23 Thread Chander Kashyap
://www.spinics.net/lists/arm-kernel/msg321666.html 2. [PATCH v4] arm: exynos: generalize power register address calculation http://www.spinics.net/lists/arm-kernel/msg324024.html Changelog is in respective patches. Chander Kashyap (4): cpuidle: config: Add SOC_EXYNOS5420

[Patch v2 2/4] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-04-23 Thread Chander Kashyap
Add samsung,exynos5420 compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/cpuidle

[Patch v2 1/4] cpuidle: config: Add SOC_EXYNOS5420 entry to select cpuidle-big-little driver

2014-04-23 Thread Chander Kashyap
Exynos5420 is a big-little SoC from Samsung. It has 4 A15 and 4 A7 cores. In order to use generic cpuidle-big-little driver, this patch adds Exynos5420 specific check to initialize generic cpuidle driver. Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Chander Kashyap

[PATCH] cpuidle: governor: menu: move repeated correction factor check to init

2014-04-10 Thread Chander Kashyap
In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function and initialise by unity, hence avoid repeated comparisons. Signed-off-by: Chander Kashyap chander.kash...@linaro.org --- drivers/cpuidle/governors/menu.c

Re: [PATCH v2 5/6] ARM: EXYNOS: Fix suspend/resume sequences

2014-07-15 Thread Chander Kashyap
On Tue, Jul 15, 2014 at 5:45 PM, Tomasz Figa t.f...@samsung.com wrote: On 15.07.2014 13:19, Bartlomiej Zolnierkiewicz wrote: Hi, On Monday, July 14, 2014 11:54:48 AM Tomasz Figa wrote: Hi Kukjin, On 25.06.2014 13:52, Tomasz Figa wrote: Due to recent consolidation of Exynos suspend and

[PATCH] arm64: dts: exynos7: add support for cpuidle core power down

2014-10-15 Thread Chander Kashyap
Exynos7 has core power down state where cores can be powered off independently. This patch adds support for this state. Signed-off-by: Chander Kashyap k.chan...@samsung.com --- This patch has following dependencies: - [PATCH v5 0/8] arch: arm64: Enable support for Samsung Exynos7 SoC

Re: [PATCH] arm64: dts: exynos7: add support for cpuidle core power down

2014-10-17 Thread Chander Kashyap
Hi Lorenzo, On Wed, Oct 15, 2014 at 2:30 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Oct 15, 2014 at 07:35:20AM +0100, Chander Kashyap wrote: Exynos7 has core power down state where cores can be powered off independently. This patch adds support for this state. Please

[PATCH v2] arm64: dts: exynos7: add support for cpuidle core power down

2014-10-20 Thread Chander Kashyap
Exynos7 has core power down state where cores can be powered off independently. This patch adds support for this state. Signed-off-by: Chander Kashyap k.chan...@samsung.com --- This patch has following dependencies: - [PATCH v5 0/8] arch: arm64: Enable support for Samsung Exynos7 SoC

Re: [PATCH v4] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-10 Thread Chander Kashyap
On Fri, Nov 7, 2014 at 5:28 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Nov 05, 2014 at 01:15:31PM +, Chander Kashyap wrote: Exynos7 has core power down state where cores can be powered off independently. ...has a core power down idle state... This patch adds support

[PATCH v5] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-10 Thread Chander Kashyap
cpuidle entry and exit. 2. WFI is skipped for measuring the time. 3. Select the worst case time in a set of 10 cpuidle transactions, with varying load. Exit latency and min residency values are supplied as per HW team. Signed-off-by: Chander Kashyap k.chan...@samsung.com Acked-by: Lorenzo

Re: [PATCH] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-05 Thread Chander Kashyap
Sorry for very late response. As i was on vacation so couldn’t reply. On Tue, Oct 21, 2014 at 10:03 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Fri, Oct 17, 2014 at 10:43:59AM +0100, Chander Kashyap wrote: Hi Lorenzo, On Wed, Oct 15, 2014 at 2:30 PM, Lorenzo Pieralisi

[PATCH v3] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-05 Thread Chander Kashyap
is averaged out for 10 cpuidle transactions with varying load. Exit latency and target residency are supplied as per HW team Signed-off-by: Chander Kashyap k.chan...@samsung.com --- This patch has following dependencies: - [PATCH v5 0/8] arch: arm64: Enable support for Samsung Exynos7

  1   2   3   >