From: Jakub Kicinski <kuba@kernel.org>
To: Louis Peens <louis.peens@corigine.com>
Cc: "Yonghong Song" <yonghong.song@linux.dev>,
"Shubham Bansal" <illusionist.neo@gmail.com>,
"Johan Almbladh" <johan.almbladh@anyfinetworks.com>,
"Paul Burton" <paulburton@kernel.org>,
"Naveen N. Rao" <naveen.n.rao@linux.ibm.com>,
"Michael Ellerman" <mpe@ellerman.id.au>,
"Luke Nelson" <luke.r.nels@gmail.com>,
"Xi Wang" <xi.wang@gmail.com>, "Björn Töpel" <bjorn@kernel.org>,
"Ilya Leoshkevich" <iii@linux.ibm.com>,
"Heiko Carstens" <hca@linux.ibm.com>,
"Vasily Gorbik" <gor@linux.ibm.com>,
"David S. Miller" <davem@davemloft.net>,
"Wang YanQing" <udknight@gmail.com>,
"Alexei Starovoitov" <ast@kernel.org>,
"Daniel Borkmann" <daniel@iogearbox.net>,
"Andrii Nakryiko" <andrii@kernel.org>,
"Martin KaFai Lau" <martin.lau@kernel.org>,
bpf <bpf@vger.kernel.org>
Subject: Re: bpf: Request to add -mcpu=v4 support for ARM/MIPS/NFP/POWERPC/RISCV/S390/SPARC/X86_32
Date: Mon, 21 Aug 2023 12:47:11 -0700 [thread overview]
Message-ID: <20230821124711.15babfee@kernel.org> (raw)
In-Reply-To: <79d3c797-17ba-bc9e-b1f9-44ad024b576f@linux.dev>
On Sat, 19 Aug 2023 18:41:30 -0700 Yonghong Song wrote:
> Hi,
>
> A new set of bpf insns have been recently added in llvm with flag
> [-mcpu=v4](https://reviews.llvm.org/D144829). In the kernel,
> x86_64 and arm64 have implemented -mcpu=v4 support:
> x86_64:
> https://lore.kernel.org/all/20230728011143.3710005-1-yonghong.song@linux.dev/
> arm64:
> https://lore.kernel.org/bpf/20230815154158.717901-1-xukuohai@huaweicloud.com/
>
> The following arch's do not have -mcpu=v4 support yet:
> arm, mips, nfp, powerpc, riscv, sc90, sparc and x86_32
>
> If you have a chance, could you take a look at what
> x86_64/arm64 does and add support to the above arch'es?
Louis, is anyone on your side still working on BPF for NFP?
div/mod and the jump will be impossible but there may be instructions
for sign extend or bswap?
next prev parent reply other threads:[~2023-08-21 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-20 1:41 bpf: Request to add -mcpu=v4 support for ARM/MIPS/NFP/POWERPC/RISCV/S390/SPARC/X86_32 Yonghong Song
2023-08-21 2:23 ` Pu Lehui
2023-08-21 4:36 ` Yonghong Song
2023-08-21 19:47 ` Jakub Kicinski [this message]
2023-08-22 10:06 ` Louis Peens
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=20230821124711.15babfee@kernel.org \
--to=kuba@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bjorn@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=iii@linux.ibm.com \
--cc=illusionist.neo@gmail.com \
--cc=johan.almbladh@anyfinetworks.com \
--cc=louis.peens@corigine.com \
--cc=luke.r.nels@gmail.com \
--cc=martin.lau@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=naveen.n.rao@linux.ibm.com \
--cc=paulburton@kernel.org \
--cc=udknight@gmail.com \
--cc=xi.wang@gmail.com \
--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