From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>, Maor Gottlieb <maorg@nvidia.com>,
Chiara Meiohas <cmeiohas@nvidia.com>,
Mark Bloch <mbloch@nvidia.com>,
Maher Sanalla <msanalla@nvidia.com>,
Patrisious Haddad <phaddad@nvidia.com>,
Edward Srouji <edwards@nvidia.com>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
Michael Gur <michaelgur@nvidia.com>
Subject: Re: [PATCH rdma-next 0/9] RDMA/mlx5: Don't lose port configuration events during probe
Date: Thu, 26 Nov 2026 03:55:29 -0500 [thread overview]
Message-ID: <179568332961.1250082.2132083992228429570.b4-ty@kernel.org> (raw)
In-Reply-To: <20261122-mlx5-port-events-probe-v1-0-0d54e3d53c61@nvidia.com>
On Sun, 22 Nov 2026 19:39:08 +0200, Edward Srouji wrote:
> mlx5_ib registers its event notifier after ib_register_device() and
> dispatches no event until the device is active, so a port
> configuration change that races with probe is lost: ib_core and the
> clients keep what they read. A lost P_Key change leaves ib_sa on a
> stale P_Key index and IPoIB without a carrier for good, as OpenSM
> writes a P_Key block only when it differs from the one on the port.
> This is hit on hypervisor setups, where the SM can program a VF's
> partitions while it probes.
>
> [...]
Applied, thanks!
[1/9] RDMA/mlx5: Validate port number in handle_port_change()
https://git.kernel.org/rdma/rdma/c/b60b42559388d3
[2/9] RDMA/mlx5: Don't let a slave port mark its master active
https://git.kernel.org/rdma/rdma/c/57e8846fbc47fa
[3/9] RDMA/mlx5: Flush system error and slave port event work
https://git.kernel.org/rdma/rdma/c/4104da4f89854a
[4/9] RDMA/core: Derive enforce_security from the cache event
https://git.kernel.org/rdma/rdma/c/5e2c7d3b46a3a2
[5/9] RDMA/core: Add ib_dispatch_event_sync()
https://git.kernel.org/rdma/rdma/c/40fde0fd31f0b1
[6/9] RDMA/mlx5: Pass the port and subtype to handle_port_change()
https://git.kernel.org/rdma/rdma/c/6db275d186dc45
[7/9] RDMA/mlx5: Activate the device in a stage of its own
https://git.kernel.org/rdma/rdma/c/9c31888fdaf66a
[8/9] RDMA/mlx5: Replay port configuration events after probe
https://git.kernel.org/rdma/rdma/c/c32ba2c6e113a6
[9/9] RDMA/mlx5: Register event notifier before IB registration
https://git.kernel.org/rdma/rdma/c/bcfc30f05f9b87
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-11-26 8:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 17:39 Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 1/9] RDMA/mlx5: Validate port number in handle_port_change() Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 2/9] RDMA/mlx5: Don't let a slave port mark its master active Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 3/9] RDMA/mlx5: Flush system error and slave port event work Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 4/9] RDMA/core: Derive enforce_security from the cache event Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 5/9] RDMA/core: Add ib_dispatch_event_sync() Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 6/9] RDMA/mlx5: Pass the port and subtype to handle_port_change() Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 7/9] RDMA/mlx5: Activate the device in a stage of its own Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 8/9] RDMA/mlx5: Replay port configuration events after probe Edward Srouji
2026-11-22 17:39 ` [PATCH rdma-next 9/9] RDMA/mlx5: Register event notifier before IB registration Edward Srouji
2026-11-26 8:55 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179568332961.1250082.2132083992228429570.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=cmeiohas@nvidia.com \
--cc=edwards@nvidia.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=maorg@nvidia.com \
--cc=mbloch@nvidia.com \
--cc=michaelgur@nvidia.com \
--cc=msanalla@nvidia.com \
--cc=phaddad@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®