This behavior is needed to conserve power when the CX7 cable is unplugged.
Otherwise, the CX7 controllers would still consume power and negatively impact 
the
board’s overall power consumption.
This driver helps save power when the CX7 cable is absent.

The driver detects cable hot‑plug or unplug events, enables or disables the 
corresponding links,
emits udev events, and then the user space triggers removal and rescanning of 
the PCIe device.

Testing performed includes:
1. Repeated CX7 plug/unplug cycles, verifying that the PCIe link transitions 
correctly.
2. Ensured no side effects or hangs.
3. Hence, regression risk is considered to be low.
4. It is also being tested by SW QA.

Automated testing:
We have included the dgx-spark-mlnx-hotplug package in the BaseOS, which 
provides a
standalone userspace script that can be used for automated testing.
To validate the driver without manual intervention, run the following:
1. Plug-in:
    /opt/nvidia/dgx-spark-mlnx-hotplug/mtk-hotplug-handler.sh plug-in
2. Unplug:
    /opt/nvidia/dgx-spark-mlnx-hotplug/mtk-hotplug-handler.sh removal
3. After each operation, run lspci and verify the results:
    a. When plugged-in: The output should show
    “Ethernet controller: Mellanox Technologies MT2910 Family [ConnectX-7]” 
PCIe devices.
    b. When plugged-out: There should be no PCIe device entry with
    “Ethernet controller: Mellanox Technologies MT2910 Family [ConnectX-7]”.

We plan to upstream this driver during the merge window for the next Linux 
kernel release,
expected to open in the January-February 2026 timeframe(anticipated to be 
kernel 6.20).
Necessary support will be provided.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-nvidia-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2120474

Title:
  mediatek EINT driver for NVIDIA CX7 hotplug management

Status in linux-nvidia-6.11 package in Ubuntu:
  New
Status in linux-nvidia-6.14 package in Ubuntu:
  New

Bug description:
  This driver is used to manage PCIe link for NVIDIA ConnectX-7 (CX7)
  hot-plug/unplug with Mediatek. We need to disable PCIe link when
  CX7 cable plug out happens and enable pcie link when CX7 cable plug in 
happens.

  This driver is needed for 6.11 and 6.14 linux nvidia kernel.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-6.11/+bug/2120474/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to