public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: chris.chenfeiyang@gmail.com
To: w@1wt.eu, paulmck@kernel.org
Cc: Feiyang Chen <chenfeiyang@loongson.cn>,
	chenhuacai@kernel.org, jiaxun.yang@flygoat.com, arnd@arndb.de,
	chris.chenfeiyang@gmail.com, loongarch@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] Add LoongArch support to nolibc
Date: Tue,  7 Feb 2023 10:09:39 +0800	[thread overview]
Message-ID: <cover.1675734681.git.chenfeiyang@loongson.cn> (raw)

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


             reply	other threads:[~2023-02-07  2:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07  2:09 chris.chenfeiyang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1675734681.git.chenfeiyang@loongson.cn \
    --to=chris.chenfeiyang@gmail.com \
    --cc=arnd@arndb.de \
    --cc=chenfeiyang@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=paulmck@kernel.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox