linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] RISC-V: add percpu.h to include/asm
@ 2025-12-08  3:49 Yunhui Cui
  2025-12-08  3:49 ` [PATCH v2 1/3] riscv: remove irqflags.h inclusion in asm/bitops.h Yunhui Cui
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yunhui Cui @ 2025-12-08  3:49 UTC (permalink / raw)
  To: aou, alex, andii, andybnac, apatel, ast, ben.dooks, bjorn, bpf,
	charlie, cl, conor.dooley, cuiyunhui, cyrilbur, daniel, debug,
	dennis, eddyz87, haoluo, john.fastabend, jolsa, kpsingh,
	linux-kernel, linux-mm, linux-riscv, linux, martin.lau, palmer,
	pjw, puranjay, pulehui, ruanjinjie, rkrcmar, samuel.holland, sdf,
	song, tglx, tj, thuth, yonghong.song, yury.norov, zong.li

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-12-09 18:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-08  3:49 [PATCH v2 0/3] RISC-V: add percpu.h to include/asm Yunhui Cui
2025-12-08  3:49 ` [PATCH v2 1/3] riscv: remove irqflags.h inclusion in asm/bitops.h Yunhui Cui
2025-12-08  3:49 ` [PATCH v2 2/3] riscv: introduce percpu.h into include/asm Yunhui Cui
2025-12-09  2:12   ` kernel test robot
2025-12-09  3:55   ` kernel test robot
2025-12-09 18:05   ` kernel test robot
2025-12-08  3:49 ` [PATCH v2 3/3] riscv: store percpu offset into thread_info Yunhui Cui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox