2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/arch/arm/mach-mvebu
Thomas Petazzoni 49754ffef5 ARM: mvebu: start using the CPU reset driver
This commit changes the PMSU driver to no longer map itself the CPU
reset registers, and instead call into the CPU reset driver to
deassert the secondary CPUs for SMP booting.

In order to provide Device Tree backward compatibility, the CPU reset
driver is extended to not only support its official compatible string
"marvell,armada-370-cpu-reset", but to also look at the PMSU
compatible string "marvell,armada-370-xp-pmsu" to find the CPU reset
registers address. This allows old Device Tree to work correctly with
newer kernel versions. Therefore, the CPU reset driver implements the
following logic:

 * If one of the normal compatible strings
   "marvell,armada-370-cpu-reset" is found, then we map its first
   memory resource as the CPU reset registers.

 * Otherwise, if none of the normal compatible strings have been
   found, we look for the "marvell,armada-370-xp-pmsu" compatible
   string, and we map the second memory as the CPU reset registers.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483433-25836-3-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-04-24 05:24:03 +00:00
..
include/mach ARM: mvebu: Simplify headers and make local 2014-02-22 21:19:59 +00:00
armada-370-xp.h ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h 2013-12-27 18:08:19 +00:00
board-t5325.c ARM: kirkwood: Add HP T5325 thin client 2014-02-25 20:32:16 +00:00
board-v7.c ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
board.h ARM: kirkwood: Add HP T5325 thin client 2014-02-25 20:32:16 +00:00
coherency_ll.S ARM: mvebu: support running big-endian 2013-10-19 20:46:34 +01:00
coherency.c ARM: mvebu: fix some sparse warnings 2013-11-24 03:27:54 +00:00
coherency.h ARM: mvebu: fix some sparse warnings 2013-11-24 03:27:54 +00:00
common.h ARM: mvebu: introduce CPU reset code 2014-04-24 05:24:02 +00:00
cpu-reset.c ARM: mvebu: start using the CPU reset driver 2014-04-24 05:24:03 +00:00
dove.c ARM: mvebu: move DT Dove to MVEBU 2014-03-04 04:13:48 +00:00
headsmp.S ARM: mvebu: support running big-endian 2013-10-19 20:46:34 +01:00
hotplug.c ARM: mvebu: fix some sparse warnings 2013-11-24 03:27:54 +00:00
Kconfig ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
kirkwood-pm.c ARM: mvebu: Simplify headers and make local 2014-02-22 21:19:59 +00:00
kirkwood-pm.h ARM: mvebu: Move kirkwood DT boards into mach-mvebu 2014-02-22 21:19:55 +00:00
kirkwood.c ARM: kirkwood: Add HP T5325 thin client 2014-02-25 20:32:16 +00:00
kirkwood.h ARM: mvebu: Simplify headers and make local 2014-02-22 21:19:59 +00:00
Makefile ARM: mvebu: introduce CPU reset code 2014-04-24 05:24:02 +00:00
mvebu-soc-id.c ARM: mvebu: Enable mvebu-soc-id on Kirkwood 2014-02-22 21:19:58 +00:00
mvebu-soc-id.h ARM: mvebu: Add support to get the ID and the revision of a SoC 2014-01-14 01:59:16 +00:00
platsmp.c ARM: mvebu: fix some sparse warnings 2013-11-24 03:27:54 +00:00
pmsu.c ARM: mvebu: start using the CPU reset driver 2014-04-24 05:24:03 +00:00
pmsu.h arm: mvebu: Add initial support for power managmement service unit 2012-11-21 16:49:36 +01:00
system-controller.c ARM: mvebu: add Armada 375 support to the system-controller driver 2014-02-22 00:41:09 +00:00