[PATCH] powerpc: pci-ioda: Optimize pnv_ioda_pick_m64_pe()

2025-07-19 Thread Yury Norov
bitmap_empty() in pnv_ioda_pick_m64_pe() is O(N) and useless, because the following find_next_bit() does the same work. Drop it, and while there replace a while() loop with the dedicated for_each_set_bit(). Signed-off-by: Yury Norov --- arch/powerpc/platforms/powernv/pci-ioda.c | 18 +--

[PATCH] powerpc/xmon: replace sizeof calculations with ARRAY_SIZE macro

2025-07-19 Thread Ruben Wauters
The calculations for operand/opcode/macro numbers are done in an identical manner to the already existing ARRAY_SIZE macro in linux/array_size.h This patch replaces the sizeof calculations with the macro to make the code cleaner and more immediately obvious what it is doing. Signed-off-by: Ruben

[PATCH net-next v2] ibmveth: Add multi buffers rx replenishment hcall support

2025-07-19 Thread Mingming Cao
This patch enables batched RX buffer replenishment in ibmveth by using the new firmware-supported h_add_logical_lan_buffers() hcall to submit up to 8 RX buffers in a single call, instead of repeatedly calling the single-buffer h_add_logical_lan_buffer() hcall. During the probe, with the patch, th