On Mon, Dec 12, 2022 at 3:18 PM Björn Töpel <bjorn@xxxxxxxxxx> wrote: > > 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 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@xxxxxxxxxxxx> Thx. -- Best Regards Guo Ren