WSL2-Linux-Kernel/arch/microblaze/kernel
Linus Walleij 7cca9b8b7c microblaze: Switch to standard restart handler
The microblaze uses the legacy APIs to dig out a GPIO pin
defined in the root of the device tree to issue a hard
reset of the platform.

Asserting a hard reset should be done using the standard
DT-enabled and fully GPIO descriptor aware driver in
drivers/power/reset/gpio-restart.c using the bindings
from Documentation/devicetree/bindings/power/reset/gpio-restart.txt

To achieve this, first make sure microblaze makes use of
the standard kernel restart path utilizing do_kernel_restart()
from <linux/reboot.h>. Put in some grace time and an
emergency print if the restart does not properly assert.

As this is basic platform functionality we patch the DTS
file and defconfig in one go for a lockstep change.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[ Michal: Move machine_restart back to reset.c ]
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2019-09-19 10:43:32 +02:00
..
cpu microblaze: get cpu node with of_get_cpu_node 2018-09-28 15:30:26 -05:00
syscalls clone3-v5.3 2019-07-11 10:09:44 -07:00
.gitignore
Makefile microblaze: consolidate GPIO reset handling 2018-06-21 13:57:39 +02:00
asm-offsets.c
dma.c dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
entry-nommu.S
entry.S
exceptions.c signal: Remove the task parameter from force_sig_fault 2019-05-29 09:31:43 -05:00
ftrace.c microblaze: function_graph: Simplify with function_graph_enter() 2018-11-27 20:30:18 -05:00
head.S microblaze: delete wrong comment about machine_early_init 2018-07-30 08:33:04 +02:00
hw_exception_handler.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
irq.c
kgdb.c kgdb/treewide: constify struct kgdb_arch arch_kgdb_ops 2018-12-30 08:33:06 +00:00
mcount.S
microblaze_ksyms.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
misc.S
module.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
process.c
prom.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ptrace.c
reset.c microblaze: Switch to standard restart handler 2019-09-19 10:43:32 +02:00
setup.c microblaze: no need to check return value of debugfs_create functions 2019-01-14 10:22:16 +01:00
signal.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
stacktrace.c
sys_microblaze.c
syscall_table.S microblaze: generate uapi header and system call table files 2018-11-16 08:24:34 +01:00
timer.c microblaze: Remove architecture heart beat code 2018-06-12 12:46:35 +02:00
traps.c
unwind.c
vmlinux.lds.S vmlinux.lds.h: Move LSM_TABLE into INIT_DATA 2018-10-10 20:40:21 -07:00