Re: [PATCH v4 05/23] cxl/pci: Refactor component register discovery for reuse
From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Date: 2023-06-01 10:52:36
Also in:
lkml
From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Date: 2023-06-01 10:52:36
Also in:
lkml
On Tue, 23 May 2023 18:21:56 -0500 Terry Bowman [off-list ref] wrote:
The endpoint implements component register setup code. Refactor it for reuse with RCRB, downstream port, and upstream port setup. Move PCI specifics from cxl_setup_regs() into cxl_pci_setup_regs(). Move cxl_setup_regs() into cxl/core/regs.c and export it. This also includes supporting static functions cxl_map_registerblock(), cxl_unmap_register_block() and cxl_probe_regs(). Co-developed-by: Robert Richter <redacted> Signed-off-by: Robert Richter <redacted> Signed-off-by: Terry Bowman <redacted>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>