aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_hem.c
diff options
context:
space:
mode:
authorXi Wang <wangxi11@huawei.com>2021-05-21 17:29:53 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-05-28 20:13:57 -0300
commit5e6370d7cc75134b0eb5b15916aab40b628db9e1 (patch)
tree03c026a0e79af755bf526f83a3bd41d11d36ef22 /drivers/infiniband/hw/hns/hns_roce_hem.c
parentRDMA/hns: Refactor root BT allocation for MTR (diff)
downloadlinux-dev-5e6370d7cc75134b0eb5b15916aab40b628db9e1.tar.xz
linux-dev-5e6370d7cc75134b0eb5b15916aab40b628db9e1.zip
RDMA/hns: Fix wrong timer context buffer page size
The HEM page size for QPC timer and CQC timer is always 4K and there's no need to calculate a different size by the hns driver, otherwise the ROCEE may access an invalid address. Fixes: 719d13415f59 ("RDMA/hns: Remove duplicated hem page size config code") Link: https://lore.kernel.org/r/1621589395-2435-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>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hem.c')
0 files changed, 0 insertions, 0 deletions