From: "Dan Williams (nvidia)" <djbw@kernel.org>
To: "Dan Williams (nvidia)" <djbw@kernel.org>,
smadhavan@nvidia.com, bhelgaas@google.com,
dan.j.williams@intel.com, dave.jiang@intel.com,
jonathan.cameron@huawei.com, ira.weiny@intel.com,
vishal.l.verma@intel.com, alison.schofield@intel.com,
dave@stgolabs.net
Cc: alwilliamson@nvidia.com, jeshuas@nvidia.com, vsethi@nvidia.com,
skancherla@nvidia.com, vaslot@nvidia.com,
sdonthineni@nvidia.com, mhonap@nvidia.com, vidyas@nvidia.com,
jan@nvidia.com, mochs@nvidia.com, dschumacher@nvidia.com,
linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org,
linux-kernel@vger.kernel.org,
Srirangan Madhavan <smadhavan@nvidia.com>
Subject: Re: [PATCH v5 5/7] cxl: Add CXL DVSEC reset sequence and flow orchestration
Date: Thu, 14 May 2026 12:21:16 -0700 [thread overview]
Message-ID: <6a0620acec806_57ad71008c@djbw-dev.notmuch> (raw)
In-Reply-To: <6a03e5c099d98_123a100e3@djbw-dev.notmuch>
Dan Williams (nvidia) wrote:
> smadhavan@ wrote:
[..]
A follow-up///
> In the short term the fastest answers to those questions is just walk
> the memdev and cxl root, in the longer term I would be open to building
> more CXL awareness into the core so that CXL reset does not need a
> driver loaded.
While I do think cxl_memdev attach is required for now, I do not think
the UABI should suffer a move if the plan is to ever support more CXL
awareness in the PCI core.
It is also the case that PCI in general wants all PCI device relative
attributes to be statically defined in pci_dev_attr_groups.
What I think this wants then is something like a "cxl" attribute group
whose visibility for now depends on the CXL core to invoke
sysfs_update_group(s) when a cxl_memdev is registered.
Then we can start to build the built-in CXL infrastructure that a
driver-less "CXL reset" capability would need. I think this looks like
HDM address space discovery is separated from 'struct cxl_decoder'
object creation and the CXL core learns to reference the common /
built-in HDM address space discovery.
The main semantic we need is that anything that tries to map CXL memory
needs to wait for a pending reset, and that reset needs to be blocked if
CXL memory is mapped.
next prev parent reply other threads:[~2026-05-14 19:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 9:23 [PATCH v5 0/7] CXL: Add cxl_reset sysfs attribute for PCI devices smadhavan
2026-03-06 9:23 ` [PATCH v5 1/7] PCI: Add CXL DVSEC reset and capability register definitions smadhavan
2026-03-06 9:23 ` [PATCH v5 2/7] PCI: Export pci_dev_save_and_disable() and pci_dev_restore() smadhavan
2026-03-06 9:23 ` [PATCH v5 3/7] cxl: Add memory offlining and cache flush helpers smadhavan
2026-03-06 23:34 ` Alex Williamson
2026-03-09 23:01 ` Dave Jiang
2026-03-06 9:23 ` [PATCH v5 4/7] cxl: Add multi-function sibling coordination for CXL reset smadhavan
2026-03-06 23:34 ` Alex Williamson
2026-03-06 9:23 ` [PATCH v5 5/7] cxl: Add CXL DVSEC reset sequence and flow orchestration smadhavan
2026-03-06 23:33 ` Alex Williamson
2026-03-10 0:26 ` Dave Jiang
2026-05-13 2:45 ` Dan Williams (nvidia)
2026-05-14 19:21 ` Dan Williams (nvidia) [this message]
2026-03-06 9:23 ` [PATCH v5 6/7] cxl: Add cxl_reset sysfs interface for PCI devices smadhavan
2026-03-06 23:32 ` Alex Williamson
2026-03-12 13:01 ` Jonathan Cameron
2026-03-14 20:39 ` Krzysztof Wilczyński
2026-03-06 9:23 ` [PATCH v5 7/7] Documentation: ABI: Add CXL PCI cxl_reset sysfs attribute smadhavan
2026-03-06 23:32 ` Alex Williamson
2026-03-09 22:37 ` [PATCH v5 0/7] CXL: Add cxl_reset sysfs attribute for PCI devices Dave Jiang
2026-03-09 22:40 ` Dave Jiang
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=6a0620acec806_57ad71008c@djbw-dev.notmuch \
--to=djbw@kernel.org \
--cc=alison.schofield@intel.com \
--cc=alwilliamson@nvidia.com \
--cc=bhelgaas@google.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=dschumacher@nvidia.com \
--cc=ira.weiny@intel.com \
--cc=jan@nvidia.com \
--cc=jeshuas@nvidia.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mhonap@nvidia.com \
--cc=mochs@nvidia.com \
--cc=sdonthineni@nvidia.com \
--cc=skancherla@nvidia.com \
--cc=smadhavan@nvidia.com \
--cc=vaslot@nvidia.com \
--cc=vidyas@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