Re: [PATCH v2 00/18] cxl: Address translation support, part 1: Cleanups and refactoring

From: Gregory Price
Date: Fri Feb 07 2025 - 16:24:20 EST


On Fri, Feb 07, 2025 at 04:37:35PM +0100, Robert Richter wrote:
> This series is the first part of adding support for CXL address
> translation. It contains cleanup and code refactoring in preparation
> of the actual implementation that will be sent in part 2. Cleanup and
> code refactoring have been split in a separate series to reduce the
> number of patches of the series. Even without address translation on
> top this rework improves esp. the region code, cleans it up,
> simplifies it and adds debugging messages to better analyze region
> creation failures:
>
> Content of patches:
>
> * Patches 1: Remove else after return.
>
> * Patches 2-4: Cleanups and comments around cxl_hdm_decode_init().
>
> * Patches 5, 6, 13: Adding and modifying helper functions.
>
> * Patches 7-12, 14: Refactoring of endpoint decoder setup.
>
> * Patches 15-18: Adding and modifying debug messages.
>
> Most of the patches were part of my first submission of v1 [1], some
> of them were already reviewed.
>
> [1] https://lore.kernel.org/linux-cxl/20250107141015.3367194-1-rrichter@xxxxxxx/
>

For entire series:

Tested-by: Gregory Price <gourry@xxxxxxxxxx>

Tested individually and w/ a rebase of the full translation patch set from
[1] on a Zen5 platform with PRM and translation.

Will test again with part-2 as I expect some changes.