On Fri, 27 Sep 2024 18:33:21 +0800, Junxian Huang wrote:
> Provide an API rdma_user_mmap_disassociate() for drivers to disassociate
> mmap pages. Use this API in hns to prevent userspace from ringing doorbell
> when HW is reset.
>
> v5 -> v6:
> * Fix build warning of unused label in patch #1
> * inline the call to rdma_user_mmap_disassociate() in patch #2
>
> [...]
Applied, thanks!
[1/2] RDMA/core: Provide rdma_user_mmap_disassociate() to disassociate mmap pages
https://git.kernel.org/rdma/rdma/c/4fea8bfc11b2fc
[2/2] RDMA/hns: Disassociate mmap pages for all uctx when HW is being reset
https://git.kernel.org/rdma/rdma/c/23ab1cdca331e1
Best regards,
--
Leon Romanovsky <leon@kernel.org>