2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/arch/arm/mach-shmobile
Magnus Damm cc61591e45 ARM: shmobile: Introduce per-CPU SMP boot / sleep code
Add per-CPU SMP boot / sleep code that can be used by all
SoCs included in mach-shmobile.

The boot code reads out the per-CPU MPIDR id value and
matches it with the value stored for any CPU number, and
if there is a match and the boot function is set as well
then the boot function will be executed.

The sleep code simply uses WFI and then jumps back to the
boot code to see if anyone has asked to wake up that CPU,
if not it will sleep again.

Signed-off-by: Magnus Damm <damm@opensource.se>
[horms+renesas@verge.net.au: Remove trailing whitespace]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2013-08-06 18:07:25 +09:00
..
include/mach ARM: shmobile: Introduce per-CPU SMP boot / sleep code 2013-08-06 18:07:25 +09:00
board-ag5evm.c ARM: shmobile: ag5evm: Register pinctrl mappings for IrDA 2013-03-15 13:34:09 +01:00
board-ape6evm-reference.c ARM: shmobile: ape6evm-reference: switch PFC to DT 2013-07-30 11:21:41 +09:00
board-ape6evm.c ARM: shmobile: Make r8a73a4 Arch timer optional 2013-07-17 14:26:54 +09:00
board-armadillo800eva-reference.c ARM: shmobile: armadillo800eva: Reference DT implementation 2013-06-04 17:41:53 +09:00
board-armadillo800eva.c ARM: shmobile: armadillo800eva: Use DT for GIC 2013-08-06 11:18:29 +09:00
board-bockw-reference.c ARM: shmobile: bockw: add DT reference 2013-07-26 09:17:32 +09:00
board-bockw.c ARM SoC board specific changes 2013-07-02 14:10:26 -07:00
board-kota2.c ARM: shmobile: kota2: Register pinctrl mappings for BSC 2013-03-15 13:34:10 +01:00
board-kzm9d-reference.c ARM: shmobile: KZM9D DT reference implementation 2013-07-17 10:06:46 +09:00
board-kzm9d.c ARM: shmobile: Use DT for GIC on EMEV2 and KZM9D 2013-07-17 10:06:45 +09:00
board-kzm9g-reference.c ARM: shmobile: kzm9g: Remove init_irq declaration in machine description 2013-07-17 10:02:25 +09:00
board-kzm9g.c reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
board-lager-reference.c ARM: shmobile: Minor update for the Lager DT reference code 2013-07-17 14:30:03 +09:00
board-lager.c ARM: shmobile: Make r8a7790 Arch timer optional 2013-07-17 14:26:53 +09:00
board-mackerel.c ARM: shmobile: mackerel: Register pinctrl mapping for USBHS 2013-06-04 21:04:15 +09:00
board-marzen-reference.c ARM: shmobile: marzen: Reference DT implementation 2013-03-18 21:27:02 +09:00
board-marzen.c ARM: shmobile: marzen: Use DT for GIC 2013-08-06 11:18:40 +09:00
clock-emev2.c ARM: shmobile: Disconnect EMEV2 SMP code from clocks 2013-07-17 14:26:55 +09:00
clock-r8a73a4.c ARM: shmobile: Add r8a73a4 CMT10 clock event 2013-07-17 14:26:53 +09:00
clock-r8a7740.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
clock-r8a7778.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
clock-r8a7779.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
clock-r8a7790.c ARM: shmobile: Introduce r8a7790_read_mode_pins() 2013-07-17 14:26:56 +09:00
clock-sh73a0.c ARM: shmobile: sh73a0: div4 clocks must check the kick bit before changing rate 2013-06-07 14:24:52 +09:00
clock-sh7372.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-06-04 14:25:59 +02:00
clock.c ARM: shmobile: add struct clk_ratio and fixed ratio clock macro 2013-04-02 11:02:16 +09:00
console.c
cpuidle.c ARM: shmobile: cpuidle: use init/exit common routine 2013-04-23 13:45:22 +02:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp-scu.S ARM: shmobile: Remove old SCU boot code 2013-06-17 16:07:29 +09:00
headsmp.S ARM: shmobile: Introduce per-CPU SMP boot / sleep code 2013-08-06 18:07:25 +09:00
intc-r8a7740.c ARM: shmobile: armadillo800eva: Use DT for GIC 2013-08-06 11:18:29 +09:00
intc-r8a7779.c ARM: shmobile: marzen: Use DT for GIC 2013-08-06 11:18:40 +09:00
intc-sh73a0.c ARM: shmobile: INTC External IRQ pin driver on sh73a0 2013-03-18 21:26:05 +09:00
intc-sh7372.c ARM: shmobile: use __iomem pointers for MMIO 2012-09-18 10:15:11 +02:00
Kconfig ARM: shmobile: marzen: Switch to DT_MACHINE_START 2013-07-30 13:28:01 +09:00
Makefile ARM: shmobile: Use shared SCU SMP boot code on emev2 2013-08-06 18:07:25 +09:00
Makefile.boot ARM: shmobile: bockw: add DT reference 2013-07-26 09:17:32 +09:00
platsmp-scu.c ARM: shmobile: Add shared SCU CPU Hotplug code 2013-08-06 18:07:25 +09:00
platsmp.c ARM: shmobile: Introduce per-CPU SMP boot / sleep code 2013-08-06 18:07:25 +09:00
pm-r8a7740.c ARM: shmobile: r8a7740: Add CPU sleep suspend 2013-01-25 12:43:46 +09:00
pm-r8a7779.c ARM: shmobile: Move r8a7779's PM domain objects to a table 2012-09-04 01:44:58 +02:00
pm-rmobile.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
pm-sh73a0.c ARM: shmobile: sh73a0: Add CPU sleep suspend 2013-01-25 12:43:46 +09:00
pm-sh7372.c ARM: shmobile: Rework sh7372 sleep code to use virt_to_phys() 2013-06-17 16:06:47 +09:00
setup-emev2.c ARM: shmobile: EMEV2 map_io update 2013-07-17 10:06:46 +09:00
setup-r8a73a4.c ARM: shmobile: ape6evm: add DT reference 2013-07-17 14:28:31 +09:00
setup-r8a7740.c ARM: shmobile: r8a7740: add MMCIF DMA definitions 2013-07-17 14:26:55 +09:00
setup-r8a7778.c ARM: shmobile: bockw: add DT reference 2013-07-26 09:17:32 +09:00
setup-r8a7779.c ARM: shmobile: Remove unused r8a7779 auxdata table 2013-07-17 10:02:26 +09:00
setup-r8a7790.c ARM: shmobile: lager: Add DT reference 2013-07-17 14:30:03 +09:00
setup-sh73a0.c ARM: shmobile: Remove unused sh73a0 auxdata table 2013-07-17 10:02:27 +09:00
setup-sh7372.c ARM: shmobile: Remove unused sh7372 auxdata table 2013-07-17 10:02:27 +09:00
sh-gpio.h ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
sleep-sh7372.S ARM: shmobile: Rework sh7372 sleep code to use virt_to_phys() 2013-06-17 16:06:47 +09:00
smp-emev2.c ARM: shmobile: Use shared SCU SMP boot code on emev2 2013-08-06 18:07:25 +09:00
smp-r8a7779.c ARM: shmobile: Use shared SCU CPU Hotplug code on r8a7779 2013-08-06 18:07:25 +09:00
smp-sh73a0.c ARM: shmobile: Use shared SCU CPU Hotplug code on sh73a0 2013-08-06 18:07:25 +09:00
suspend.c arm: Use generic idle loop 2013-04-08 17:39:24 +02:00
timer.c ARM: convert arm/arm64 arch timer to use CLKSRC_OF init 2013-04-11 15:11:15 -05:00