On Sat, May 14, 2022 at 10:03 AM Huacai Chen <chenhuacai@xxxxxxxxxxx> wrote: > Cross-compile tool chain to build kernel: > https://github.com/loongson/build-tools/releases/download/2021.12.21/loongarch64-clfs-2022-03-03-cross-tools-gcc-glibc.tar.xz I also uploaded a clean build of gcc-12.1 with loongarch64 in the https://mirrors.edge.kernel.org/pub/tools/crosstool/ builds. I have not tried it yet. > This patchset is adding basic LoongArch support in mainline kernel, we > can see a complete snapshot here: > https://github.com/loongson/linux/tree/loongarch-next Note: I have pulled in the generic ticket lock series into the asm-generic tree. Please rebase your series on top of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux generic-ticket-spinlocks-v6 to avoid duplicating the commits. As long as you are based on top of the 9282d0996936 commit, that should be fine. > V9 -> V10: > 1, Rebased on 5.18-rc6; > 2, Use generic efi stub; > 3, Use generic string library; > 4, Use generic ticket spinlock; > 5, Use more meaningful macro naming; > 6, Remove the zboot patch; > 7, Fix commit message and documentations; > 8, Some other minor fixes and improvements. I think with this you have addressed the comments that I had in the past. Xuerui Wang and some others had additional comments that of course need to be addressed, but this is looking good to me. Arnd