mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "André Almeida" <andrealmeid@igalia.com>,
	"Thomas Gleixner" <tglx@kernel.org>,
	"Ingo Molnar" <mingo@redhat.com>,
	"Borislav Petkov" <bp@alien8.de>,
	"Dave Hansen" <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	"Nathan Chancellor" <nathan@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org,
	kernel-dev@igalia.com
Subject: Re: [PATCH RFC v2 1/4] syscalls: Create unified partial table for all archs
Date: Tue, 28 Jul 2026 08:47:12 +0200	[thread overview]
Message-ID: <7ada7223-3fd5-4637-95c8-d24165d0b7bb@app.fastmail.com> (raw)
In-Reply-To: <20260727-tonyk-syscall_table-v2-1-95d4f1ee471f@igalia.com>

On Tue, Jul 28, 2026, at 04:47, André Almeida wrote:

>  	echo >&2 "options:"
>  	echo >&2 "  --abis ABIS        ABI(s) to handle (By default, all 
> lines are handled)"
> +	echo >&2 "  --common-tbl       Use the common syscall number table"
> +	echo >&2 "  --no-compat        Don't generated the compat version"
>  	exit 1

You don't explain what the --no-compat flag is good for.

I would hope we can avoid adding even more flags here since
there may be other (external) scripts that process the same data 
and that need to stay in sync.

> +COMMON_TBL_PATH="../scripts/syscall_common.tbl"

Hardcoding the path here means the script can no longer work
outside of the kernel tree.  Maybe you can you combine this with
the --common-tbl argument to pass the file name?

     Arnd

  reply	other threads:[~2026-07-28  6:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-28  2:47 [PATCH RFC v2 0/4] syscalls: Add a shared " André Almeida
2026-07-28  2:47 ` [PATCH RFC v2 1/4] syscalls: Create unified partial " André Almeida
2026-07-28  6:47   ` Arnd Bergmann [this message]
2026-07-28  2:47 ` [PATCH RFC v2 2/4] syscalls: Add support for x86_x32 for the common syscall table André Almeida
2026-07-28  2:47 ` [PATCH RFC v2 3/4] x86: Use " André Almeida
2026-07-28  2:47 ` [PATCH RFC v2 4/4] scripts/syscall.tbl: Use the common table André Almeida
2026-07-28  8:30 ` [PATCH RFC v2 0/4] syscalls: Add a shared table for all archs Arnd Bergmann

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=7ada7223-3fd5-4637-95c8-d24165d0b7bb@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=andrealmeid@igalia.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=kernel-dev@igalia.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=nathan@kernel.org \
    --cc=tglx@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®