[PATCH v2 0/4] ice: use better bitmap API

Yury Norov
2026-03-02T01:12:10Z

Use better bitmap API where appropriate. Patches #3,4 may be applied
separately.

v1: https://lore.kernel.org/all/20251223162303.434659-1-yury.norov@gmail.com/
v2:
- new v2#4;
- add documentation line (Simon);

Yury Norov (4):
bitmap: introduce bitmap_weighted_xor()
ice: use bitmap_weighted_xor() in ice_find_free_recp_res_idx()
ice: use bitmap_empty() in ice_vf_has_no_qs_ena
drm/xe: switch xe_pagefault_queue_init() to using bitmap_weighted_or()

drivers/gpu/drm/xe/xe_pagefault.c | 3 +--
drivers/net/ethernet/intel/ice/ice_switch.c | 4 +---
drivers/net/ethernet/intel/ice/ice_vf_lib.c | 4 ++--
include/linux/bitmap.h | 15 +++++++++++++++
lib/bitmap.c | 7 +++++++
5 files changed, 26 insertions(+), 7 deletions(-)

--
2.43.0