Skip to contentSkip to conversation

Samsung exynos cpuidle update for v3.17

GIT PULL Applied Kukjin Kim 4 participants 5 messages Jul 19, 2014 – Aug 11, 2014 Arm Samsung Exynos

lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab:

Linux 3.16-rc5 (2014-07-13 14:04:33 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/exynos-cpuidle

for you to fetch changes up to fc2cac41ebbfb16da8b036cba6ec6714ab780a6d:

ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm
(2014-07-19 03:36:00 +0900)

----------------------------------------------------------------
exynos cpuidle update for v3.17

- add callbacks exynos_suspend() and exynos_powered_up() for support cpuidle through mcpm
- skip exynos_cpuidle for exynos5420 because is uses cpuidle-big-liggle generic cpuidle driver
- add generic functions to calculate cpu number is used for pmu and this is required for exynos5420 multi-cluster
- add of_device_id structure for big.LITTLE cpuidle and add "samsung,exynos5420" compatible string for exynos5420

----------------------------------------------------------------
Chander Kashyap (6):
cpuidle: big.LITTLE: add of_device_id structure
ARM: EXYNOS: add generic function to calculate cpu number
cpuidle: big.LITTLE: Add ARCH_EXYNOS entry in config
cpuidle: big.LITTLE: init driver for exynos5420
ARM: EXYNOS: do not allow cpuidle registration for exynos5420
ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm

  arch/arm/mach-exynos/exynos.c        |  4 +++-
  arch/arm/mach-exynos/mcpm-exynos.c   | 36 
++++++++++++++++++++++++++++++++++++
  arch/arm/mach-exynos/regs-pmu.h      |  9 +++++++++
  drivers/cpuidle/Kconfig.arm          |  2 +-
  drivers/cpuidle/cpuidle-big_little.c | 12 +++++++++++-
  5 files changed, 60 insertions(+), 3 deletions(-)
#1 lore raw
Quoted 7 lines · Kukjin Kim

The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab:

Linux 3.16-rc5 (2014-07-13 14:04:33 -0700)

are available in the git repository at:

Quoted 7 lines

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/exynos-cpuidle

for you to fetch changes up to fc2cac41ebbfb16da8b036cba6ec6714ab780a6d:

ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm
(2014-07-19 03:36:00 +0900)

Merged, thanks.

-Olof

#2 lore raw
In reply to Kukjin Kim

Hello,

Quoted 17 lines · Kukjin Kim

The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab:

Linux 3.16-rc5 (2014-07-13 14:04:33 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/exynos-cpuidle

for you to fetch changes up to fc2cac41ebbfb16da8b036cba6ec6714ab780a6d:

ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm
(2014-07-19 03:36:00 +0900)

----------------------------------------------------------------
exynos cpuidle update for v3.17

Quoted 8 lines

- add callbacks exynos_suspend() and exynos_powered_up() for support cpuidle through mcpm
- skip exynos_cpuidle for exynos5420 because is uses cpuidle-big-liggle generic cpuidle driver
- add generic functions to calculate cpu number is used for pmu and this is required for exynos5420 multi-cluster
- add of_device_id structure for big.LITTLE cpuidle and add "samsung,exynos5420" compatible string for exynos5420

I'm curious what platforms this is expected to work on, and where it's been tested.

I tried it on exynos5800-peach-pi (chromebook2) and it hangs up (no kernel messages) shortly after the driver loads, and never finishes to boot.

I needed an extra compatible entry for the 5800 in the driver for the driver to load, which suggests it hasn't been tested on 5800, but at least in theory, this should be compatible with the 542x, right?

For testing, I tried today's linux-next and arm-soc/for-next.

Kevin

author
#3 lore raw
Quoted 3 lines · Kevin Hilman

Hello,

Hi,

Quoted 27 lines · Kukjin Kim
Quoted 17 lines

The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab:

Linux 3.16-rc5 (2014-07-13 14:04:33 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/exynos-cpuidle

for you to fetch changes up to fc2cac41ebbfb16da8b036cba6ec6714ab780a6d:

ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm
(2014-07-19 03:36:00 +0900)

----------------------------------------------------------------
exynos cpuidle update for v3.17

Quoted 8 lines

- add callbacks exynos_suspend() and exynos_powered_up() for support cpuidle through mcpm
- skip exynos_cpuidle for exynos5420 because is uses cpuidle-big-liggle generic cpuidle driver
- add generic functions to calculate cpu number is used for pmu and this is required for exynos5420 multi-cluster
- add of_device_id structure for big.LITTLE cpuidle and add "samsung,exynos5420" compatible string for exynos5420

Quoted 3 lines

I'm curious what platforms this is expected to work on, and where it's been tested.

exynos5420 and its reference board, smdk5420.

Quoted 4 lines

I tried it on exynos5800-peach-pi (chromebook2) and it hangs up (no kernel messages) shortly after the driver loads, and never finishes to boot.

Oh, sorry about that, if so, it should be fixed before -rc1. Just note that I thought since exynos5800 is very similar with exynos5420 so I didn't ask Chander to test the series on exynos5800 based board...Just asked to test with Nico's mcpm series. BTW, unfortunately I have no exynos5800-peach-pi...

Quoted 4 lines

I needed an extra compatible entry for the 5800 in the driver for the driver to load, which suggests it hasn't been tested on 5800, but at least in theory, this should be compatible with the 542x, right?

Yes I think so. As you can see in exynos5800.dtsi, it is including exynos5420.

Quoted 2 lines

For testing, I tried today's linux-next and arm-soc/for-next.

Hmm...why is the problem happened at last? Not at that time? :(

I need to figure it out...

Thanks,
Kukjin

#4 lore raw

Hi Kukjin,

Quoted 51 lines · Kukjin Kim
Quoted 3 lines · Kevin Hilman

Hello,

Hi,

Quoted 27 lines · Kukjin Kim
Quoted 17 lines

The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab:

Linux 3.16-rc5 (2014-07-13 14:04:33 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git
tags/exynos-cpuidle

for you to fetch changes up to fc2cac41ebbfb16da8b036cba6ec6714ab780a6d:

ARM: EXYNOS: populate suspend and powered_up callbacks for mcpm
(2014-07-19 03:36:00 +0900)

----------------------------------------------------------------
exynos cpuidle update for v3.17

Quoted 8 lines

- add callbacks exynos_suspend() and exynos_powered_up() for support cpuidle through mcpm
- skip exynos_cpuidle for exynos5420 because is uses cpuidle-big-liggle generic cpuidle driver
- add generic functions to calculate cpu number is used for pmu and this is required for exynos5420 multi-cluster
- add of_device_id structure for big.LITTLE cpuidle and add "samsung,exynos5420" compatible string for exynos5420

Quoted 3 lines

I'm curious what platforms this is expected to work on, and where it's been tested.

exynos5420 and its reference board, smdk5420.

Quoted 4 lines

I tried it on exynos5800-peach-pi (chromebook2) and it hangs up (no kernel messages) shortly after the driver loads, and never finishes to boot.

Oh, sorry about that, if so, it should be fixed before -rc1. Just note that I thought since exynos5800 is very similar with exynos5420 so I didn't ask Chander to test the series on exynos5800 based board...Just asked to test with Nico's mcpm series. BTW, unfortunately I have no exynos5800-peach-pi...

Quoted 4 lines

I needed an extra compatible entry for the 5800 in the driver for the driver to load, which suggests it hasn't been tested on 5800, but at least in theory, this should be compatible with the 542x, right?

Quoted 5 lines

Yes I think so. As you can see in exynos5800.dtsi, it is including exynos5420.

Quoted 2 lines

For testing, I tried today's linux-next and arm-soc/for-next.

Hmm...why is the problem happened at last? Not at that time? :(

Patch has been sent for the same:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-July/270472.html

This patch has been dropped as Tomasz has sent the fix in his patch.

Below is the link for the patch:

https://lkml.org/lkml/2014/8/1/103

which is yet to be merged.

Quoted 11 lines

I need to figure it out...

Thanks,
Kukjin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Signature · 4 lines
thanks and regards,
Chander M. Kashyap
Contact Number: +918123738320
------- TENSION LENE KA NAHI, DENE KE-----