mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Cheng <icheng@nvidia.com>
To: Alison Schofield <alison.schofield@intel.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: Mon, 22 Jun 2026 18:19:00 +0800	[thread overview]
Message-ID: <ajkLv7vRScdspEKV@MWDK4CY14F> (raw)
In-Reply-To: <aixM4NA7hX43Bs_y@aschofie-mobl2.lan>

On Fri, Jun 12, 2026 at 11:16:00AM +0800, Alison Schofield wrote:
> 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.
>

Hi Alison,

No problem for that, but I want to make sure you are talking about
adding test in ndctl right?

I'll send v5 within this week, want to make sure they are ready
together.

Best regards,
Richard Cheng. 

  reply	other threads:[~2026-06-22 10:19 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
2026-06-22 10:19     ` Richard Cheng [this message]
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=ajkLv7vRScdspEKV@MWDK4CY14F \
    --to=icheng@nvidia.com \
    --cc=alison.schofield@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --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

Powered by JetHome