[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aN4SSEmaCaxbeiwJ@gourry-fedora-PF4VCD3F>
Date: Thu, 2 Oct 2025 01:48:56 -0400
From: Gregory Price <gourry@...rry.net>
To: Vishal Aslot <vaslot@...dia.com>
Cc: Davidlohr Bueso <dave@...olabs.net>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Dave Jiang <dave.jiang@...el.com>,
Alison Schofield <alison.schofield@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
Ira Weiny <ira.weiny@...el.com>,
Dan Williams <dan.j.williams@...el.com>,
Li Ming <ming.li@...omail.com>,
Peter Zijlstra <peterz@...radead.org>,
Dan Carpenter <dan.carpenter@...aro.org>,
Zijun Hu <zijun.hu@....qualcomm.com>,
"linux-cxl@...r.kernel.org" <linux-cxl@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] cxl/hdm: allow zero sized committed decoders
On Wed, Oct 01, 2025 at 08:37:26PM +0000, Vishal Aslot wrote:
> @@ -1210,6 +1210,11 @@ int devm_cxl_enumerate_decoders(struct cxl_hdm *cxlhdm,
> rc = init_hdm_decoder(port, cxld, target_map, hdm, i,
> &dpa_base, info);
> if (rc) {
> + if (rc == -ENOSPC) {
> + put_device(&cxld->dev);
> + rc = 0;
> + continue;
> + }
How do you suggest actually testing this? I briefly poked at this in
QEMU trying to commit decoders, but i found myself incapable of
exercising this path.
> dev_warn(&port->dev,
> "Failed to initialize decoder%d.%d\n",
> port->id, i);
> --
> 2.34.1
Powered by blists - more mailing lists