Trivial cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hw/arm/fsl-imx8mp: Do not create redundant unimplemented deviceshw/ | +1 | 1 reply | |
| 2/5 | hw/arm/fsl-imx8mp: Fix parent of ocram memory regionhw/ | +1 | 4 replies | |
| 3/5 | hw/arm/imx8mp-evk: Fix reference count of SoC objecthw/ | +2 | 3 replies | |
| 4/5 | system/vl: Fix reference count of machine objectsystem/ | +1 | 0 replies | |
| 5/5 | Revert "sysbus: add irq_routing_notifier"hw/ include/ | +0 | 4 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Cédric Le Goater | Markus Armbruster | Peter Maydell |
|---|---|---|---|
| 1/5 | R-b | ||
| 2/5 | R-b | ||
| 3/5 | R-b | ||
| 4/5 | |||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/5] Trivial cleanup
This series contains some low-hanging fruit fixes I came up with when investigating Rust for QEMU, especially QOM object lifecycle vs. the Drop trait.
I noticed that no finalize methods were called in Rust sysbus devices when QEMU quits, and neither are its C variants. What is probably missing in the first place is a
object_unref(object_get_root());
at the end of qemu_cleanup() in runstate.c (see TODO there). Adding it before this series won't clean up machines since their refcount won't reach zero. With this series applied this additional line will cause various issues when quitting QEMU, allowing the problem to be investigated. Fixing it is beyond the scope of this series (and my time budget).
Testing done:
* make check
* Run imx8mp-evk with a Buildroot image
Bernhard Beschow (5):
hw/arm/fsl-imx8mp: Do not create redundant unimplemented devices hw/arm/fsl-imx8mp: Fix parent of ocram memory region hw/arm/imx8mp-evk: Fix reference count of SoC object system/vl: Fix reference count of machine object Revert "sysbus: add irq_routing_notifier"
include/hw/core/sysbus.h | 1 - hw/arm/fsl-imx8mp.c | 3 ++- hw/arm/imx8mp-evk.c | 4 ++-- hw/core/sysbus.c | 6 ------ system/vl.c | 1 + 5 files changed, 5 insertions(+), 10 deletions(-)
Signature · 1 line
2.53.0