[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aMsUeUME_6wkhfp1@gourry-fedora-PF4VCD3F>
Date: Wed, 17 Sep 2025 16:05:13 -0400
From: Gregory Price <gourry@...rry.net>
To: Robert Richter <rrichter@....com>
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>,
Joshua Hahn <joshua.hahnjy@...il.com>
Subject: Re: [PATCH v3 04/11] cxl/region: Add @range argument to function
cxl_find_root_decoder()
On Fri, Sep 12, 2025 at 04:45:06PM +0200, Robert Richter wrote:
> cxl_find_root_decoder() uses the endpoint decoder's HPA range to find
> the root decoder. This requires endpoints and root decoders to be in
> the same memory domain, which is not the case for systems that need
> address translation.
>
> Add a separate @range argument to function cxl_find_root_decoder() to
> specify the root decoder's address range. Now it is possible to pass a
> translated address range of an endpoint decoder to function
> cxl_find_root_decoder().
>
> Patch is a prerequisite to implement address translation.
>
> Signed-off-by: Robert Richter <rrichter@....com>
Maybe worth noting that this patch is just a refactor (i.e. no-op).
Reviewed-by: Gregory Price <gourry@...rry.net>
Powered by blists - more mailing lists