]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/cxl: Update CXL Fixed Memory Window ACPI description to include Back Invalidate...
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 4 Feb 2026 17:09:32 +0000 (17:09 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 20 Feb 2026 18:04:45 +0000 (13:04 -0500)
Defaults for these windows has always been to enable anything QEMU supports.
With the addition of back invalidate support it is necessary to specify that
host windows support this.

CXL emulation is currently only suitable for software stack verification.
The relaxation of the restrictions on this window to include BI have no
affect on the OS until BI capable devices are added and until now these
have not existed. As such no backwards compatibility impacts are expected
from this change.

Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20260204170936.43959-5-Jonathan.Cameron@huawei.com>

hw/acpi/cxl.c

index 75edb2c0a652d0ea6a93c392fe0a5f158bf7329b..f92f7fa3d558ff38dca7c59284024c06acc11253 100644 (file)
@@ -172,7 +172,7 @@ static void cedt_build_cfmws(CXLFixedWindow *fw, Aml *cedt)
     build_append_int_noprefix(table_data, fw->enc_int_gran, 4);
 
     /* Window Restrictions */
-    build_append_int_noprefix(table_data, 0x0f, 2);
+    build_append_int_noprefix(table_data, 0x2f, 2);
 
     /* QTG ID */
     build_append_int_noprefix(table_data, 0, 2);