summary refs log tree commit diff stats
path: root/linux-headers/linux/bits.h
diff options
context:
space:
mode:
authorFan Ni <fan.ni@samsung.com>2024-05-23 10:44:52 -0700
committerMichael S. Tsirkin <mst@redhat.com>2024-07-01 17:16:04 -0400
commite4180db4e63b904183374c6e7ec07f66aa0decde (patch)
treeec906cae5e61c977e43f6840af434d6ea2555c40 /linux-headers/linux/bits.h
parentd0b9b28a5b9f1e3d22b508f4f05d903a4b443e38 (diff)
downloadfocaccia-qemu-e4180db4e63b904183374c6e7ec07f66aa0decde.tar.gz
focaccia-qemu-e4180db4e63b904183374c6e7ec07f66aa0decde.zip
hw/mem/cxl_type3: Add DPA range validation for accesses to DC regions
All DPA ranges in the DC regions are invalid to access until an extent
covering the range has been successfully accepted by the host. A bitmap
is added to each region to record whether a DC block in the region has
been backed by a DC extent. Each bit in the bitmap represents a DC block.
When a DC extent is accepted, all the bits representing the blocks in the
extent are set, which will be cleared when the extent is released.

Tested-by: Svetly Todorov <svetly.todorov@memverge.com>
Reviewed-by: Gregory Price <gregory.price@memverge.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Fan Ni <fan.ni@samsung.com>
Message-Id: <20240523174651.1089554-13-nifan.cxl@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'linux-headers/linux/bits.h')
0 files changed, 0 insertions, 0 deletions