This is a note to let you know that I've just added the patch titled RDMA/mana_ib: Allocate PAGE aligned doorbell index to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: rdma-mana_ib-allocate-page-aligned-doorbell-index.patch and it can be found in the queue-6.6 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit ae031e3f5557cd9ad4493fdb764b1c89f7cd549f Author: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx> Date: Wed Feb 5 02:30:05 2025 -0800 RDMA/mana_ib: Allocate PAGE aligned doorbell index [ Upstream commit 29b7bb98234cc287cebef9bccf638c2e3f39be71 ] Allocate a PAGE aligned doorbell index to ensure each process gets a separate PAGE sized doorbell area space remapped to it in mana_ib_mmap Fixes: 0266a177631d ("RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter") Signed-off-by: Shiraz Saleem <shirazsaleem@xxxxxxxxxxxxx> Signed-off-by: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx> Link: https://patch.msgid.link/1738751405-15041-1-git-send-email-kotaranov@xxxxxxxxxxxxxxxxxxx Reviewed-by: Long Li <longli@xxxxxxxxxxxxx> Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/infiniband/hw/mana/main.c b/drivers/infiniband/hw/mana/main.c index 85717482a616e..6fa9b12532997 100644 --- a/drivers/infiniband/hw/mana/main.c +++ b/drivers/infiniband/hw/mana/main.c @@ -180,7 +180,7 @@ static int mana_gd_allocate_doorbell_page(struct gdma_context *gc, req.resource_type = GDMA_RESOURCE_DOORBELL_PAGE; req.num_resources = 1; - req.alignment = 1; + req.alignment = PAGE_SIZE / MANA_PAGE_SIZE; /* Have GDMA start searching from 0 */ req.allocated_resources = 0;