kernel_samsung_a53x/drivers/infiniband
Chengchang Tang 99134793fe RDMA/hns: Fix missing pagesize and alignment check in FRMR
[ Upstream commit d387d4b54eb84208bd4ca13572e106851d0a0819 ]

The offset requires 128B alignment and the page size ranges from
4K to 128M.

Fixes: 68a997c5d28c ("RDMA/hns: Add FRMR support for hip08")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240710133705.896445-5-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:11 +01:00
..
core RDMA/device: Return error earlier if port in not valid 2024-11-23 23:20:10 +01:00
hw RDMA/hns: Fix missing pagesize and alignment check in FRMR 2024-11-23 23:20:11 +01:00
sw RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs 2024-11-23 23:20:10 +01:00
ulp RDMA/IPoIB: Fix format truncation compilation errors 2024-11-19 12:27:00 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00