Re: [PATCH v17 16/19] PCI/CXL: Expose CXL Reset as a PCI reset method
From: Srirangan Madhavan
Date: Fri Nov 20 2026 - 03:21:46 EST
On 11/17/26 9:37 AM, Alison Schofield wrote:
Register cxl_reset with the PCI reset-method interface and place it beforeSame theme, trying to understand -
FLR, which does not reset CXL.cache or CXL.mem protocol state.
Can you clarify when cxl_reset first becomes visible in reset_method
and when it can actually execute? Can userspace initiate reset before
endpoint and region discovery have completed, and is that intentional?
-- Alison
It is listed at device add and can run once the HDM cache exists, so yes,
before discovery completes. That isn't intended for ranges discovery
hasn't resolved. Proposing a fix in my reply to the cover letter: https://lore.kernel.org/linux-cxl/20261105185917.2667656-1-smadhavan@xxxxxxxxxx/T/#m82b76ee0215d67d91f67ec6fa72036615f1adb4f
--
Regards,
Srirangan