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

Björn Töpel bjorn at kernel.org
Sun Dec 11 23:18:08 PST 2022


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

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>



More information about the linux-riscv mailing list