mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 11:46:40 +07:00
e879c862fb
We only need to set the system up for a soft-restart if we're going to be doing a soft-restart. Provide a new function (soft_restart()) which does the setup and final call for this, and make platforms use it. Eliminate the call to setup_restart() from the default handler. This means that platforms arch_reset() function is no longer called with the page tables prepared for a soft-restart, and caches will still be enabled. Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: Krzysztof Ha■asa <khc@pm.waw.pl> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org> Acked-by: Wan ZongShun <mcuos.com@gmail.com> Acked-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
devices | ||
include/mach | ||
clock-mx23.c | ||
clock-mx28.c | ||
clock.c | ||
devices-mx23.h | ||
devices-mx28.h | ||
devices.c | ||
icoll.c | ||
iomux.c | ||
Kconfig | ||
mach-m28evk.c | ||
mach-mx23evk.c | ||
mach-mx28evk.c | ||
mach-stmp378x_devb.c | ||
mach-tx28.c | ||
Makefile | ||
Makefile.boot | ||
mm.c | ||
module-tx28.c | ||
module-tx28.h | ||
ocotp.c | ||
pm.c | ||
regs-clkctrl-mx23.h | ||
regs-clkctrl-mx28.h | ||
system.c | ||
timer.c |