mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alison Schofield <alison.schofield@intel.com>
To: Srirangan Madhavan <smadhavan@nvidia.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	Dave Jiang <dave.jiang@intel.com>,
	Davidlohr Bueso <dave@stgolabs.net>,
	Ira Weiny <ira.weiny@intel.com>,
	Jonathan Cameron <jic23@kernel.org>,
	Vishal Verma <vishal.l.verma@intel.com>,
	<linux-cxl@vger.kernel.org>, <linux-pci@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	Alex Williamson <alex.williamson@redhat.com>, <vsethi@nvidia.com>,
	<alwilliamson@nvidia.com>,
	Sai Yashwanth Reddy Kancherla <skancherla@nvidia.com>,
	Vishal Aslot <vaslot@nvidia.com>,
	Manish Honap <mhonap@nvidia.com>, Jiandi An <jan@nvidia.com>,
	Richard Cheng <icheng@nvidia.com>, <linux-tegra@vger.kernel.org>
Subject: Re: [PATCH v14 14/16] cxl: Restore CXL state after PCI reset
Date: Wed, 7 Oct 2026 12:49:21 -0700	[thread overview]
Message-ID: <asaiQT6AwQ4Oaca5@aschofie-mobl2.lan> (raw)
In-Reply-To: <20261001092227.3004747-15-smadhavan@nvidia.com>

On Thu, Oct 01, 2026 at 09:22:25AM +0000, Srirangan Madhavan wrote:
> Restore the PCI configuration needed for HDM access, followed by cached
> HDM decoder and CXL Device DVSEC state. Recommit a cleared locked decoder
> before restoring its lock, but leave surviving locked state unchanged.
> 
> Stop at the first restoration failure and preserve a disabled PCI command
> snapshot. Keep IOMMU exclusion active through restoration and post-reset
> cache invalidation.
> 
> Signed-off-by: Srirangan Madhavan <smadhavan@nvidia.com>
> ---
>  drivers/cxl/core/resource.c | 418 +++++++++++++++++++++++++++++++++---
>  1 file changed, 392 insertions(+), 26 deletions(-)
> 
> diff --git a/drivers/cxl/core/resource.c b/drivers/cxl/core/resource.c
> index 679a605da24c..0acc471d0d7e 100644
> --- a/drivers/cxl/core/resource.c
> +++ b/drivers/cxl/core/resource.c
> @@ -13,6 +13,7 @@
>  #include <linux/kernel.h>
>  #include <linux/list.h>
>  #include <linux/memregion.h>
> +#include <linux/overflow.h>
>  #include <linux/pci.h>
>  #include <linux/slab.h>
>  
> @@ -83,6 +84,26 @@ int cxld_await_commit(void __iomem *hdm, int id)
>  }
>  EXPORT_SYMBOL_FOR_MODULES(cxld_await_commit, "cxl_core");
>  
> +static int cxld_await_uncommit(void __iomem *hdm, int id)
> +{
> +	u32 ctrl;
> +	int i;
> +
> +	for (i = 0; i < COMMIT_TIMEOUT_MS; i++) {
> +		ctrl = readl(hdm + CXL_HDM_DECODER0_CTRL_OFFSET(id));
> +		if (FIELD_GET(CXL_HDM_DECODER0_CTRL_COMMIT_ERROR, ctrl)) {
> +			ctrl &= ~CXL_HDM_DECODER0_CTRL_COMMIT;
> +			writel(ctrl, hdm + CXL_HDM_DECODER0_CTRL_OFFSET(id));
> +			return -EIO;
> +		}
> +		if (!FIELD_GET(CXL_HDM_DECODER0_CTRL_COMMITTED, ctrl))
> +			return 0;
> +		fsleep(1000);
> +	}
> +
> +	return -ETIMEDOUT;
> +}
> +
>  static void setup_hw_decoder(void __iomem *hdm,
>  			     struct cxl_decoder_settings *settings)
>  {
> @@ -448,6 +469,335 @@ void pci_cxl_hdm_cache_release(struct pci_dev *pdev)
>  	kfree(info);
>  }
>  
> +static void __iomem *cxl_pci_hdm_ioremap_current(struct pci_dev *pdev,
> +						 int bar,
> +						 resource_size_t offset,
> +						 resource_size_t size)
> +{
> +	struct resource *res;
> +	resource_size_t hdm_start;
> +	void __iomem *hdm;
> +
> +	if (bar < 0 || bar >= PCI_STD_NUM_BARS || !size)
> +		return ERR_PTR(-EINVAL);
> +
> +	res = &pdev->resource[bar];
> +	if (!pci_resource_len(pdev, bar) ||
> +	    (res->flags & (IORESOURCE_UNSET | IORESOURCE_DISABLED)) ||
> +	    resource_type(res) != IORESOURCE_MEM || !res->start || !res->end)
> +		return ERR_PTR(-ENODEV);
> +	if (offset > resource_size(res) || size > resource_size(res) - offset)
> +		return ERR_PTR(-ENODEV);
> +	if (check_add_overflow(res->start, offset, &hdm_start))
> +		return ERR_PTR(-EOVERFLOW);
> +
> +	hdm = ioremap(hdm_start, size);
> +	if (!hdm) {
> +		pci_err(pdev, "failed to remap CXL HDM decoder registers\n");
> +		return ERR_PTR(-ENOMEM);
> +	}
> +
> +	return hdm;
> +}
> +
> +static int cxl_hdm_decoder_uncommit(struct pci_dev *pdev, void __iomem *hdm,
> +				    int id, bool *retained)
> +{

Srirangan,

Same concern here about threading struct pci_dev through the HDM machinery.
This helper is an HDM-register operation. The PCI device is only needed for
the error messages. Could the register/state helpers stay independent of
struct pci_dev, with the PCI-facing caller responsible for reporting the failure?

Otherwise pdev starts propagating through the entire restore stack even
though most of that stack is not inherently PCI-specific.
- ie cxl_restore_hdm_state() and cxl_restore_hdm_decoder()

-- Alison




> +	u32 ctrl;
> +	int rc;
> +
> +	*retained = false;
> +	ctrl = readl(hdm + CXL_HDM_DECODER0_CTRL_OFFSET(id));
> +	if (PCI_POSSIBLE_ERROR(ctrl))
> +		return -EIO;
> +	if (ctrl & CXL_HDM_DECODER0_CTRL_COMMIT_ERROR) {
> +		pci_err(pdev, "CXL HDM decoder %d has commit error set\n", id);
> +		return -EIO;
> +	}
> +
> +	if (ctrl & CXL_HDM_DECODER0_CTRL_LOCK) {
> +		if (ctrl & CXL_HDM_DECODER0_CTRL_COMMITTED) {
> +			*retained = true;
> +			return 0;
> +		}
> +
> +		pci_err(pdev, "CXL HDM decoder %d is locked and uncommitted\n",
> +			id);
> +		return -EIO;
> +	}
> +
> +	if (!(ctrl & CXL_HDM_DECODER0_CTRL_COMMITTED))
> +		return 0;
> +
> +	ctrl &= ~CXL_HDM_DECODER0_CTRL_COMMIT;
> +	writel(ctrl, hdm + CXL_HDM_DECODER0_CTRL_OFFSET(id));
> +
> +	rc = cxld_await_uncommit(hdm, id);
> +	if (rc)
> +		pci_err(pdev, "CXL HDM decoder %d uncommit failed: %d\n", id,
> +			rc);
> +
> +	return rc;
> +}
> +
> +static bool cxl_hdm_decoder_settings_match(
> +	const struct cxl_decoder_settings *saved,
> +	const struct cxl_decoder_settings *active)
> +{
> +	const struct cxl_decoder_config *a = &saved->config;
> +	const struct cxl_decoder_config *b = &active->config;
> +
> +	return a->id == b->id &&
> +	       a->hpa_range.start == b->hpa_range.start &&
> +	       a->hpa_range.end == b->hpa_range.end &&
> +	       a->interleave_ways == b->interleave_ways &&
> +	       a->interleave_granularity == b->interleave_granularity &&
> +	       a->target_type == b->target_type &&
> +	       (a->flags & CXL_DECODER_F_RESET_MASK) ==
> +		(b->flags & CXL_DECODER_F_RESET_MASK) &&
> +	       saved->target_or_skip_reg_val == active->target_or_skip_reg_val;
> +}
> +
> +static int cxl_restore_hdm_decoder_commit(
> +	void __iomem *hdm, struct cxl_decoder_settings *settings)
> +{
> +	guard(rwsem_read)(&cxl_rwsem.dpa);
> +
> +	cxl_commit_start(hdm, settings);
> +	return cxld_await_commit(hdm, settings->config.id);
> +}
> +
> +static int cxl_restore_hdm_decoder(struct pci_dev *pdev, void __iomem *hdm,
> +				   struct cxl_decoder_settings *settings)
> +{
> +	struct cxl_decoder_config *config = &settings->config;
> +	bool retained;
> +	u32 ctrl;
> +	int rc;
> +
> +	rc = cxl_hdm_decoder_uncommit(pdev, hdm, config->id, &retained);
> +	if (rc)
> +		return rc;
> +
> +	if (retained) {
> +		struct cxl_decoder_settings active;
> +
> +		rc = cxl_pci_hdm_read_decoder(pdev, &active, hdm,
> +					      config->id);
> +		if (rc)
> +			return rc;
> +		if (!cxl_hdm_decoder_settings_match(settings, &active)) {
> +			pci_err(pdev,
> +				"CXL HDM decoder %d retained unexpected locked state\n",
> +				config->id);
> +			return -EIO;
> +		}
> +		return 0;
> +	}
> +
> +	if (!(config->flags & CXL_DECODER_F_ENABLE))
> +		return 0;
> +
> +	rc = cxl_restore_hdm_decoder_commit(hdm, settings);
> +	if (rc) {
> +		pci_err(pdev, "CXL HDM decoder %d restore failed: %d\n",
> +			config->id, rc);
> +		return rc;
> +	}
> +
> +	if (!(config->flags & CXL_DECODER_F_LOCK))
> +		return 0;
> +
> +	ctrl = readl(hdm + CXL_HDM_DECODER0_CTRL_OFFSET(config->id));
> +	if (PCI_POSSIBLE_ERROR(ctrl))
> +		return -EIO;
> +	ctrl |= CXL_HDM_DECODER0_CTRL_LOCK;
> +	writel(ctrl, hdm + CXL_HDM_DECODER0_CTRL_OFFSET(config->id));
> +
> +	ctrl = readl(hdm + CXL_HDM_DECODER0_CTRL_OFFSET(config->id));
> +	if (PCI_POSSIBLE_ERROR(ctrl) ||
> +	    !(ctrl & CXL_HDM_DECODER0_CTRL_LOCK)) {
> +		pci_err(pdev, "CXL HDM decoder %d failed to restore lock\n",
> +			config->id);
> +		return -EIO;
> +	}
> +
> +	return 0;
> +}
> +
> +static int cxl_snapshot_hdm(struct pci_dev *pdev,
> +			    struct cxl_hdm_info **snapshot)
> +{
> +	struct cxl_hdm_info *info;
> +	size_t size;
> +
> +	guard(rwsem_read)(&cxl_rwsem.dpa);
> +	info = pdev->hdm;
> +	if (!info)
> +		return -ENXIO;
> +	if (info->decoder_count <= 0)
> +		return -EINVAL;
> +
> +	size = struct_size(info, settings, info->decoder_count);
> +	if (size == SIZE_MAX)
> +		return -EOVERFLOW;
> +	*snapshot = kmemdup(info, size, GFP_KERNEL);
> +	if (!*snapshot)
> +		return -ENOMEM;
> +
> +	return 0;
> +}
> +
> +static void cxl_restore_pci_state_for_hdm_restore(struct pci_dev *pdev,
> +						  u16 *command)
> +{
> +	u32 saved_config = pdev->saved_config_space[PCI_COMMAND / 4];
> +	u32 restore_config;
> +
> +	device_lock_assert(&pdev->dev);
> +	*command = saved_config & 0xffff;
> +
> +	/*
> +	 * pci_restore_state() is the available interface for restoring BARs and
> +	 * related PCI state needed to reach HDM MMIO. Temporarily alter its saved
> +	 * command value so that it enables MSE but cannot enable BME or INTx
> +	 * before CXL state restoration completes. Preserve the original saved
> +	 * value for the outer PCI reset path.
> +	 */
> +	restore_config = saved_config | PCI_COMMAND_MEMORY |
> +			 PCI_COMMAND_INTX_DISABLE;
> +	restore_config &= ~PCI_COMMAND_MASTER;
> +
> +	pdev->saved_config_space[PCI_COMMAND / 4] = restore_config;
> +	pci_restore_state(pdev);
> +	pdev->saved_config_space[PCI_COMMAND / 4] = saved_config;
> +}
> +
> +static int cxl_restore_dvsec_ctrl(struct pci_dev *pdev, u16 saved_ctrl)
> +{
> +	int dvsec;
> +	int rc;
> +
> +	dvsec = pci_find_dvsec_capability(pdev, PCI_VENDOR_ID_CXL,
> +					  PCI_DVSEC_CXL_DEVICE);
> +	if (!dvsec)
> +		return -ENOTTY;
> +
> +	rc = pci_write_config_word(pdev, dvsec + PCI_DVSEC_CXL_CTRL,
> +				   saved_ctrl);
> +	if (rc)
> +		return pcibios_err_to_errno(rc);
> +
> +	return 0;
> +}
> +
> +static int cxl_restore_hdm_state(struct pci_dev *pdev, void __iomem *hdm,
> +				 struct cxl_hdm_info *snapshot)
> +{
> +	int count;
> +	int rc;
> +
> +	count = cxl_hdm_decoder_count(readl(hdm + CXL_HDM_DECODER_CAP_OFFSET));
> +	if (count != snapshot->decoder_count) {
> +		pci_err(pdev, "CXL HDM decoder count changed from %d to %d\n",
> +			snapshot->decoder_count, count);
> +		return -ENXIO;
> +	}
> +
> +	/* Restore global HDM control before committing individual decoders. */
> +	writel(snapshot->global_ctrl, hdm + CXL_HDM_DECODER_CTRL_OFFSET);
> +
> +	for (int i = 0; i < snapshot->decoder_count; i++) {
> +		rc = cxl_restore_hdm_decoder(pdev, hdm,
> +					     &snapshot->settings[i]);
> +		if (rc)
> +			return rc;
> +	}
> +
> +	/* Flush posted HDM writes before restoring protocol enables. */
> +	readl(hdm + CXL_HDM_DECODER_CTRL_OFFSET);
> +
> +	return 0;
> +}
> +
> +static int cxl_restore_state(struct pci_dev *pdev,
> +			     struct cxl_hdm_info *snapshot)
> +{
> +	void __iomem *hdm;
> +	int rc;
> +
> +	hdm = cxl_pci_hdm_ioremap_current(pdev, snapshot->hdm_bar,
> +					  snapshot->hdm_offset,
> +					  snapshot->hdm_size);
> +	if (IS_ERR(hdm)) {
> +		pci_err(pdev, "failed to map CXL HDM state for restore: %ld\n",
> +			PTR_ERR(hdm));
> +		return PTR_ERR(hdm);
> +	}
> +
> +	rc = cxl_restore_hdm_state(pdev, hdm, snapshot);
> +	iounmap(hdm);
> +	if (rc)
> +		return rc;
> +
> +	if (!snapshot->dvsec_ctrl_valid) {
> +		pci_err(pdev, "CXL DVSEC control snapshot is invalid\n");
> +		return -ENXIO;
> +	}
> +	rc = cxl_restore_dvsec_ctrl(pdev, snapshot->dvsec_ctrl);
> +	if (rc)
> +		pci_err(pdev, "failed to restore CXL DVSEC control: %d\n", rc);
> +
> +	return rc;
> +}
> +
> +static void cxl_reset_save_disabled_state(struct pci_dev *pdev)
> +{
> +	u32 *saved_command = &pdev->saved_config_space[PCI_COMMAND / 4];
> +	int rc;
> +
> +	rc = pci_write_config_word(pdev, PCI_COMMAND, PCI_COMMAND_INTX_DISABLE);
> +	if (rc)
> +		pci_err(pdev,
> +			"failed to disable device after CXL reset failure: %d\n",
> +			pcibios_err_to_errno(rc));
> +
> +	/* Preserve the pre-reset snapshot if PCI state has not been restored. */
> +	if (!pdev->state_saved) {
> +		rc = pci_save_state(pdev);
> +		if (rc)
> +			pci_err(pdev,
> +				"failed to save disabled state after CXL reset failure: %d\n",
> +				rc);
> +	}
> +
> +	/* Ensure the outer PCI restore cannot re-enable MSE or BME. */
> +	*saved_command &= GENMASK(31, 16);
> +	*saved_command |= PCI_COMMAND_INTX_DISABLE;
> +}
> +
> +static int cxl_reset_save_restored_state(struct pci_dev *pdev, u16 command)
> +{
> +	int rc;
> +
> +	rc = pci_write_config_word(pdev, PCI_COMMAND, command);
> +	if (rc) {
> +		rc = pcibios_err_to_errno(rc);
> +		pci_err(pdev, "failed to restore PCI command state: %d\n", rc);
> +		cxl_reset_save_disabled_state(pdev);
> +		return rc;
> +	}
> +
> +	rc = pci_save_state(pdev);
> +	if (rc) {
> +		pci_err(pdev, "failed to save restored state after CXL reset: %d\n",
> +			rc);
> +		cxl_reset_save_disabled_state(pdev);
> +	}
> +
> +	return rc;
> +}
> +
>  /*
>   * CXL r4.0 sec 9.7.2 defines the reset completion timeout encodings.
>   * Sec 9.7.3 leaves config-space access behavior undefined for 100 ms after
> @@ -814,7 +1164,9 @@ static int cxl_clear_memory(struct pci_dev *pdev, int dvsec, bool initiate)
>  }
>  
>  static int __cxl_reset_execute(struct pci_dev *pdev, int dvsec, u16 cap,
> -			      struct cxl_hdm_range_context *range_ctx)
> +			      struct cxl_hdm_info *snapshot,
> +			      struct cxl_hdm_range_context *range_ctx,
> +			      u16 *command)
>  {
>  	int rc, rc2;
>  
> @@ -839,42 +1191,69 @@ static int __cxl_reset_execute(struct pci_dev *pdev, int dvsec, u16 cap,
>  		pci_err(pdev, "failed to clear CXL Reset Memory Clear: %d\n", rc2);
>  	rc = rc ?: rc2;
>  
> +	if (!rc) {
> +		cxl_restore_pci_state_for_hdm_restore(pdev, command);
> +		rc = cxl_restore_state(pdev, snapshot);
> +	}
> +
>  	/* Evict lines fetched during reset before ending DMA exclusion. */
>  	rc2 = cxl_hdm_ranges_invalidate(range_ctx);
>  	rc = rc ?: rc2;
> +	if (rc)
> +		cxl_reset_save_disabled_state(pdev);
>  
>  	pci_dev_reset_iommu_done(pdev);
>  	return rc;
>  }
>  
> -static int cxl_reset_execute(struct pci_dev *pdev, int dvsec, u16 cap,
> -			     struct cxl_hdm_range_context *range_ctx)
> +static int cxl_reset_execute(struct pci_dev *pdev, int dvsec, u16 cap)
>  {
> -	u16 saved_ctrl2;
> +	struct cxl_hdm_info *snapshot = NULL;
> +	struct cxl_hdm_range_context range_ctx;
> +	u16 command, saved_ctrl2;
>  	int rc, rc2;
>  
> +	guard(rwsem_write)(&cxl_rwsem.region);
>  	rc = pci_read_config_word(pdev, dvsec + PCI_DVSEC_CXL_CTRL2, &saved_ctrl2);
>  	if (rc)
> -		rc = pcibios_err_to_errno(rc);
> -	else if (PCI_POSSIBLE_ERROR(saved_ctrl2))
> -		rc = -ENODEV;
> +		return pcibios_err_to_errno(rc);
> +	if (PCI_POSSIBLE_ERROR(saved_ctrl2))
> +		return -ENODEV;
> +
> +	INIT_LIST_HEAD(&range_ctx.ranges);
> +
> +	rc = cxl_hdm_ranges_prepare(&range_ctx, pdev);
> +	if (rc) {
> +		cxl_hdm_range_context_destroy(&range_ctx);
> +		return rc;
> +	}
> +
> +	rc = cxl_snapshot_hdm(pdev, &snapshot);
>  	if (rc) {
> -		cxl_hdm_range_context_destroy(range_ctx);
> +		cxl_hdm_range_context_destroy(&range_ctx);
>  		return rc;
>  	}
>  
>  	rc = cxl_reset_disable_cache(pdev, dvsec, cap);
>  	if (!rc)
> -		rc = __cxl_reset_execute(pdev, dvsec, cap, range_ctx);
> +		rc = __cxl_reset_execute(pdev, dvsec, cap, snapshot, &range_ctx,
> +					 &command);
>  	/* Restore cache policy after any attempt to disable caching. */
>  	rc2 = cxl_reset_restore_cache_policy(pdev, dvsec, saved_ctrl2);
> -	cxl_hdm_range_context_destroy(range_ctx);
> -	return rc ?: rc2;
> +	kfree(snapshot);
> +	cxl_hdm_range_context_destroy(&range_ctx);
> +	if (rc)
> +		return rc;
> +	if (rc2) {
> +		cxl_reset_save_disabled_state(pdev);
> +		return rc2;
> +	}
> +
> +	return cxl_reset_save_restored_state(pdev, command);
>  }
>  
>  int cxl_reset_function(struct pci_dev *pdev, bool probe)
>  {
> -	struct cxl_hdm_range_context range_ctx;
>  	int dvsec, rc;
>  	u16 cap, ctrl;
>  
> @@ -917,18 +1296,5 @@ int cxl_reset_function(struct pci_dev *pdev, bool probe)
>  	if (!cpu_cache_has_invalidate_memregion())
>  		return -ENOTTY;
>  
> -	INIT_LIST_HEAD(&range_ctx.ranges);
> -
> -	scoped_guard(rwsem_write, &cxl_rwsem.region) {
> -		rc = cxl_hdm_ranges_prepare(&range_ctx, pdev);
> -		if (rc) {
> -			cxl_hdm_range_context_destroy(&range_ctx);
> -			return rc;
> -		}
> -
> -		/* cxl_reset_execute() releases the ranges on success and failure. */
> -		rc = cxl_reset_execute(pdev, dvsec, cap, &range_ctx);
> -	}
> -
> -	return rc;
> +	return cxl_reset_execute(pdev, dvsec, cap);
>  }
> -- 
> 2.43.0
> 

  reply	other threads:[~2026-10-07 19:49 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-01  9:22 [PATCH v14 00/16] PCI/CXL: Add CXL reset support for Type 2 devices Srirangan Madhavan
2026-10-01  9:22 ` [PATCH v14 01/16] cxl: Drop stale decoder interleave limit comment Srirangan Madhavan
2026-10-02  9:33   ` Richard Cheng
2026-10-07 12:07   ` Li Ming
2026-10-01  9:22 ` [PATCH v14 02/16] cxl: Share CXL port upstream PCI device lookup Srirangan Madhavan
2026-10-02  9:48   ` Richard Cheng
2026-10-07 12:22   ` Li Ming
2026-10-01  9:22 ` [PATCH v14 03/16] cxl: Move decoder declarations to shared header Srirangan Madhavan
2026-10-02  9:49   ` Richard Cheng
2026-10-07 12:29   ` Li Ming
2026-10-01  9:22 ` [PATCH v14 04/16] cxl: Embed decoder configuration in a standalone structure Srirangan Madhavan
2026-10-02 10:17   ` Richard Cheng
2026-10-02 19:07   ` Dave Jiang
2026-10-07 12:34   ` Li Ming
2026-10-01  9:22 ` [PATCH v14 05/16] cxl: Introduce reusable HDM decoder settings Srirangan Madhavan
2026-10-02 19:59   ` Dave Jiang
2026-10-07 13:12     ` Li Ming
2026-10-07 16:23       ` Dave Jiang
2026-10-01  9:22 ` [PATCH v14 06/16] cxl: Move HDM decoder helpers to built-in resource code Srirangan Madhavan
2026-10-05 21:42   ` Dave Jiang
2026-10-01  9:22 ` [PATCH v14 07/16] cxl: Share HDM decoder register unpacking Srirangan Madhavan
2026-10-02 21:46   ` Dave Jiang
2026-10-01  9:22 ` [PATCH v14 08/16] cxl: Reject overflowing HDM decoder ranges Srirangan Madhavan
2026-10-02 21:50   ` Dave Jiang
2026-10-01  9:22 ` [PATCH v14 09/16] cxl: Refresh cached PCI HDM decoder settings Srirangan Madhavan
2026-10-02 23:57   ` Dave Jiang
2026-10-01  9:22 ` [PATCH v14 10/16] cxl: Cache endpoint HDM state during PCI enumeration Srirangan Madhavan
2026-10-06 15:39   ` Dave Jiang
2026-10-07 19:37     ` Alison Schofield
2026-10-01  9:22 ` [PATCH v14 11/16] cxl: Add CXL Device Reset sequencing Srirangan Madhavan
2026-10-01  9:22 ` [PATCH v14 12/16] cxl: Validate and synchronize HDM ranges around reset Srirangan Madhavan
2026-10-02  8:06   ` Richard Cheng
2026-10-07 19:44   ` Alison Schofield
2026-10-01  9:22 ` [PATCH v14 13/16] PCI/CXL: Reject reset with unsafe function scope Srirangan Madhavan
2026-10-01  9:22 ` [PATCH v14 14/16] cxl: Restore CXL state after PCI reset Srirangan Madhavan
2026-10-07 19:49   ` Alison Schofield [this message]
2026-10-01  9:22 ` [PATCH v14 15/16] PCI/CXL: Expose CXL Reset as a PCI reset method Srirangan Madhavan
2026-10-01  9:22 ` [PATCH v14 16/16] PCI/CXL: Restore CXL state after CXL bus reset Srirangan Madhavan

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=asaiQT6AwQ4Oaca5@aschofie-mobl2.lan \
    --to=alison.schofield@intel.com \
    --cc=alex.williamson@redhat.com \
    --cc=alwilliamson@nvidia.com \
    --cc=bhelgaas@google.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=icheng@nvidia.com \
    --cc=ira.weiny@intel.com \
    --cc=jan@nvidia.com \
    --cc=jic23@kernel.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mhonap@nvidia.com \
    --cc=skancherla@nvidia.com \
    --cc=smadhavan@nvidia.com \
    --cc=vaslot@nvidia.com \
    --cc=vishal.l.verma@intel.com \
    --cc=vsethi@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®