OSDN Git Service

riscv: Setup exception vector for nommu platform
authorQiu Wenbo <qiuwenbo@phytium.com.cn>
Thu, 13 Aug 2020 03:38:04 +0000 (11:38 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 14 Aug 2020 23:28:20 +0000 (16:28 -0700)
commit76d4467a97bd8c4bb01e810a5129c8f96d7dcbf8
tree84f1b82db0127e821127cb882d2a06df8d58a6f6
parentdbf83817315d9ce93b3e5b1c83a167f537245bd8
riscv: Setup exception vector for nommu platform

Exception vector is missing on nommu platform and that is an issue.
This patch is tested in Sipeed Maix Bit Dev Board.

Fixes: 79b1feba5455 ("RISC-V: Setup exception vector early")
Suggested-by: Anup Patel <anup@brainfault.org>
Suggested-by: Atish Patra <atishp@atishpatra.org>
Signed-off-by: Qiu Wenbo <qiuwenbo@phytium.com.cn>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/head.S