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

From: Björn Töpel
Date: Mon Dec 12 2022 - 02:18:23 EST


guoren@xxxxxxxxxx writes:

> From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
>
> 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

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@xxxxxxxxxxxx>