Re: [PATCH v4] RISC-V: Use SBI SRST extension when available

2021-03-09 Thread Anup Patel
On Wed, Mar 10, 2021 at 8:31 AM Palmer Dabbelt wrote: > > On Mon, 01 Mar 2021 03:58:33 PST (-0800), Anup Patel wrote: > > The SBI SRST extension provides a standard way to poweroff and > > reboot the system irrespective to whether Linux RISC-V S-mode > > is running natively (HS-mode) or inside Gue

Re: [PATCH v4] RISC-V: Use SBI SRST extension when available

2021-03-09 Thread Palmer Dabbelt
On Mon, 01 Mar 2021 03:58:33 PST (-0800), Anup Patel wrote: The SBI SRST extension provides a standard way to poweroff and reboot the system irrespective to whether Linux RISC-V S-mode is running natively (HS-mode) or inside Guest/VM (VS-mode). The SBI SRST extension is available in latest SBI v

Re: [PATCH v4] RISC-V: Use SBI SRST extension when available

2021-03-02 Thread Atish Patra
On Mon, Mar 1, 2021 at 3:59 AM Anup Patel wrote: > > The SBI SRST extension provides a standard way to poweroff and > reboot the system irrespective to whether Linux RISC-V S-mode > is running natively (HS-mode) or inside Guest/VM (VS-mode). > > The SBI SRST extension is available in latest SBI v0

Re: [PATCH v4] RISC-V: Use SBI SRST extension when available

2021-03-02 Thread Anup Patel
On Mon, Mar 1, 2021 at 5:29 PM Anup Patel wrote: > > The SBI SRST extension provides a standard way to poweroff and > reboot the system irrespective to whether Linux RISC-V S-mode > is running natively (HS-mode) or inside Guest/VM (VS-mode). > > The SBI SRST extension is available in latest SBI v0

[PATCH v4] RISC-V: Use SBI SRST extension when available

2021-03-01 Thread Anup Patel
The SBI SRST extension provides a standard way to poweroff and reboot the system irrespective to whether Linux RISC-V S-mode is running natively (HS-mode) or inside Guest/VM (VS-mode). The SBI SRST extension is available in latest SBI v0.3-draft specification at: https://github.com/riscv/riscv-sbi