mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: chris.chenfeiyang@gmail.com
Cc: paulmck@kernel.org, Feiyang Chen <chenfeiyang@loongson.cn>,
	arnd@arndb.de, chenhuacai@kernel.org, jiaxun.yang@flygoat.com,
	loongarch@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/5] Add LoongArch support to nolibc
Date: Thu, 9 Feb 2023 04:35:37 +0100	[thread overview]
Message-ID: <Y+RqCcaS6pJ+W9+N@1wt.eu> (raw)
In-Reply-To: <cover.1675907639.git.chenfeiyang@loongson.cn>

Hi Feiyang,

On Thu, Feb 09, 2023 at 11:24:11AM +0800, chris.chenfeiyang@gmail.com wrote:
> From: Feiyang Chen <chenfeiyang@loongson.cn>
> 
> Add statx() and make stat() rely on statx() if necessary.
> 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 ...
> 
> v2:
> - Mention that statx() will also benefit other architectures.
> - Make stat() rely on statx() when available.
> - Put the whitespace changes into one commit.
> 
> v3:
> - Add #if defined(__NR_statx) guard.
> - Keep the check for statx() from the first version.
> - Mention that we may use statx() everywhere in the future.
> - struct statx stat -> struct statx statx.

I'm personally fine with this one. I'll give it a try with all supported
archs to make sure we don't have any unexpected side effect, and unless
anyone has any other comment, we'll queue this series.

Thank you!
Willy

  parent reply	other threads:[~2023-02-09  3:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09  3:24 chris.chenfeiyang
2023-02-09  3:24 ` [PATCH v3 1/5] tools/nolibc: Include linux/fcntl.h and remove duplicate code chris.chenfeiyang
2023-02-09  3:24 ` [PATCH v3 2/5] tools/nolibc: Add statx() and make stat() rely on statx() if necessary chris.chenfeiyang
2023-02-12 21:12   ` Willy Tarreau
2023-02-13  1:06     ` Feiyang Chen
2023-02-19 19:06       ` Willy Tarreau
2023-02-20  1:04         ` Feiyang Chen
2023-02-09  3:24 ` [PATCH v3 3/5] tools/nolibc: Add support for LoongArch chris.chenfeiyang
2023-02-09  3:24 ` [PATCH v3 4/5] selftests/nolibc: " chris.chenfeiyang
2023-02-09  3:24 ` [PATCH v3 5/5] selftests/nolibc: Adjust indentation for Makefile chris.chenfeiyang
2023-02-09  3:35 ` Willy Tarreau [this message]
2023-02-09  3:38   ` [PATCH v3 0/5] Add LoongArch support to nolibc Huacai 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=Y+RqCcaS6pJ+W9+N@1wt.eu \
    --to=w@1wt.eu \
    --cc=arnd@arndb.de \
    --cc=chenfeiyang@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=chris.chenfeiyang@gmail.com \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=paulmck@kernel.org \
    /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

all inboxes | Powered by JetHome®