public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
From: Yonghong Song <yonghong.song@linux.dev>
To: "Pu Lehui" <pulehui@huawei.com>,
	"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: Re: bpf: Request to add -mcpu=v4 support for ARM/MIPS/NFP/POWERPC/RISCV/S390/SPARC/X86_32
Date: Sun, 20 Aug 2023 21:36:06 -0700	[thread overview]
Message-ID: <f4317426-dae6-a81e-38bb-566064f01666@linux.dev> (raw)
In-Reply-To: <13f54b2a-0f52-325a-d138-981fc4896908@huawei.com>



On 8/20/23 7:23 PM, Pu Lehui wrote:
> Alright, riscv64 is already being adapted, will be sent soon.

Thanks! Looking forward to the patch set.

> 
> On 2023/8/20 9:41, 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?
>>
>> Thanks!
>>
>> Yonghong
>>

  reply	other threads:[~2023-08-21  4:36 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 [this message]
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=f4317426-dae6-a81e-38bb-566064f01666@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=pulehui@huawei.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox