<snip>
On 3/6/26 10:24, Neeraj Kumar wrote:
Actually I have created alloc_region_hpa() and alloc_region_dpa() taking
inspiration from device attributes (_store*) calls used to create cxl
region using cxl userspace tool.
I am adding the support of multi interleave, there these routines will
not be required as I would be re-using the existing auto region
assembly infra.
Even though I will re-check any conflicts with Type2 changes.
I'm changing the current hpa_get_freespace based on this current need
from pmem and some issues reported by Gregory regarding concurrency when
several drivers try to get things done. The current implementation
reports max free space and the allocation is done later on what with
those concurrency issues seems to not be the right solution.
I will post a new version early next week.