Re: [PATCH V11 00/22] arch: Add basic LoongArch support

From: WANG Xuerui
Date: Sun May 22 2022 - 00:18:54 EST


On 5/18/22 17:25, Huacai Chen wrote:
[snip]

V10 -> V11:
1, Rebased on asm-generic tree;
2, Fix fpreg macros definition;
3, Fix ELF ABI macros definition;
4, Fix magic number definition in efi header;
5, Remove unneeded swab.h, bitfield.h and rtc.c;
6, Remove __ARCH_WANT_NEW_STAT (glibc need update);

Regarding the syscall ABI change taking out fstat and newfstatat, I've done the following to ensure a clean path forward:

- Sent glibc patch [1] for upstream review;
- Filed [2] on Loongson's glibc fork for them to test, and incorporate the 2nd patch in their port;
- Updated my tool [3] for the small number of end users already on the previous ABI (me included, actually), to easily check if their systems are compatible before moving to newer kernels.

[1]: https://sourceware.org/pipermail/libc-alpha/2022-May/138958.html
[2]: https://github.com/loongson/glibc/pull/29
[3]: https://github.com/xen0n/shengloong

7, Improve documents as WANG Xuerui suggested;
8, Some other minor fixes and improvements.