Re: [PATCH v5 10/13] hw/mem/cxl_type3: Add dpa range validation for accesses to DC regions

2024-03-06 Thread Jonathan Cameron via
On Mon, 4 Mar 2024 11:34:05 -0800 nifan@gmail.com wrote: > From: Fan Ni > > Not all dpa range in the DC regions is valid to access until an extent All DPA ranges in the DC regions are invalid to access until an extent covering the range has been added. > covering the range has been

[PATCH v5 10/13] hw/mem/cxl_type3: Add dpa range validation for accesses to DC regions

2024-03-04 Thread nifan . cxl
From: Fan Ni Not all dpa range in the DC regions is valid to access until an extent covering the range has been added. Add a bitmap for each region to record whether a DC block in the region has been backed by DC extent. For the bitmap, a bit in the bitmap represents a DC block. When a DC extent