From: Tejun Heo <tj@kernel.org>
To: Xuewen Yan <xuewen.yan@unisoc.com>
Cc: void@manifault.com, arighi@nvidia.com, changwoo@igalia.com,
guohua.yan@unisoc.com, ke.wang@unisoc.com, di.shen@unisoc.com,
sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org,
bpf@vger.kernel.org, xuewen.yan94@gmail.com
Subject: Re: [RFC PATCH] tools/sched_ext: Use u64 for kind field to fix ARM64 atomic ops
Date: Mon, 9 Feb 2026 09:11:05 -1000 [thread overview]
Message-ID: <aYoxSfDjUvnIIAMd@slm.duckdns.org> (raw)
In-Reply-To: <20260209085536.16723-1-xuewen.yan@unisoc.com>
On Mon, Feb 09, 2026 at 04:55:36PM +0800, Xuewen Yan wrote:
> From: Guohua Yan <guohua.yan@unisoc.com>
>
> There are following compile errors in arm64:
>
> bpftools/CORE/scx_simple.bpf.c:144:2: error: unsupported atomic operation, please use 64 bit version
> 144 | UEI_RECORD(uei, ei);
> | ^
>
> Convert kind from int to u64 to resolve ARM64 atomic operation
> limitations. ARM64 primarily supports 64-bit atomic operations.
Alexei says this is llvm bpf backend error and the answer is to upgrade to a
modern llvm that defaults to -mcpu=v3.
Thanks.
--
tejun
next prev parent reply other threads:[~2026-02-09 19:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-09 8:55 Xuewen Yan
2026-02-09 19:11 ` Tejun Heo [this message]
2026-02-10 1:48 ` Xuewen Yan
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=aYoxSfDjUvnIIAMd@slm.duckdns.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=bpf@vger.kernel.org \
--cc=changwoo@igalia.com \
--cc=di.shen@unisoc.com \
--cc=guohua.yan@unisoc.com \
--cc=ke.wang@unisoc.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sched-ext@lists.linux.dev \
--cc=void@manifault.com \
--cc=xuewen.yan94@gmail.com \
--cc=xuewen.yan@unisoc.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
Powered by JetHome