From: Jonathan Cameron <jic23@kernel.org>
To: Richard Cheng <icheng@nvidia.com>
Cc: dave@stgolabs.net, dave.jiang@intel.com,
alison.schofield@intel.com, vishal.l.verma@intel.com,
djbw@kernel.org, danwilliams@nvidia.com, iweiny@kernel.org,
ming.li@zohomail.com, linux-cxl@vger.kernel.org,
linux-kernel@vger.kernel.org, newtonl@nvidia.com,
kristinc@nvidia.com, kaihengf@nvidia.com, kobak@nvidia.com,
Vishal Aslot <vaslot@nvidia.com>
Subject: Re: [PATCH v7 2/2 RESEND] tools/testing/cxl: Enable zero sized decoders under hb0
Date: Wed, 22 Jul 2026 01:41:43 +0100 [thread overview]
Message-ID: <20260722014143.4b7165ab@jic23-huawei> (raw)
In-Reply-To: <20260721085715.39322-3-icheng@nvidia.com>
On Tue, 21 Jul 2026 16:57:15 +0800
Richard Cheng <icheng@nvidia.com> wrote:
> The kernel now allows committed zero-size HDM decoders so BIOS can lock
> empty decoders; 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. The mocks
> take a real zero-size DPA reservation, like enumeration of real
> hardware, so commit_end lands on a zero-size decoder and the
> reservation, poison-by-endpoint, and teardown paths all run.
>
> Signed-off-by: Vishal Aslot <vaslot@nvidia.com>
> Signed-off-by: Richard Cheng <icheng@nvidia.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
next prev parent reply other threads:[~2026-07-22 0:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 8:57 [PATCH v7 0/2 RESEND] Support zero-sized HDM decoders Richard Cheng
2026-07-21 8:57 ` [PATCH v7 1/2 RESEND] cxl/hdm: Allow zero sized " Richard Cheng
2026-07-21 16:08 ` Dave Jiang
2026-07-22 0:38 ` Jonathan Cameron
2026-07-24 6:50 ` Richard Cheng
2026-07-31 0:13 ` Alison Schofield
2026-07-21 8:57 ` [PATCH v7 2/2 RESEND] tools/testing/cxl: Enable zero sized decoders under hb0 Richard Cheng
2026-07-21 16:10 ` Dave Jiang
2026-07-22 0:41 ` Jonathan Cameron [this message]
2026-07-31 0:18 ` Alison Schofield
2026-07-22 0:07 ` [PATCH v7 0/2 RESEND] Support zero-sized HDM decoders Jonathan Cameron
2026-07-24 6:38 ` Richard Cheng
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=20260722014143.4b7165ab@jic23-huawei \
--to=jic23@kernel.org \
--cc=alison.schofield@intel.com \
--cc=danwilliams@nvidia.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=djbw@kernel.org \
--cc=icheng@nvidia.com \
--cc=iweiny@kernel.org \
--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=ming.li@zohomail.com \
--cc=newtonl@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
all inboxes | Powered by JetHome®