On Sun, Aug 13, 2023 at 09:39:44PM +0800, Zhangjin Wu wrote: > > And we're done, you can then keep the simplified __sysret() macro for all > > other call places. > > > > Now, this issue is near to the end ;-) I've now pushed the simplified fix (without changing the SET_ERRNO() macro, enough last minute breaking changes for now) in branch 20230815-for-6.6-2. The tests pass and riscv/loongarch are even very slightly smaller than before (~8 bytes) but again that doesn't count as it depends on how the compiler decides to arrange if/else branches. I'll let Shuah know about these late fixes. Regards, Willy