Re: [PATCH v3 13/18] cxl/region: Add function to find a port's switch decoder by range
From: Jonathan Cameron
Date: Fri Feb 14 2025 - 11:32:34 EST
On Tue, 11 Feb 2025 10:53:43 +0100
Robert Richter <rrichter@xxxxxxx> wrote:
> Factor out code to find the switch decoder of a port for a specific
> address range. Reuse the code to search a root decoder, create the
> function cxl_port_find_switch_decoder() and rework
> match_root_decoder_by_range() to be usable for switch decoders too.
>
> Signed-off-by: Robert Richter <rrichter@xxxxxxx>
> Reviewed-by: Gregory Price <gourry@xxxxxxxxxx>
> Tested-by: Gregory Price <gourry@xxxxxxxxxx>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>