kernel_samsung_a53x/drivers/infiniband/hw/hns
Xi Wang 725d573b2c RDMA/hns: Add mapped page count checking for MTR
[ Upstream commit 9ea9a53ea93be1cc66729ceb920f0d07285d6bfd ]

Add the mapped page count checking flow to avoid invalid page size when
creating MTR.

Fixes: 38389eaa4db1 ("RDMA/hns: Add mtr support for mixed multihop addressing")
Link: https://lore.kernel.org/r/1612517974-31867-4-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Stable-dep-of: d586628b169d ("RDMA/hns: Fix the overflow risk of hem_list_calc_ba_range()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:25 +01:00
..
hns_roce_ah.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_alloc.c RDMA/hns: Refactor the hns_roce_buf allocation flow 2024-11-19 12:26:58 +01:00
hns_roce_cmd.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_cmd.h RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_common.h RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_cq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_db.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_device.h RDMA/hns: Fix missing pagesize and alignment check in FRMR 2024-11-23 23:20:11 +01:00
hns_roce_hem.c RDMA/hns: Add mapped page count checking for MTR 2024-11-23 23:21:25 +01:00
hns_roce_hem.h RDMA/hns: Use complete parentheses in macros 2024-11-19 12:26:59 +01:00
hns_roce_hw_v1.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_hw_v1.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_hw_v2.c RDMA/hns: Modify the print level of CQE error 2024-11-19 12:26:59 +01:00
hns_roce_hw_v2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_hw_v2_dfx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_main.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_mr.c RDMA/hns: Add mapped page count checking for MTR 2024-11-23 23:21:25 +01:00
hns_roce_pd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_qp.c RDMA/hns: Fix CQ and QP cache affinity 2024-11-19 12:27:20 +01:00
hns_roce_restrack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_srq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00