Re: [PATCH v11 08/12] PCI/CXL: Reject CXL Reset on multifunction devices
From: Srirangan Madhavan
Date: Wed Sep 09 2026 - 20:20:35 EST
On 9/4/26 2:26 AM, Richard Cheng wrote:
+ if (pdev->multifunction)Hmm a PF can have a single-function PCI header while having many enabled VFs,
+ return -ENOTTY;
+
if (probe)
return 0;
and VFs enablement can change after reset-method probing.
Since CXL Reset can affect VFs, do we have the mechanism to quiescie all VF?
Best regards,
Richard Cheng.
I see the issue.
In V12, it now conservatively rejects CXL Reset when either pdev->multifunction is set or pci_num_vf(pdev) reports enabled VFs. The check is repeated when the reset executes, so VFs enabled after reset-method probing are also caught. These changes do not attempt to quiesce active VFs.
--
Regards,
Srirangan