]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Fix supported page size
authorChengchang Tang <tangchengchang@huawei.com>
Mon, 29 Aug 2022 10:50:18 +0000 (18:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 10:04:55 +0000 (12:04 +0200)
commit7b1a7a9311a15916a83a93aba20d1c3ded1da311
tree5e144746b3457e01f9165b99ca89a981448a22ee
parentbe10eb5c44a3492b27f8dd374e277bd7aaab6cfa
RDMA/hns: Fix supported page size

[ Upstream commit 2577b0f9d5596012d365935c8d92dd66ba9cbcf4 ]

The supported page size for hns is (4K, 128M), not (4K, 2G).

Fixes: 357d17b97cbb ("RDMA/hns: Add profile support for hip08 driver")
Link: https://lore.kernel.org/r/20220829105021.1427804-2-liangwenpeng@huawei.com
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.h