]> git.itanic.dy.fi Git - linux-stable/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 09:30:04 +0000 (11:30 +0200)
commitc1796dd542590e4122497deada6954990fcccad1
tree8e3b12d00b4c53b4085744f9d4dd25d22efdfb86
parent43245c77d9efd8c9eb91bf225d07954dcf32204d
RDMA/hns: Fix supported page size

[ Upstream commit 55af9d498556f0860eb89ffa7677e8d73f6f643f ]

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

Fixes: cfc85f3e4b7f ("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