public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add LoongArch support to nolibc
@ 2023-02-07  2:09 chris.chenfeiyang
  2023-02-07  2:09 ` [PATCH 1/3] nolibc: Add statx() support to implement sys_stat() chris.chenfeiyang
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: chris.chenfeiyang @ 2023-02-07  2:09 UTC (permalink / raw)
  To: w, paulmck
  Cc: Feiyang Chen, chenhuacai, jiaxun.yang, arnd, chris.chenfeiyang,
	loongarch, linux-kernel

From: Feiyang Chen <chenfeiyang@loongson.cn>

Add statx() support to implement sys_stat().
Add support for LoongArch (32 and 64 bit) to nolibc.
It was tested on LoongArch64 only.

The latest QEMU support full-system emulation of a LoongArch64
machine, but for the moment we need to specify the firmware manually.
https://github.com/loongson/Firmware/tree/main/LoongArchVirtMachine

QEMU_ARGS_loongarch  = -M virt -bios edk2-loongarch64-code.fd ...

Feiyang Chen (3):
  nolibc: Add statx() support to implement sys_stat()
  nolibc: Add support for LoongArch
  selftests/nolibc: Add support for LoongArch

 tools/include/nolibc/arch-loongarch.h   | 223 ++++++++++++++++++++++++
 tools/include/nolibc/arch.h             |   2 +
 tools/include/nolibc/sys.h              |  36 +++-
 tools/include/nolibc/types.h            |  46 +++++
 tools/testing/selftests/nolibc/Makefile |  78 +++++----
 5 files changed, 345 insertions(+), 40 deletions(-)
 create mode 100644 tools/include/nolibc/arch-loongarch.h

-- 
2.39.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-02-08 14:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-07  2:09 [PATCH 0/3] Add LoongArch support to nolibc chris.chenfeiyang
2023-02-07  2:09 ` [PATCH 1/3] nolibc: Add statx() support to implement sys_stat() chris.chenfeiyang
2023-02-07 14:30   ` Arnd Bergmann
2023-02-08  2:09     ` Feiyang Chen
2023-02-08  3:31       ` Willy Tarreau
2023-02-08  7:29         ` Arnd Bergmann
2023-02-08  7:42         ` Feiyang Chen
2023-02-08  8:06           ` Arnd Bergmann
2023-02-08  8:19             ` Willy Tarreau
2023-02-08  9:20               ` Feiyang Chen
     [not found]               ` <d0df35466db74097b8e70e28d35a4776@AcuMS.aculab.com>
2023-02-08 14:07                 ` Willy Tarreau
2023-02-08  8:07           ` Willy Tarreau
2023-02-07  2:09 ` [PATCH 2/3] nolibc: Add support for LoongArch chris.chenfeiyang
2023-02-07 14:25   ` Arnd Bergmann
2023-02-07  2:09 ` [PATCH 3/3] selftests/nolibc: " chris.chenfeiyang
2023-02-08  3:54   ` Willy Tarreau
2023-02-08  4:34     ` Paul E. McKenney
2023-02-08  6:39       ` Feiyang Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox