aboutsummaryrefslogtreecommitdiff
path: root/scripts/rust/rustc_args.py
diff options
context:
space:
mode:
authorFan Ni <fan.ni@samsung.com>2025-07-14 18:44:57 +0100
committerMichael S. Tsirkin <mst@redhat.com>2025-07-15 02:56:40 -0400
commitfe63feb7e8f2d62621008fdf7c884f3573de249b (patch)
treeb8c29369f9842d044e61fea629254628a9cbc77b /scripts/rust/rustc_args.py
parent98f030e7c9b4ac42e886b140899f7ae12ab4f028 (diff)
downloadqemu-fe63feb7e8f2d62621008fdf7c884f3573de249b.zip
qemu-fe63feb7e8f2d62621008fdf7c884f3573de249b.tar.gz
qemu-fe63feb7e8f2d62621008fdf7c884f3573de249b.tar.bz2
hw/cxl: fix DC extent capacity tracking
Per cxl r3.2 Section 9.13.3.3, extent capacity tracking should include extents in different states including added, pending, etc. Before the change, for the in-device extent number tracking purpose, we only have "total_extent_count" defined, which only tracks the number of extents accepted. However, we need to track number of extents in other states also, for now it is extents pending-to-add. To fix that, we introduce a new counter for dynamic capacity "nr_extents_accepted" which explicitly tracks number of the extents accepted by the hosts, and fix "total_extent_count" to include both accepted and pending extents counting. Signed-off-by: Fan Ni <fan.ni@samsung.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20250714174509.1984430-2-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/rust/rustc_args.py')
0 files changed, 0 insertions, 0 deletions