]> git.proxmox.com Git - mirror_qemu.git/commit
hw/cxl: Fix incorrect reset of commit and associated clearing of committed.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 21 Apr 2023 13:59:06 +0000 (14:59 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 19 May 2023 05:36:09 +0000 (01:36 -0400)
commit823371a630599346fd04d541f19b52e72ee84f7e
treedad16da9711d9c03443da2e2c10e947ae4bdd4b4
parent92ff7cabf97d9942ebaeafed6747dc18c8c1f697
hw/cxl: Fix incorrect reset of commit and associated clearing of committed.

The hardware clearing the commit bit is not spec compliant.
Clearing of committed bit when commit is cleared is not specifically
stated in the CXL spec, but is the expected (and simplest) permitted
behaviour so use that for QEMU emulation.

Reviewed-by: Fan Ni <fan.ni@samsung.com>
Tested-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
--
v2: Picked up tags.
Message-Id: <20230421135906.3515-4-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cxl/cxl-component-utils.c
hw/mem/cxl_type3.c