Use cleanup functionality and better bitmap API in the function v1: https://lore.kernel.org/all/20250720010552.427903-1-yury.no...@gmail.com/ v2: - add patch v2#1 that switches the function to bitmap_alloc() and clenup engine (Jiri);
Yury Norov (NVIDIA) (2): powerpc: pci-ioda: use bitmap_alloc() in pnv_ioda_pick_m64_pe() powerpc: pci-ioda: Optimize pnv_ioda_pick_m64_pe() arch/powerpc/platforms/powernv/pci-ioda.c | 27 +++++++---------------- 1 file changed, 8 insertions(+), 19 deletions(-) -- 2.43.0