summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonathan Cameron2022-04-29 16:40:58 +0200
committerMichael S. Tsirkin2022-05-13 13:57:26 +0200
commiteb19d9079efc4e986a37b0c3172ecd9b617fd04a (patch)
tree05fb78b7693ccfbbd115277ae6db32a93ebc3cf6 /include
parentmem/cxl_type3: Add read and write functions for associated hostmem. (diff)
downloadqemu-eb19d9079efc4e986a37b0c3172ecd9b617fd04a.tar.gz
qemu-eb19d9079efc4e986a37b0c3172ecd9b617fd04a.tar.xz
qemu-eb19d9079efc4e986a37b0c3172ecd9b617fd04a.zip
cxl/cxl-host: Add memops for CFMWS region.
These memops perform interleave decoding, walking down the CXL topology from CFMWS described host interleave decoder via CXL host bridge HDM decoders, through the CXL root ports and finally call CXL type 3 specific read and write functions. Note that, whilst functional the current implementation does not support: * switches * multiple HDM decoders at a given level. * unaligned accesses across the interleave boundaries Signed-off-by: Jonathan Cameron <jonathan.cameron@huawei.com> Message-Id: <20220429144110.25167-34-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/cxl/cxl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/cxl/cxl.h b/include/hw/cxl/cxl.h
index dce38124db..21d28ca110 100644
--- a/include/hw/cxl/cxl.h
+++ b/include/hw/cxl/cxl.h
@@ -56,4 +56,6 @@ void cxl_fixed_memory_window_config(MachineState *ms,
Error **errp);
void cxl_fixed_memory_window_link_targets(Error **errp);
+extern const MemoryRegionOps cfmws_ops;
+
#endif