[GIT RESEND PULL] bitmap fixes for 6.16

From: Yury Norov
Date: Mon Jun 02 2025 - 14:17:09 EST


Hi Linus,

Please pull bitmap fixes for 6.16.

Thanks,
Yury

The following changes since commit ca91b9500108d4cf083a635c2e11c884d5dd20ea:

Merge tag 'v6.15-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd (2025-04-28 16:56:01 -0700)

are available in the Git repository at:

https://github.com/norov/linux.git tags/bitmap-for-6.16-rc1

for you to fetch changes up to 895ee6a22e3195b7c1fee140c842bdeedb89ed33:

topology: make for_each_node_with_cpus() O(N) (2025-05-13 11:40:04 -0400)

----------------------------------------------------------------
bitmap-for-6.16

Bitmap updates for 6.16-rc1 include:
- dead code cleanups for cpumasks and nodemasks (me);
- fixed-width flavors of GENMASK() and BIT() (Vincent, Lucas and me);
- FIELD_MODIFY() helper (Luo);
- for_each_node_with_cpus() optimization (me);
- bitmap-str fixes (Andy).

----------------------------------------------------------------
Andy Shevchenko (2):
bitmap-str: Get rid of 'extern' for function prototypes
bitmap-str: Add missing header(s)

Lucas De Marchi (3):
bits: introduce fixed-type BIT_U*()
drm/i915: Convert REG_GENMASK*() to fixed-width GENMASK_U*()
test_bits: add tests for GENMASK_U*()

Luo Jie (1):
bitfield: Add FIELD_MODIFY() helper

Vincent Mailhol (4):
bits: add comments and newlines to #if, #else and #endif directives
bits: introduce fixed-type GENMASK_U*()
test_bits: add tests for BIT_U*()
build_bug.h: more user friendly error messages in BUILD_BUG_ON_ZERO()

Yury Norov (4):
nodemask: drop nodes_shift
cpumask: add non-atomic __assign_cpu()
riscv: switch set_icache_stale_mask() to using non-atomic assign_cpu()
cpumask: drop cpumask_assign_cpu()

Yury Norov [NVIDIA] (1):
topology: make for_each_node_with_cpus() O(N)

arch/riscv/mm/cacheflush.c | 2 +-
drivers/gpu/drm/i915/i915_reg_defs.h | 108 ++++-------------------------------
include/linux/bitfield.h | 21 ++++++-
include/linux/bitmap-str.h | 10 ++--
include/linux/bitops.h | 1 -
include/linux/bits.h | 57 +++++++++++++++++-
include/linux/build_bug.h | 10 ++--
include/linux/compiler.h | 4 +-
include/linux/cpumask.h | 19 +-----
include/linux/nodemask.h | 20 +------
include/linux/topology.h | 5 +-
lib/tests/test_bits.c | 30 ++++++++++
12 files changed, 134 insertions(+), 153 deletions(-)