Linux Documentation
 help / color / mirror / Atom feed
From: Jonathan Cameron <jonathan.cameron@huawei.com>
To: Gregory Price <gourry@gourry.net>
Cc: <linux-cxl@vger.kernel.org>, <linux-doc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <kernel-team@meta.com>,
	<dave@stgolabs.net>, <dave.jiang@intel.com>,
	<alison.schofield@intel.com>, <vishal.l.verma@intel.com>,
	<ira.weiny@intel.com>, <dan.j.williams@intel.com>,
	<corbet@lwn.net>
Subject: Re: [PATCH v2] Documentation/driver-api/cxl: device hotplug section
Date: Fri, 19 Dec 2025 14:50:21 +0000	[thread overview]
Message-ID: <20251219145021.00001071@huawei.com> (raw)
In-Reply-To: <aUVhxIJzGiiGs9ee@gourry-fedora-PF4VCD3F>

On Fri, 19 Dec 2025 09:31:32 -0500
Gregory Price <gourry@gourry.net> wrote:

> On Fri, Dec 19, 2025 at 10:55:18AM +0000, Jonathan Cameron wrote:
> > On Thu, 18 Dec 2025 12:07:47 -0500
> > Gregory Price <gourry@gourry.net> wrote:
> >   
> > > +
> > > +Multi-Endpoint Memory Device Present at Boot
> > > +--------------------------------------------
> > > +A hot-plug capable CXL memory device, such as one which presents multiple
> > > +expanders as a single large-capacity device, should report the maximum
> > > +*possible* capacity for the device at boot. ::
> > > +
> > > +                  HB0
> > > +                  RP0
> > > +                   |
> > > +     [Multi-Endpoint Memory Device]  
> > 
> > So this is the weird switch as end point thing?   Maybe a reference.
> > My guess is these will go away as switch and memory device vendors catch
> > up with the spec, but maybe I'm wrong.
> >   
> 
> I guess I just don't want to dictate the innards of a multi-endpoint
> memory device.  It *really really* implies there must be some kind of
> switch inside - but that switch might not even be runtime programmable
> or discoverable (basically all the settings get locked on boot and it
> becomes passthrough).
> 
> If you'd rather just not have this section at all, I'm ok with that.
> The switch case below this covers the base case for a switch-based
> device where everything is programmable.

Maybe just state at the top of this section that these things are
outside of the types of device that the CXL specification explicitly
talks about. That should be enough of a future breadcrumb for people
to decide if they can ignore these.


> 
> > > +              _____|_____
> > > +             |          |
> > > +        [Endpoint0]   [Empty]
> > > +
> > > +
> > > +Limiting the size to the capacity preset at boot will limit hot-add support
> > > +to replacing capacity that was present at boot.  
> > 
> >   


  reply	other threads:[~2025-12-19 14:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-18 17:07 [PATCH v2] Documentation/driver-api/cxl: device hotplug section Gregory Price
2025-12-18 19:36 ` Randy Dunlap
2025-12-18 20:17   ` Gregory Price
2025-12-18 20:22     ` Randy Dunlap
2025-12-19 10:55 ` Jonathan Cameron
2025-12-19 14:31   ` Gregory Price
2025-12-19 14:50     ` Jonathan Cameron [this message]
2025-12-19 15:06 ` Alejandro Lucero Palau
2025-12-19 15:55   ` Gregory Price

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=20251219145021.00001071@huawei.com \
    --to=jonathan.cameron@huawei.com \
    --cc=alison.schofield@intel.com \
    --cc=corbet@lwn.net \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=gourry@gourry.net \
    --cc=ira.weiny@intel.com \
    --cc=kernel-team@meta.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vishal.l.verma@intel.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