Re: [PATCH v19 08/22] cxl: Support dpa initialization without a mailbox

Jonathan Cameron
2025-10-07T13:22:05Z

On Mon, 6 Oct 2025 11:01:16 +0100
<alejandro.lucero-palau@amd.com> wrote:

> From: Alejandro Lucero <alucerop@amd.com>

I think this also needs to mention sfc in the patch title as we'll
need an appropriate RB/Ack for that part.

Lazy option would be
cxl/sfc: Support dpa initialization without a mailbox

but there are probably better options.

>
> Type3 relies on mailbox CXL_MBOX_OP_IDENTIFY command for initializing
> memdev state params which end up being used for DPA initialization.
>
> Allow a Type2 driver to initialize DPA simply by giving the size of its
> volatile hardware partition.
>
> Move related functions to memdev.
>
> Add sfc driver as the client.
>
> Signed-off-by: Alejandro Lucero <alucerop@amd.com>
> Reviewed-by: Dan Williams <dan.j.williams@intel.com>
> Reviewed-by: Dave Jiang <dave.jiang@intel.com>
> Reviewed-by: Ben Cheatham <benjamin.cheatham@amd.com>