[PATCH -next V11 0/7] riscv: Add GENERIC_ENTRY support

Guo Ren guoren at kernel.org
Sun Dec 11 23:47:08 PST 2022


On Mon, Dec 12, 2022 at 3:18 PM Björn Töpel <bjorn at kernel.org> wrote:
>
> guoren at kernel.org writes:
>
> > From: Guo Ren <guoren at linux.alibaba.com>
> >
> > The patches convert riscv to use the generic entry infrastructure from
> > kernel/entry/*. Some optimization for entry.S with new .macro and merge
> > ret_from_kernel_thread into ret_from_fork.
> >
> > The 1,2 are the preparation of generic entry. 3~7 are the main part
> > of generic entry.
> >
> > All tested with rv64, rv32, rv64 + 32rootfs, all are passed.
> >
> > You can directly try it with:
> > [1] https://github.com/guoren83/linux/tree/generic_entry_v11
Sorry, I forgot to push. Now it's ready.

>
> FWIW, the v11 branch is not available here.
>
> This series is a really nice cleanup for the RISC-V entry code. I've run
> it on some kernel selftests, and haven't seen any issues.
>
> I'm looking forward to having this series pulled in!
>
> Reviewed-by: Björn Töpel <bjorn at rivosinc.com>
Thx.



-- 
Best Regards
 Guo Ren



More information about the linux-riscv mailing list