All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arch/riscv: Add bitrev.h file to support rev8 and brev8
@ 2026-04-15  9:38 ` Jinjie Ruan
  0 siblings, 0 replies; 18+ messages in thread
From: Jinjie Ruan @ 2026-04-15  9:38 UTC (permalink / raw)
  To: pjw, palmer, aou, alex, yury.norov, linux, arnd, cp0613,
	linux-riscv, linux-kernel, linux-arch
  Cc: ruanjinjie

Add bitrev.h file to support rev8 and brev8 for riscv.

Changes in v2:
- Define generic __bitrev8/16/32 for reuse in riscv.

Jinjie Ruan (2):
  bitops: Define generic __bitrev8/16/32 for reuse
  arch/riscv: Add bitrev.h file to support rev8 and brev8

 arch/riscv/Kconfig                    |  1 +
 arch/riscv/include/asm/bitrev.h       | 41 +++++++++++++++++++++++++++
 include/asm-generic/bitops/__bitrev.h | 22 ++++++++++++++
 include/linux/bitrev.h                | 20 +++----------
 4 files changed, 68 insertions(+), 16 deletions(-)
 create mode 100644 arch/riscv/include/asm/bitrev.h
 create mode 100644 include/asm-generic/bitops/__bitrev.h

-- 
2.34.1


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

end of thread, other threads:[~2026-04-17 19:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15  9:38 [PATCH v2 0/2] arch/riscv: Add bitrev.h file to support rev8 and brev8 Jinjie Ruan
2026-04-15  9:38 ` Jinjie Ruan
2026-04-15  9:38 ` [PATCH v2 1/2] bitops: Define generic __bitrev8/16/32 for reuse Jinjie Ruan
2026-04-15  9:38   ` Jinjie Ruan
2026-04-15 18:30   ` Yury Norov
2026-04-15 18:30     ` Yury Norov
2026-04-15  9:38 ` [PATCH v2 2/2] arch/riscv: Add bitrev.h file to support rev8 and brev8 Jinjie Ruan
2026-04-15  9:38   ` Jinjie Ruan
2026-04-15 11:32   ` David Laight
2026-04-15 11:32     ` David Laight
2026-04-16 23:14   ` Nathan Chancellor
2026-04-16 23:14     ` Nathan Chancellor
2026-04-17  0:34     ` Yury Norov
2026-04-17  0:34       ` Yury Norov
2026-04-17  3:29       ` Nathan Chancellor
2026-04-17  3:29         ` Nathan Chancellor
2026-04-17 19:27         ` Yury Norov
2026-04-17 19:27           ` Yury Norov

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.