On 7/29/26 17:46, Junjie Cao wrote:
The CXL Type-3 device reset path (ct3d_reset) has several issues:
1) Resource leaks:
2) Incomplete state cleanup:
3) Deprecated API usage:
This series fixes the issues incrementally:
- Patches 1-2: fix resource leaks (deterministic bugs)
- Patch 3: mechanical conversion to three-phase reset
- Patch 4: factor the primary CCI teardown into a
cxl_destroy_mailbox_t3() helper pairing cxl_initialize_mailbox_t3()
- Patches 5-7: clean up device state on reset
Junjie Cao (7):
hw/cxl: fix timer leak in cxl_destroy_cci()
hw/cxl: destroy primary CCI before re-initialization on reset
hw/cxl: convert cxl-type3 to three-phase reset
hw/cxl: add cxl_destroy_mailbox_t3() as the mailbox teardown
counterpart
hw/cxl: discard in-flight sanitize state on mailbox teardown
hw/cxl: clear event logs, scan media and interrupt policy on reset
hw/cxl: clear poison lists and feature transfer state on reset
Hi!
This patch series has been Cc'ed to qemu-stable@. It is interesting how
it's been Cc'ed, and I think there's some error here. From whole series,
only patch 2 (destroy primary CCI before re-initialization on reset) is
tagged for-stable. Patch 1, which is a fix, is not tagged, and not Cc'ed
to qemu-stable@ either. The rest - patches 3-7 - has been Cc'ed to the
qemu-stable mailing list, but are not tagged for-stable.
From this list, I'm only picking up patch 2, and only for 11.1.x series.
The other active stable series, 10.0.x, - apparently it's not needed there.
FWIW.
Thanks,
/mjt