OpenCloudOS-Kernel/arch/arm/common
Sudeep Holla 29226b198b ARM: 8675/1: MCPM: ensure not to enter __hyp_soft_restart from loopback and cpu_power_down
Commit 9da5ac236d ("ARM: soft-reboot into same mode that we entered
the kernel") added support to enter the new kernel in the same processor
mode as the previous one when we soft-reboot from one kernel into
another by pass a flag to cpu_reset() so it knows what to do exactly.

However it missed to make similar changes in MCPM code. Due to the
missing flag, the CPUs enter HYP mode which is not supported with MCPM.
MCPM works only in secure mode as it manages CCI.

This patch aligns the cpu_reset call in MCPM with other changes in the
above mentioned commit by making phys_reset_t to follow the prototype
of cpu_reset().

Fixes: 9da5ac236d ("ARM: soft-reboot into same mode that we entered the kernel")
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2017-05-23 17:26:08 +01:00
..
Kconfig ARM/clk: move the ICST library to drivers/clk 2017-04-07 11:58:12 +02:00
Makefile ARM/clk: move the ICST library to drivers/clk 2017-04-07 11:58:12 +02:00
bL_switcher.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
bL_switcher_dummy_if.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
dmabounce.c treewide: Constify most dma_map_ops structures 2017-01-24 12:23:35 -05:00
firmware.c ARM: Add interface for registering and calling firmware-specific operations 2013-04-09 01:52:06 +09:00
it8152.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
locomo.c ARM: locomo: fix locomo irq handling 2016-09-12 12:12:31 +01:00
mcpm_entry.c ARM: 8675/1: MCPM: ensure not to enter __hyp_soft_restart from loopback and cpu_power_down 2017-05-23 17:26:08 +01:00
mcpm_head.S ARM: replace BSYM() with badr assembly macro 2015-05-08 17:33:50 +01:00
mcpm_platsmp.c ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
sa1111.c ARM: sa1111: provide to_sa1111_device() macro 2016-09-21 18:52:45 +01:00
scoop.c ARM: scoop: use gpiochip data pointer 2016-02-19 09:51:41 +01:00
sharpsl_param.c ARM: 7845/1: sharpsl_param.c: fix invalid memory access for pxa devices 2013-10-03 10:39:43 +01:00
vlock.S ARM: mcpm: use -st dsb option prior to sev instructions 2013-08-12 12:25:45 +01:00
vlock.h ARM: mcpm: Add baremetal voting mutexes 2013-04-24 10:37:01 -04:00