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

From: Paul Walmsley
Date: Fri Nov 22 2019 - 22:04:41 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>

Sounds like Christoph isn't planning to follow up on his reset driver.
So this patch looks OK to me, as far as QEMU is concerned. Still it seems
best to avoid SYSCON for real hardware as much as possible, so, will plan
to apply this after CONFIG_SOC_VIRT support lands.

thanks,

- Paul