All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] MCPM backend for Exynos5420
@ 2014-04-26 16:05 ` Abhilash Kesavan
  0 siblings, 0 replies; 60+ messages in thread
From: Abhilash Kesavan @ 2014-04-26 16:05 UTC (permalink / raw)
  To: nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A, Dave.Martin-5wv7dgnIgG8,
	lorenzo.pieralisi-5wv7dgnIgG8,
	daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	kgene.kim-Sze3O3UU22JBDgjK7y7TUQ, t.figa-Sze3O3UU22JBDgjK7y7TUQ,
	abrestic-F7+t8E8rja9g9hUCZPvPmw,
	thomas.ab-Sze3O3UU22JBDgjK7y7TUQ,
	inderpal.s-Sze3O3UU22JBDgjK7y7TUQ
  Cc: mark.rutland-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, will.deacon-5wv7dgnIgG8,
	arnd-r2nGTMty4D4, kesavan.abhilash-Re5JQEeQqe8AvxtiuMwx3w

This is v3 of the series adding MCPM backend support for SMP secondary boot
and core switching on Samsung's Exynos5420. The patches are based on the mcpm
support added for Exynos5420 in the Chromium kernel repository here:
https://chromium.googlesource.com/chromiumos/third_party/kernel-next/+/chromeos-3.8

This patchset depends on:
- ARM: EXYNOS: Map SYSRAM address through DT
(http://www.spinics.net/lists/arm-kernel/msg323011.html)

The patches have been prepared on linux-next(20140424) and tested on SMDK5420
EVT1 using the "/dev/b.L_switcher" user interface. Secondary core bring-up has
also been tested on an Exynos5420-based chromebook.

Changes since v2:
Addressed the following comments from Nicolas Pitre and Daniel Lezcano
	- Added generic common (cluster) configuration functions to pm.c
	  which may be used by other subsystems.
	- Removed unused "cpumask" variable in mcpm code.
	- Re-worked exynos_power_down_finish() referencing the tc2_pm code.
	- Removed the status checks in core and cluster power functions. We
	  just set the power control bit and do not check the previous state
	  anymore.
	- Removed incorrect jiffies timeout usage in path where IRQs are
	  disabled.

Changes since v1:
Addressed the following comments from Dave Martin and Nicolas Pitre:
	- Fixed help text for EXYNOS5420_MCPM symbol.
	- Removed mcpm-exynos-setup.S file and added similar code from tc2_pm.c.
	- Changed the spinlock name from "bl_lock" to "exynos_mcpm_lock".
	- Removed snoop enable/disable calls due to possible cpuidle issue and
	  not having numbers proving a significant power savings. Dropped the
	  "drivers/bus: arm-cci: Add common control interface for ACE ports"
	  patch from v1 as it was no longer needed.
	- Created a macro for exynos-specific v7_exit_coherency_flush which
	  handles an erratum. This was done to prevent duplication of code.
	- Removed "outer_flush_all" call.
	- Removed redundant dsb in power_down function.
	- Removed unnecessary initialization of global variables to zero.
	- Split the /dev/bL_status debug interface into another patch.
	- Fixed error handling in exynos_mcpm_init().
	- Called mcpm_smp_set_ops directly from exynos_mcpm_init().
	- Added a TODO for supporting cluster down on exynos5420.

NOTE:
- Have added Leela Krishna's generic cpu power control function series
  as part of this patchset.
- There is no change in the patch "ARM: dts: exynos5420: add CCI node"
  and "arm: exynos: Add /dev/bL_status user interface on Exynos5420"
  from v2.
- I have tested with and without the erratum 799270 workaround and both
  work fine. I have kept the erratum fix for the time being.

Abhilash Kesavan (3):
  arm: exynos: Add generic cluster power control functions
  arm: exynos: Add MCPM call-back functions
  arm: exynos: Add /dev/bL_status user interface on Exynos5420

Andrew Bresticker (1):
  ARM: dts: exynos5420: add CCI node

Leela Krishna Amudala (2):
  ARM: EXYNOS: Add generic cpu power control functions for all exynos
    based SoCs
  ARM: EXYNOS: use generic exynos cpu power control functions

 arch/arm/boot/dts/exynos5420.dtsi  |  27 +++
 arch/arm/mach-exynos/Kconfig       |   8 +
 arch/arm/mach-exynos/Makefile      |   2 +
 arch/arm/mach-exynos/common.h      |   6 +
 arch/arm/mach-exynos/mcpm-exynos.c | 385 +++++++++++++++++++++++++++++++++++++
 arch/arm/mach-exynos/platsmp.c     |   9 +-
 arch/arm/mach-exynos/pm.c          |  66 +++++++
 arch/arm/mach-exynos/regs-pmu.h    |  15 ++
 8 files changed, 512 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm/mach-exynos/mcpm-exynos.c

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 60+ messages in thread

end of thread, other threads:[~2014-05-05 16:26 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-26 16:05 [PATCH v3 0/6] MCPM backend for Exynos5420 Abhilash Kesavan
2014-04-26 16:05 ` Abhilash Kesavan
     [not found] ` <1398528348-21214-1-git-send-email-a.kesavan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-26 16:05   ` [PATCH v3 1/6] ARM: EXYNOS: Add generic cpu power control functions for all exynos based SoCs Abhilash Kesavan
2014-04-26 16:05     ` Abhilash Kesavan
2014-04-26 16:05   ` [PATCH v3 2/6] ARM: EXYNOS: use generic exynos cpu power control functions Abhilash Kesavan
2014-04-26 16:05     ` Abhilash Kesavan
     [not found]     ` <1398528348-21214-3-git-send-email-a.kesavan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-02 15:25       ` [PATCH v4 2/5] " Abhilash Kesavan
2014-05-02 15:25         ` Abhilash Kesavan
2014-04-26 16:05   ` [PATCH v3 3/6] arm: exynos: Add generic cluster " Abhilash Kesavan
2014-04-26 16:05     ` Abhilash Kesavan
     [not found]     ` <1398528348-21214-4-git-send-email-a.kesavan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-02 15:25       ` [PATCH v4 3/5] " Abhilash Kesavan
2014-05-02 15:25         ` Abhilash Kesavan
2014-04-26 16:05   ` [PATCH v3 4/6] ARM: dts: exynos5420: add CCI node Abhilash Kesavan
2014-04-26 16:05     ` Abhilash Kesavan
     [not found]     ` <1398528348-21214-5-git-send-email-a.kesavan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-02 15:25       ` [PATCH v4 4/5] " Abhilash Kesavan
2014-05-02 15:25         ` Abhilash Kesavan
2014-04-26 16:05   ` [PATCH v3 5/6] arm: exynos: Add MCPM call-back functions Abhilash Kesavan
2014-04-26 16:05     ` Abhilash Kesavan
2014-04-28 17:44     ` Lorenzo Pieralisi
2014-04-28 17:44       ` Lorenzo Pieralisi
     [not found]       ` <20140428174456.GE31782-7AyDDHkRsp3ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2014-04-29  3:32         ` Abhilash Kesavan
2014-04-29  3:32           ` Abhilash Kesavan
     [not found]           ` <CAM4voa=mhcZO9v7nDdrcz+T8RVN-Av3eERVErCX52k1ftUcKcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-29 18:49             ` Nicolas Pitre
2014-04-29 18:49               ` Nicolas Pitre
     [not found]               ` <alpine.LFD.2.11.1404291435450.980-fMhRO7WWcppj+hNMo8g0rg@public.gmane.org>
2014-04-30  3:01                 ` Abhilash Kesavan
2014-04-30  3:01                   ` Abhilash Kesavan
     [not found]                   ` <CAM4voa=Po9r5MpxyjQKcYhyES1UjfVaqbP_PnKCbsw5LtEkpZg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-30 10:24                     ` Dave Martin
2014-04-30 10:24                       ` Dave Martin
     [not found]     ` <1398528348-21214-6-git-send-email-a.kesavan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-30 14:43       ` Nicolas Pitre
2014-04-30 14:43         ` Nicolas Pitre
     [not found]         ` <alpine.LFD.2.11.1404301021270.980-fMhRO7WWcppj+hNMo8g0rg@public.gmane.org>
2014-05-01  9:39           ` Abhilash Kesavan
2014-05-01  9:39             ` Abhilash Kesavan
2014-04-30 14:59       ` Lorenzo Pieralisi
2014-04-30 14:59         ` Lorenzo Pieralisi
     [not found]         ` <20140430145911.GA32671-7AyDDHkRsp3ZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2014-05-01  9:39           ` Abhilash Kesavan
2014-05-01  9:39             ` Abhilash Kesavan
2014-05-02 15:25       ` [PATCH v4 5/5] " Abhilash Kesavan
2014-05-02 15:25         ` Abhilash Kesavan
     [not found]         ` <1399044359-15784-1-git-send-email-a.kesavan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-02 18:16           ` Nicolas Pitre
2014-05-02 18:16             ` Nicolas Pitre
     [not found]             ` <alpine.LFD.2.11.1405021347500.980-fMhRO7WWcppj+hNMo8g0rg@public.gmane.org>
2014-05-02 18:23               ` Andrew Bresticker
2014-05-02 18:23                 ` Andrew Bresticker
2014-05-02 18:37                 ` Nicolas Pitre
2014-05-02 18:37                   ` Nicolas Pitre
     [not found]                 ` <CAL1qeaHrP+i4EhOQKkSX7xFNyiyBiBfpsV3B0EHCFcrNzc6KLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-05 16:26                   ` Abhilash Kesavan
2014-05-05 16:26                     ` Abhilash Kesavan
2014-05-05 16:25               ` Abhilash Kesavan
2014-05-05 16:25                 ` Abhilash Kesavan
2014-04-26 16:05   ` [PATCH v3 6/6] arm: exynos: Add /dev/bL_status user interface on Exynos5420 Abhilash Kesavan
2014-04-26 16:05     ` Abhilash Kesavan
     [not found]     ` <1398528348-21214-7-git-send-email-a.kesavan-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-28 11:25       ` Daniel Lezcano
2014-04-28 11:25         ` Daniel Lezcano
     [not found]         ` <535E3A8C.6070304-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-04-28 12:49           ` Abhilash Kesavan
2014-04-28 12:49             ` Abhilash Kesavan
     [not found]             ` <CAM4voak-oXToBK=owO=jmpwk3rDkg71JS=8YOTz1HfiQvZa5Vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-30 14:49               ` Nicolas Pitre
2014-04-30 14:49                 ` Nicolas Pitre
     [not found]                 ` <alpine.LFD.2.11.1404301044280.980-fMhRO7WWcppj+hNMo8g0rg@public.gmane.org>
2014-05-01  9:39                   ` Abhilash Kesavan
2014-05-01  9:39                     ` Abhilash Kesavan
2014-05-02 15:24   ` [PATCH v4 0/5] MCPM backend for Exynos5420 Abhilash Kesavan
2014-05-02 15:24     ` Abhilash Kesavan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.