Re: [PATCH 12/46] cxl/mem: Convert partition-info to resources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Jun 2022 19:46:29 -0700
Dan Williams <dan.j.williams@xxxxxxxxx> wrote:

> To date the per-device-partition DPA range information has only been
> used for enumeration purposes. In preparation for allocating regions
> from available DPA capacity, convert those ranges into DPA-type resource
> trees.
> 
> With resources and the new add_dpa_res() helper some open coded end
> address calculations and debug prints can be cleaned.
> 
> The 'cxlds->pmem_res' and 'cxlds->ram_res' resources are child resources
> of the total-device DPA space and they in turn will host DPA allocations
> from cxl_endpoint_decoder instances (tracked by cxled->dpa_res).
> 
> Cc: Ira Weiny <ira.weiny@xxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
LGTM

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux