diff options
| author | Jonathan Cameron <jonathan.cameron@huawei.com> | 2022-04-29 15:40:58 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2022-05-13 07:57:26 -0400 |
| commit | eb19d9079efc4e986a37b0c3172ecd9b617fd04a (patch) | |
| tree | 05fb78b7693ccfbbd115277ae6db32a93ebc3cf6 /hw/cxl/cxl-host-stubs.c | |
| parent | 5fcc499ee3457709657b23655e385613a437068d (diff) | |
| download | focaccia-qemu-eb19d9079efc4e986a37b0c3172ecd9b617fd04a.tar.gz focaccia-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 'hw/cxl/cxl-host-stubs.c')
| -rw-r--r-- | hw/cxl/cxl-host-stubs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/cxl/cxl-host-stubs.c b/hw/cxl/cxl-host-stubs.c index f8fd278d5d..24465a52ab 100644 --- a/hw/cxl/cxl-host-stubs.c +++ b/hw/cxl/cxl-host-stubs.c @@ -12,3 +12,5 @@ void cxl_fixed_memory_window_config(MachineState *ms, Error **errp) {}; void cxl_fixed_memory_window_link_targets(Error **errp) {}; + +const MemoryRegionOps cfmws_ops; |