Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers

From: Paul Walmsley
Date: Mon Nov 11 2019 - 12:06:30 EST


On Mon, 11 Nov 2019, Anup Patel wrote:

> We can use SYSCON reboot and poweroff drivers for the
> SiFive test device found on QEMU virt machine and SiFive
> SOCs.
>
> This patch enables SYSCON reboot and poweroff drivers
> in RV64 and RV32 defconfigs.
>
> Signed-off-by: Anup Patel <anup.patel@xxxxxxx>

I'd much prefer Christoph's driver, once it's fixed up per my earlier
comments. This business with writing random registers based on what's in
the DT data has always been a bad idea.


- Paul