summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorArtemy Kovalyov <artemyko@mellanox.com>2018-11-25 21:34:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-17 11:28:51 +0300
commit8f859b2729e980d511f29a68c3474aa27ead72b7 (patch)
tree04d704d0c41efe50ca8330bb1897b1642a09f285 /arch/x86
parent97f048033a07b199b98d5e8f10f1022f10d42ed4 (diff)
downloadlinux-8f859b2729e980d511f29a68c3474aa27ead72b7.tar.xz
IB/mlx5: Fix page fault handling for MW
[ 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 the last. The offset calculated during this process has to be zeroed after the first iteration or the next iteration will start from a wrong address, resulting incorrect ODP faulting behavior. Fixes: db570d7deafb ("IB/mlx5: Add ODP support to MW") Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions