cxl: fixes for hot-removal of devices
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cxl-type3: Properly unmap the memory-backend on device exithw/ | +6 | 0 replies | |
| 2/2 | cxl_downstream: enable power controller present capability.hw/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [QEMU PATCH 0/2] cxl: fixes for hot-removal of devices
As requested from the discussion in:
https://lore.kernel.org/linux-cxl/[email protected]/T/#t
Two bugs have been found when testing cxl topologies for managed hot-remove of a device:
Patch 1 properly unmaps the backend memory device, allowing it to be remapped if the removed device is re-added.
Patch 2 sets the power controller present capability in the downstream port. This is required to notify the device from the guest of removal.
Modifications from linked RFC (patches 3 & 4):
- Originally patch 3 (1 here) unmaps only on exit. It should also unmap in the error goto in the realize function.
- "Fixes:" tags added to commit messages.
Joshua Lant (2):
cxl-type3: Properly unmap the memory-backend on device exit
cxl_downstream: enable power controller present capability.
hw/mem/cxl_type3.c | 6 ++++++ hw/pci-bridge/cxl_downstream.c | 2 ++ 2 files changed, 8 insertions(+)
Signature · 1 line
2.47.3