Re: [PATCH 1/1] RDMA/mlx5: Fix page size bitmap calculation for KSM mode

From: Leon Romanovsky
Date: Tue Sep 09 2025 - 05:51:33 EST



On Sun, 24 Aug 2025 17:48:39 +0300, Edward Srouji wrote:
> When using KSM (Key Scatter-gather Memory) access mode, the HW requires
> the IOVA to be aligned to the selected page size.
> Without this alignment, the HW may not function correctly.
>
> Currently, mlx5_umem_mkc_find_best_pgsz() does not filter out page sizes
> that would result in misaligned IOVAs for KSM mode. This can lead to
> selecting page sizes that are incompatible with the given IOVA.
>
> [...]

Applied, thanks!

[1/1] RDMA/mlx5: Fix page size bitmap calculation for KSM mode
https://git.kernel.org/rdma/rdma/c/f4d365433815fd

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>