All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yonghong Song <yonghong.song@linux.dev>
To: "Shubham Bansal" <illusionist.neo@gmail.com>,
	"Johan Almbladh" <johan.almbladh@anyfinetworks.com>,
	"Paul Burton" <paulburton@kernel.org>,
	"Jakub Kicinski" <kuba@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>
Cc: 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: bpf: Request to add -mcpu=v4 support for ARM/MIPS/NFP/POWERPC/RISCV/S390/SPARC/X86_32
Date: Sat, 19 Aug 2023 18:41:30 -0700	[thread overview]
Message-ID: <79d3c797-17ba-bc9e-b1f9-44ad024b576f@linux.dev> (raw)

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?

Thanks!

Yonghong

             reply	other threads:[~2023-08-20  2:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-20  1:41 Yonghong Song [this message]
2023-08-21  2:23 ` bpf: Request to add -mcpu=v4 support for ARM/MIPS/NFP/POWERPC/RISCV/S390/SPARC/X86_32 Pu Lehui
2023-08-21  4:36   ` Yonghong Song
2023-08-21 19:47 ` Jakub Kicinski
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=79d3c797-17ba-bc9e-b1f9-44ad024b576f@linux.dev \
    --to=yonghong.song@linux.dev \
    --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=kuba@kernel.org \
    --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 \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.