From: Gregory Price <gourry@gourry.net>
To: "Fabio M. De Francesco" <fabio.m.de.francesco@linux.intel.com>
Cc: linux-cxl@vger.kernel.org, Davidlohr Bueso <dave@stgolabs.net>,
Jonathan Cameron <jonathan.cameron@huawei.com>,
Dave Jiang <dave.jiang@intel.com>,
Alison Schofield <alison.schofield@intel.com>,
Vishal Verma <vishal.l.verma@intel.com>,
Ira Weiny <ira.weiny@intel.com>,
Dan Williams <dan.j.williams@intel.com>,
Jonathan Corbet <corbet@lwn.net>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
ALOK TIWARI <alok.a.tiwari@oracle.com>,
Randy Dunlap <rdunlap@infradead.org>
Subject: Re: [PATCH v4] cxl: docs/driver-api/conventions resolve conflicts between CFMWS, LMH, Decoders
Date: Wed, 27 Aug 2025 16:23:46 -0400 [thread overview]
Message-ID: <aK9pUhETnNgs-7UG@gourry-fedora-PF4VCD3F> (raw)
In-Reply-To: <20250820150655.1170975-1-fabio.m.de.francesco@linux.intel.com>
On Wed, Aug 20, 2025 at 05:06:39PM +0200, Fabio M. De Francesco wrote:
> +
> +E.g, a real x86 platform with two CFMWS, 384 GB total memory, and LMH
> +starting at 2 GB:
> +
> +Window | CFMWS Base | CFMWS Size | HDM Decoder Base | HDM Decoder Size | Ways | Granularity
> + 0 | 0 GB | 2 GB | 0 GB | 3 GB | 12 | 256
> + 1 | 4 GB | 380 GB | 0 GB | 380 GB | 12 | 256
> +
This may be a dumb question, but... how is validation supposed to work?
Like in theory according to the above something like the following would
also be valid:
Window | CFMWS Base | CFMWS Size | HDM Decoder Base | HDM Decoder Size
0 | 4 GB | 380 GB | 2 GB | 382 GB
(ignoring ways/granularity, i didn't adjust those).
The entirety of the CFMWS would be contained within the HDM decoder, but
with carve-outs on either end. This would be "allowed" according to the
logic here.
This would effectively allow all HDM decoder base/size values to be valid
as long as one CFMWS is contained entirely within it.
As a result, wouldn't it then also be valid to have an HDM Decoder cover
more than one CFMWS range (two full CFMWS described by a single HDM
decoder).
That seems like it could cause issues.
~Gregory
next prev parent reply other threads:[~2025-08-27 20:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-20 15:06 [PATCH v4] cxl: docs/driver-api/conventions resolve conflicts between CFMWS, LMH, Decoders Fabio M. De Francesco
2025-08-21 15:22 ` Dave Jiang
2025-08-22 1:55 ` Bagas Sanjaya
2025-08-26 13:49 ` Robert Richter
2025-09-01 12:22 ` Fabio M. De Francesco
2025-09-01 15:23 ` Robert Richter
2025-08-27 20:23 ` Gregory Price [this message]
2025-09-01 12:26 ` Fabio M. De Francesco
-- strict thread matches above, loose matches on Subject: below --
2025-08-20 14:55 Fabio M. De Francesco
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=aK9pUhETnNgs-7UG@gourry-fedora-PF4VCD3F \
--to=gourry@gourry.net \
--cc=alison.schofield@intel.com \
--cc=alok.a.tiwari@oracle.com \
--cc=corbet@lwn.net \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=fabio.m.de.francesco@linux.intel.com \
--cc=ira.weiny@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.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