On Thu, Jan 27, 2022 at 4:27 PM Ben Widawsky <ben.widawsky@xxxxxxxxx> wrote: > > Since region programming sees all components in the topology as a port, > it's required that endpoints are treated equally. The easiest way to go > from endpoint to port is to simply cache it at creation time. As of 8dd2bc0f8e02 ("cxl/mem: Add the cxl_mem driver"), cxl_endpoint_autoremove() already sets cxlmd drvdata to @endpoint, so this patch isn't needed.