CXL emulation fixes and minor cleanup.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 0 repliesNew
- v112 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- Patch description fixes to correctly refer to g_malloc() either with or instead of g_malloc0() depending on the patch.
- Add missing brackets for QEMU style as reported by checkpatch.
- Gathered some tags from Fan (thanks!)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | cxl/cdat: Handle cdat table build errorshw/ | +1 | 0 replies | |
| 2/12 | hw/mem/cxl_type3: Drop handling of failure of g_malloc0() and g_malloc()hw/ | +7 | 0 replies | |
| 3/12 | hw/pci-bridge/cxl_upstream: Drop g_malloc() failure handlinghw/ | +0 | 0 replies | |
| 4/12 | cxl/cdat: Fix header sum value in CDAT checksumhw/ | +7 | 0 replies | |
| 5/12 | hw/cxl/mbox: Remove dead codehw/ | +15 | 0 replies | |
| 6/12 | hw/cxl/device: read from register values in mdev_reg_read()hw/ include/ | +18 | 0 replies | |
| 7/12 | hw/cxl: Pass CXLComponentState to cache_mem_opshw/ | +1 | 0 replies | |
| 8/12 | hw/cxl: Pass NULL for a NULL MemoryRegionOpshw/ | +1 | 0 replies | |
| 9/12 | hw/mem/cxl_type3: Fix potential divide by zero reported by coverityhw/ | +7 | 0 replies | |
| 10/12 | tests/acpi: Allow update of DSDT.cxltests/ | +1 | 0 replies | |
| 11/12 | hw/i386: Fix _STA return value for ACPI0017hw/ | +1 | 0 replies | |
| 12/12 | tests/acpi: Update DSDT.cxl to reflect change _STA return value.tests/ tests/ | +0 | 0 replies |
Reviews trailers per patch
8 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Dave Jiang | Fan Ni |
|---|---|---|
| 1/12 | R-b | R-b |
| 2/12 | R-b | |
| 3/12 | ||
| 4/12 | R-b | R-b |
| 5/12 | R-b | |
| 6/12 | R-b | |
| 7/12 | R-b | |
| 8/12 | R-b | |
| 9/12 | R-b | |
| 10/12 | ||
| 11/12 | ||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/12 qemu] CXL emulation fixes and minor cleanup.
v2:
- Patch description fixes to correctly refer to g_malloc() either with or instead of g_malloc0() depending on the patch.
- Add missing brackets for QEMU style as reported by checkpatch.
- Gathered some tags from Fan (thanks!)
This set includes the majority of fixes I currently have queued up for the CXL emulation. Most have been posted and reviewed before so this is just rebases of those.
I've included the _STA fix as that's fairly trivial
and didn't seem worth a separate posting. Also included dropping some pointless g_malloc0() failure handling that came up in review of Ira's "cxl/cdat: Handle cdat table build errors".
Note the [... qemu] marking above is because we currently use the [email protected] list to ensure CXL people notice the patches and difficulty of distinguishing QEMU vs Kernel patches was causing some grief for tracking in patchwork. Hopefully this is unobtrusive enough to not annoy QEMU reviewers!
Davidlohr Bueso (1):
hw/cxl/mbox: Remove dead code
Hyeonggon Yoo (1):
hw/cxl/device: read from register values in mdev_reg_read()
Ira Weiny (2):
cxl/cdat: Handle cdat table build errors
cxl/cdat: Fix header sum value in CDAT checksum
Jonathan Cameron (6):
hw/mem/cxl_type3: Drop handling of failure of g_malloc0() and
g_malloc()
hw/pci-bridge/cxl_upstream: Drop g_malloc() failure handling hw/mem/cxl_type3: Fix potential divide by zero reported by coverity tests/acpi: Allow update of DSDT.cxl
hw/i386: Fix _STA return value for ACPI0017
tests/acpi: Update DSDT.cxl to reflect change _STA return value.
Li Zhijian (2):
hw/cxl: Pass CXLComponentState to cache_mem_ops
hw/cxl: Pass NULL for a NULL MemoryRegionOps
include/hw/cxl/cxl_device.h | 9 ++++-- hw/cxl/cxl-cdat.c | 11 +++++-- hw/cxl/cxl-component-utils.c | 4 +-- hw/cxl/cxl-device-utils.c | 17 ++++++---- hw/cxl/cxl-mailbox-utils.c | 43 +++++++++--------------- hw/i386/acpi-build.c | 2 +- hw/mem/cxl_type3.c | 61 ++++++++--------------------------- hw/pci-bridge/cxl_upstream.c | 6 ---- tests/data/acpi/q35/DSDT.cxl | Bin 9713 -> 9714 bytes 9 files changed, 58 insertions(+), 95 deletions(-)
Signature · 1 line
2.39.2