summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2024-09-27 18:33:23 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:02:02 +0100
commit7d9616110b5e38d039b0b4e24a9cd1733c8da163 (patch)
treefea087b6a4bb9a74e8571432f235be91275b0713 /rust/kernel/alloc
parent86092a4e46d161d24f8106df082e24b8efe87382 (diff)
downloadlinux-7d9616110b5e38d039b0b4e24a9cd1733c8da163.tar.gz
linux-7d9616110b5e38d039b0b4e24a9cd1733c8da163.tar.bz2
linux-7d9616110b5e38d039b0b4e24a9cd1733c8da163.zip
RDMA/hns: Disassociate mmap pages for all uctx when HW is being reset
[ Upstream commit 615b94746a54702af923b28bd8a629f4ac0ff0d8 ] When HW is being reset, userspace should not ring doorbell otherwise it may lead to abnormal consequence such as RAS. Disassociate mmap pages for all uctx to prevent userspace from ringing doorbell to HW. Since all resources will be destroyed during HW reset, no new mmap is allowed after HW reset is completed. Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver") Signed-off-by: Chengchang Tang <tangchengchang@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20240927103323.1897094-3-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions