Re: [PATCH v2 01/15] cxl: Modify address translation callback for generic use
From: Gregory Price
Date: Thu Feb 20 2025 - 11:02:06 EST
On Tue, Feb 18, 2025 at 02:23:42PM +0100, Robert Richter wrote:
> The root decoder address translation callback could be reused for
> other decoders too. For generic use of the callback, change the
> function interface to use a decoder argument instead of the root
> decoder.
>
> Note that a root decoder's HPA is equal to its SPA, but else it may be
slighlty better wording:
"but it may different for non-root decoders"
> different. Thus, change the name of the function type to
> cxl_to_hpa_fn.
>
> Signed-off-by: Robert Richter <rrichter@xxxxxxx>
Reviewed-by: Gregory Price <gourry@xxxxxxxxxx>