[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z6ND1vbgR5Gp1B3D@rric.localdomain>
Date: Wed, 5 Feb 2025 11:56:22 +0100
From: Robert Richter <rrichter@....com>
To: Gregory Price <gourry@...rry.net>
Cc: 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>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Dave Jiang <dave.jiang@...el.com>,
Davidlohr Bueso <dave@...olabs.net>, linux-cxl@...r.kernel.org,
linux-kernel@...r.kernel.org,
"Fabio M. De Francesco" <fabio.m.de.francesco@...ux.intel.com>,
Terry Bowman <terry.bowman@....com>
Subject: Re: [PATCH v1 17/29] cxl/region: Rename function to
cxl_find_decoder_early()
On 07.01.25 17:06:04, Gregory Price wrote:
> On Tue, Jan 07, 2025 at 03:10:03PM +0100, Robert Richter wrote:
> > Current function cxl_region_find_decoder() is used to find a port's
> > decoder during region setup. The decoder is later used to attach the
> > port to a region.
> >
> > Rename function to cxl_find_decoder_early() to emphasize its use only
> > during region setup in the early setup stage. Once a port is attached
> > to a region, the region reference can be used to lookup a region's
> > port and decoder configuration (see struct cxl_region_ref).
> >
>
> May want to add a comment preceding the function to record this in the
> code along with the changelog.
>
> > Signed-off-by: Robert Richter <rrichter@....com>
>
> Reviewed-by: Gregory Price <gourry@...rry.net>
I added a comment. Thanks,
-Robert
Powered by blists - more mailing lists