Skip to contentSkip to conversation

bitmap changes for v6.15-rc1

GIT PULL Merged Yury Norov 2 participants 2 messages Mar 24, 2025 – Mar 25, 2025

lore
Share & tools
lore

Yury Norov

author
#0 lore raw

Hi Linus,

Please pull bitmap changes for 6.15. They all spent for over 2 weeks in -next with no issues.

Regarding rust bindings, LKP is now running my branch with CONFIG_RUST and bitmap tests enabled. Thanks to Miguel for that.

Thanks,
Yury

The following changes since commit 2408a807bfc3f738850ef5ad5e3fd59d66168996:

Merge tag 'vfs-6.14-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs (2025-02-17 10:38:25 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 1cf8e152e8c909c2d6c610b35278a7480af7a156:

cpumask: align text in comment (2025-03-20 17:33:31 -0400)

----------------------------------------------------------------
bitmap changes for 6.15

This includes:
- cpumask_next_wrap() rework from me;
- GENMASK() simplification from I Hsin;
- rust bindings for cpumasks from Viresh and me;
- scattered cleanups from Andy, Tamir, Vincent, Ignacio and Joel.

----------------------------------------------------------------
Andy Shevchenko (1):
bitmap: Align documentation between bitmap_gather() and bitmap_scatter()

I Hsin Cheng (1):
uapi: Revert "bitops: avoid integer overflow in GENMASK(_ULL)"

Ignacio Encinas (1):
riscv: fix test_and_{set,clear}_bit ordering documentation

Joel Savitz (1):
cpumask: align text in comment

Tamir Duberstein (1):
bitmap: remove _check_eq_u32_array

Vincent Mailhol (1):

      treewide: fix typo 'unsigned __init128' -> 'unsigned __int128'

Viresh Kumar (1):
rust: Add cpumask helpers

Yury Norov (14):
cpumask: add for_each_{possible,online}_cpu_wrap
objpool: rework objpool_pop()
virtio_net: simplify virtnet_set_affinity()
ibmvnic: simplify ibmvnic_set_queue_affinity()
powerpc/xmon: simplify xmon_batch_next_cpu()
cpumask: deprecate cpumask_next_wrap()
cpumask: re-introduce cpumask_next{,_and}_wrap()
cpumask: use cpumask_next_wrap() where appropriate
padata: switch padata_find_next() to using cpumask_next_wrap()
s390: switch stop_machine_yield() to using cpumask_next_wrap()
scsi: lpfc: switch lpfc_irq_rebalance() to using cpumask_next_wrap()
scsi: lpfc: rework lpfc_next_{online,present}_cpu()
PCI: hv: Switch hv_compose_multi_msi_req_get_cpu() to using cpumask_next_wrap()
cpumask: drop cpumask_next_wrap_old()

Yury Norov [NVIDIA] (1):
MAINTAINERS: add rust bindings entry for bitmap API

 MAINTAINERS                         |  5 +++
 arch/powerpc/xmon/xmon.c            |  6 +---
 arch/riscv/include/asm/bitops.h     |  4 +--
 arch/s390/kernel/processor.c        |  2 +-
 drivers/net/ethernet/ibm/ibmvnic.c  | 18 ++++++----
 drivers/net/virtio_net.c            | 12 ++++---
 drivers/pci/controller/pci-hyperv.c |  3 +-
 drivers/scsi/lpfc/lpfc.h            | 23 +++---------
 drivers/scsi/lpfc/lpfc_init.c       |  2 +-
 include/linux/bitmap.h              |  8 +++--
 include/linux/bits.h                |  2 +-
 include/linux/cpumask.h             | 71 +++++++++++++++++++++++++------------
 include/linux/objpool.h             |  7 ++--
 include/uapi/linux/bits.h           |  8 ++---
 include/uapi/linux/const.h          |  2 +-
 kernel/padata.c                     |  2 +-
 lib/cpumask.c                       | 37 ++-----------------
 lib/test_bitmap.c                   | 28 ---------------
 rust/bindings/bindings_helper.h     |  1 +
 rust/helpers/cpumask.c              | 45 +++++++++++++++++++++++
 rust/helpers/helpers.c              |  1 +
 tools/include/linux/bits.h          |  2 +-
 tools/include/uapi/linux/const.h    |  2 +-
 23 files changed, 147 insertions(+), 144 deletions(-)
 create mode 100644 rust/helpers/cpumask.c