]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/irdma: Do not set IBK_LOCAL_DMA_LKEY for GEN3+
authorJacob Moroni <jmoroni@google.com>
Tue, 25 Nov 2025 02:53:48 +0000 (20:53 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:19 +0000 (14:03 +0100)
commit951870eee2dc0eb11c6e62fc3fb8e43ec59654c3
tree4882237bf31dfdde7e08d6f669fd9bdf85b69d1c
parentaac0552d66c2cc9fae23d5821ea75f54df94ac49
RDMA/irdma: Do not set IBK_LOCAL_DMA_LKEY for GEN3+

[ Upstream commit eef3ad030b08c0f100cb18de7f604442a1adb8c7 ]

The GEN3 hardware does not appear to support IBK_LOCAL_DMA_LKEY. Attempts
to use it will result in an AE.

Fixes: eb31dfc2b41a ("RDMA/irdma: Restrict Memory Window and CQE Timestamping to GEN3")
Signed-off-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Link: https://patch.msgid.link/20251125025350.180-8-tatyana.e.nikolova@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/irdma/verbs.c