From: Dan Williams <dan.j.williams@intel.com>
To: Alison Schofield <alison.schofield@intel.com>,
Dan Williams <dan.j.williams@intel.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>,
Jonathan Cameron <jonathan.cameron@huawei.com>,
Dave Jiang <dave.jiang@intel.com>,
"Vishal Verma" <vishal.l.verma@intel.com>,
Ira Weiny <ira.weiny@intel.com>, <linux-cxl@vger.kernel.org>,
Wonjae Lee <wj28.lee@samsung.com>
Subject: Re: [RFC PATCH] cxl/region: Allow out of order assembly of autodiscovered regions
Date: Thu, 8 Feb 2024 21:25:01 -0800 [thread overview]
Message-ID: <65c5b72d902a0_5a7f2945c@dwillia2-xfh.jf.intel.com.notmuch> (raw)
In-Reply-To: <ZcVwmvubGa/3CweX@aschofie-mobl2>
Alison Schofield wrote:
> > I can see it being an alternate way, but not sure how to weigh one
> > approach vs the other. Is the dynamic update getting in the way of a
> > test case you are thinking about? Otherwise it seemed easy to reason
> > that the registry is always on, but only takes effect when
> > registry_reset_disable is set, and cxl_acpi rebinds the test device.
>
> The constant work of updating the registry caught my attention, but
> no impact that I know of. The dynamic approach is more intrusive and
> impacts the normal path needlessly. A snapshot approach limits much
> of the impact to users of the new feature.
>
It does mean more infrastructure to walk the entire topology and save
off all of the decoders. However, this is straightforward because
decoders are devices on the CXL bus.
I am not worried about the intrusiveness as much as how easy it is to
conceptualize new tests. I do think it is easier to conceptualize that
the flow is
"get the decoders the way you want them, snapshot them, ..., rebind",
...rather than the current:
"get the decoders the way you want them, disable-reset, rebind"
Notice the "..." in the first flow where it is a bit more forgiving if
you do some decoder operations between the snapshot step and the rebind
step. Where the latter flow requires that you know the side effects of
how rebind tries to reset the decoder state.
It still ends up with the all same complexity on the read side, but
should be easier to craft new static configurations without needing to
worry about the write side of the registry.
next prev parent reply other threads:[~2024-02-09 5:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20240113050447epcas2p2097a5c49c1f0f9318ec4202843e169b8@epcms2p8>
2024-01-13 5:04 ` [RFC PATCH] cxl/region: Allow out of order assembly of autodiscovered regions alison.schofield
2024-01-18 19:46 ` Dan Williams
2024-02-08 20:52 ` Alison Schofield
2024-02-08 22:57 ` Dan Williams
2024-02-09 0:23 ` Alison Schofield
2024-02-09 5:25 ` Dan Williams [this message]
2024-01-26 8:51 ` Wonjae Lee
2024-01-30 4:37 ` Alison Schofield
2024-01-31 1:02 ` Wonjae Lee
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=65c5b72d902a0_5a7f2945c@dwillia2-xfh.jf.intel.com.notmuch \
--to=dan.j.williams@intel.com \
--cc=alison.schofield@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=ira.weiny@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-cxl@vger.kernel.org \
--cc=vishal.l.verma@intel.com \
--cc=wj28.lee@samsung.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