mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Ramin Moussavi" <ramin.moussavi@yacoub.de>,
	"Russell King" <linux@armlinux.org.uk>,
	"Puranjay Mohan" <puranjay@kernel.org>
Cc: "Daniel Borkmann" <daniel@iogearbox.net>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Kumar Kartikeya Dwivedi" <memxor@gmail.com>,
	"Martin KaFai Lau" <martin.lau@linux.dev>,
	"Song Liu" <song@kernel.org>,
	"Yonghong Song" <yonghong.song@linux.dev>,
	"Jiri Olsa" <jolsa@kernel.org>,
	"Emil Tsalapatis" <emil@etsalapatis.com>,
	"Ihor Solodrai" <ihor.solodrai@linux.dev>,
	"Richard Cochran" <richardcochran@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	"Nicolas Schichan" <nschichan@freebox.fr>, <bpf@vger.kernel.org>,
	<netdev@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH bpf-next v3] bpf, arm32: build constants inline instead of using a literal pool
Date: Tue, 01 Dec 2026 03:13:00 +0000	[thread overview]
Message-ID: <DN92GN5BC8QR.24JHOM6ZS3X8N@gmail.com> (raw)
In-Reply-To: <20261130201337.3299286-1-ramin.moussavi@yacoub.de>

On Mon, Nov 30, 2026 at 12:13 PM Ramin Moussavi <ramin.moussavi@yacoub.de> wrote:
> It is also not limited to v5 and v6 silicon.  __LINUX_ARM_ARCH__ is 6 on
> any kernel built for v6 and v7 together, which imx_v6_v7_defconfig and
> omap2plus_defconfig both do, so current i.MX6 hardware takes this path
> as well.

hmm.
No arm defconfig sets BPF_JIT, and nothing selects it on arm.
i.MX6 takes this path only with ARCH_MULTI_V6=y and BPF_JIT=y.
multi_v7_defconfig supports i.MX6 too. It gets 7, which means MOVW/MOVT.

> Neither this patch nor the follow-up series started in qemu - both came
> out of product kernels running on real hardware.  What I verified under
> qemu is the version rewritten for bpf-next, because that is where I can
> run the whole test_bpf suite across several configurations and compare
> the emitted code.

bpf-next doesn't have test_bpf since October. See
commit 4532e525b286 ("selftests/bpf: Remove the old test_bpf module").
I doubt your claims.


  reply	other threads:[~2026-12-01  3:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11 12:16 [PATCH bpf-next] " Ramin Moussavi
2026-11-20 14:01 ` [PATCH bpf-next v2] " Ramin Moussavi
2026-11-20 19:12   ` Alexei Starovoitov
2026-11-22 19:56   ` [PATCH bpf-next v3] " Ramin Moussavi
2026-11-29 23:28     ` Ramin Moussavi
2026-11-30  1:00       ` Alexei Starovoitov
2026-11-30 20:13         ` Ramin Moussavi
2026-12-01  3:13           ` Alexei Starovoitov [this message]
2026-11-30  1:00     ` patchwork-bot+netdevbpf

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=DN92GN5BC8QR.24JHOM6ZS3X8N@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=jolsa@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=nschichan@freebox.fr \
    --cc=puranjay@kernel.org \
    --cc=ramin.moussavi@yacoub.de \
    --cc=richardcochran@gmail.com \
    --cc=song@kernel.org \
    --cc=yonghong.song@linux.dev \
    /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®