From: Alison Schofield <alison.schofield@intel.com>
To: Richard Cheng <icheng@nvidia.com>
Cc: <dave@stgolabs.net>, <jonathan.cameron@huawei.com>,
<dave.jiang@intel.com>, <vishal.l.verma@intel.com>,
<ira.weiny@intel.com>, <dan.j.williams@intel.com>,
<linux-cxl@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<newtonl@nvidia.com>, <kristinc@nvidia.com>,
<kaihengf@nvidia.com>, <kobak@nvidia.com>, <vaslot@nvidia.com>,
<smadhavan@nvidia.com>
Subject: Re: [PATCH v4 2/2] tools/testing/cxl: Enable zero sized decoder under hb0
Date: Fri, 12 Jun 2026 11:16:00 -0700 [thread overview]
Message-ID: <aixM4NA7hX43Bs_y@aschofie-mobl2.lan> (raw)
In-Reply-To: <20260607081345.61954-3-icheng@nvidia.com>
On Sun, Jun 07, 2026 at 04:13:45PM +0800, Richard Cheng wrote:
> The kernel now allows committed HDM decoders of zero size so BIOS can
> burn slots with LOCK; cxl_test needs to exercise that path.
>
> Add a mock_zero_size_decoders module parameter (default off). When set,
> the special endpoints under host-bridge0 (cxl_mem.0 and cxl_mem.4) commit
> decoders 1 and 2 as zero-size + locked above the decoder[0] auto-region,
> mirrored on the parent switch and host bridge. commit_end then lands on a
> decoder with no DPA resource, exercising the new enumeration and
> poison-by-endpoint paths.
>
> Gating keeps the default topology, shared by the rest of the cxl suite,
> unchanged.
Can you add a unit test case for this? I think it makes sense in
cxl-topology.sh. Perhaps before or after the work on the default
cxl-test topology, load this new topo up and validate the zero size
decoders are as expected.
next prev parent reply other threads:[~2026-06-12 18:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-07 8:13 [PATCH v4 0/2] Support zero-sized HDM decoders Richard Cheng
2026-06-07 8:13 ` [PATCH v4 1/2] cxl/hdm: Allow zero sized " Richard Cheng
2026-06-07 8:13 ` [PATCH v4 2/2] tools/testing/cxl: Enable zero sized decoder under hb0 Richard Cheng
2026-06-12 18:16 ` Alison Schofield [this message]
2026-06-22 10:19 ` Richard Cheng
2026-06-23 3:11 ` Alison Schofield
2026-06-23 7:22 ` Richard Cheng
2026-06-09 23:13 ` [PATCH v4 0/2] Support zero-sized HDM decoders Dan Williams (nvidia)
2026-06-09 23:37 ` Dan Williams (nvidia)
2026-06-11 10:13 ` Richard Cheng
2026-06-23 17:01 ` 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=aixM4NA7hX43Bs_y@aschofie-mobl2.lan \
--to=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=icheng@nvidia.com \
--cc=ira.weiny@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=kaihengf@nvidia.com \
--cc=kobak@nvidia.com \
--cc=kristinc@nvidia.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=newtonl@nvidia.com \
--cc=smadhavan@nvidia.com \
--cc=vaslot@nvidia.com \
--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