[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251208034944.73113-1-cuiyunhui@bytedance.com>
Date: Mon, 8 Dec 2025 11:49:41 +0800
From: Yunhui Cui <cuiyunhui@...edance.com>
To: aou@...s.berkeley.edu,
alex@...ti.fr,
andii@...nel.org,
andybnac@...il.com,
apatel@...tanamicro.com,
ast@...nel.org,
ben.dooks@...ethink.co.uk,
bjorn@...nel.org,
bpf@...r.kernel.org,
charlie@...osinc.com,
cl@...two.org,
conor.dooley@...rochip.com,
cuiyunhui@...edance.com,
cyrilbur@...storrent.com,
daniel@...earbox.net,
debug@...osinc.com,
dennis@...nel.org,
eddyz87@...il.com,
haoluo@...gle.com,
john.fastabend@...il.com,
jolsa@...nel.org,
kpsingh@...nel.org,
linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
linux-riscv@...ts.infradead.org,
linux@...musvillemoes.dk,
martin.lau@...ux.dev,
palmer@...belt.com,
pjw@...nel.org,
puranjay@...nel.org,
pulehui@...wei.com,
ruanjinjie@...wei.com,
rkrcmar@...tanamicro.com,
samuel.holland@...ive.com,
sdf@...ichev.me,
song@...nel.org,
tglx@...utronix.de,
tj@...nel.org,
thuth@...hat.com,
yonghong.song@...ux.dev,
yury.norov@...il.com,
zong.li@...ive.com
Subject: [PATCH v2 0/3] RISC-V: add percpu.h to include/asm
v1->v2:
1. Support percpu add/and/or operations for non-ZABHA
2. Implement optimization: store percpu offset in thread_info
Yunhui Cui (3):
riscv: remove irqflags.h inclusion in asm/bitops.h
riscv: introduce percpu.h into include/asm
riscv: store percpu offset into thread_info
arch/riscv/include/asm/asm.h | 6 +-
arch/riscv/include/asm/bitops.h | 1 -
arch/riscv/include/asm/percpu.h | 242 +++++++++++++++++++++++++++
arch/riscv/include/asm/switch_to.h | 8 +
arch/riscv/include/asm/thread_info.h | 5 +-
arch/riscv/kernel/asm-offsets.c | 1 +
arch/riscv/kernel/smpboot.c | 7 +
arch/riscv/net/bpf_jit_comp64.c | 9 +-
8 files changed, 263 insertions(+), 16 deletions(-)
create mode 100644 arch/riscv/include/asm/percpu.h
--
2.39.5
Powered by blists - more mailing lists