QEMU DCD emulation support fix
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hw/mem/cxl_type3: Fix More flag setting for dynamic capacity event recordshw/ | +1 | 1 reply | |
| 2/2 | hw/cxl/cxl_event: Fix interrupt triggering for dynamic capacity events grouped via More flaghw/ include/ | +9 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] QEMU DCD emulation support fix
From: Fan Ni <[email protected]>
In Ira's latest DCD kernel patchset[1], the More flag support has been added. While testing it with mainstream Qemu, I identified two issues with Qemu.
1. For a DC extent add request with more than one extents, the More flag for the last one is not correctly set.
2. The function cxl_event_insert should only return true for the last event record in a sequence grouped via More flag so interrupt will only be triggered once for the sequence not every record.
After the fix of the first issue, the More flag works as expected. While the test can pass without the second patch which fixes the second issue, but I think we make sense to notify the OS only when all the records are put in the event log.
[1] Last DCD kernel patchset: https://lore.kernel.org/linux-cxl/[email protected]/T/#t
Fan Ni (2):
hw/mem/cxl_type3: Fix More flag setting for dynamic capacity event
records
hw/cxl/cxl_event: Fix interrupt triggering for dynamic capacity events
grouped via More flag
hw/cxl/cxl-events.c | 8 ++++++++ hw/mem/cxl_type3.c | 2 +- include/hw/cxl/cxl_events.h | 1 + 3 files changed, 10 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0