]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RDMA/hns: Modify the mapping attribute of doorbell to device
authorYixing Liu <liuyixing1@huawei.com>
Mon, 6 Dec 2021 13:36:52 +0000 (21:36 +0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 28 Jan 2022 10:03:23 +0000 (11:03 +0100)
commit0fe81502ac199fbb5e5697dc58ee71c09af5fe71
tree708cb20560f752e329fa68ffe2af549a2c685a85
parent2d3c0d4f7c1c00c4e65ca0920860902b767d8ae6
RDMA/hns: Modify the mapping attribute of doorbell to device

BugLink: https://bugs.launchpad.net/bugs/1959376
commit 39d5534b1302189c809e90641ffae8cbdc42a8fc upstream.

It is more general for ARM device drivers to use the device attribute to
map PCI BAR spaces.

Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Link: https://lore.kernel.org/r/20211206133652.27476-1-liangwenpeng@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/infiniband/hw/hns/hns_roce_main.c