[PATCH AUTOSEL 4.19 076/123] IB/mlx5: Fix page fault handling for MW

2018-12-05 Thread Sasha Levin
From: Artemy Kovalyov [ Upstream commit 75b7b86bdb0df37e08e44b6c1f99010967f81944 ] Memory windows are implemented with an indirect MKey, when a page fault event comes for a MW Mkey we need to find the MR at the end of the list of the indirect MKeys by iterating on all items from the first to

[PATCH AUTOSEL 4.19 076/123] IB/mlx5: Fix page fault handling for MW

2018-12-05 Thread Sasha Levin
From: Artemy Kovalyov [ Upstream commit 75b7b86bdb0df37e08e44b6c1f99010967f81944 ] Memory windows are implemented with an indirect MKey, when a page fault event comes for a MW Mkey we need to find the MR at the end of the list of the indirect MKeys by iterating on all items from the first to