]> 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:32:04 +0000 (11:32 +0200)
commitb2e82e325a847c9d37aea33db5aac19215cce589
tree8ed27ba26255226db0a94aad8bf8ec2bd905de24
parent6dc0251638a4a1a998506dbd4627f8317e907558
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