[RFC v2 1/2] riscv: allow resume after exception
Leo Liang
ycliang at andestech.com
Mon Oct 30 09:24:22 CET 2023
On Sun, Oct 29, 2023 at 09:45:32AM +0100, Heinrich Schuchardt wrote:
> If CSRs like seed are readable by S-mode, may not be determinable by
> S-mode. For safe driver probing allow to resume via a longjmp after an
> exception.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> v2:
> new patch
> ---
> arch/riscv/lib/interrupts.c | 13 +++++++++++++
> include/interrupt.h | 22 ++++++++++++++++++++++
> 2 files changed, 35 insertions(+)
> create mode 100644 include/interrupt.h
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list