summaryrefslogtreecommitdiff
path: root/drivers/comedi
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2024-09-27 18:33:23 +0800
committerLeon Romanovsky <leon@kernel.org>2024-10-07 08:53:23 +0300
commit615b94746a54702af923b28bd8a629f4ac0ff0d8 (patch)
tree34fc00c2942cb684280f008f959ad5382f438746 /drivers/comedi
parent51976c6cd786151b6a1bdf8b8b3334beac0ba99c (diff)
RDMA/hns: Disassociate mmap pages for all uctx when HW is being reset
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>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions