i.MX fixes and cleanup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest31 patches 15 repliesIn review
- v331 patches 13 repliesSuperseded
- v230 patches 30 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 42 patches | 28 replies | Superseded |
Changes in v4 from the cover letter
* Fix triggering of watchdog_perform_action() (Bin)
* Pick up R-b tags
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/31 | hw/watchdog/wdt_imx2: Preserve own locked bits in WCRhw/ | +3 | 0 replies | |
| 2/31 | hw/watchdog/wdt_imx2: Fix handling of write one once WCR bitshw/ | +2 | 0 replies | |
| 3/31 | hw/watchdog/wdt_imx2: Clear WDT lock on resethw/ include/ | +2 | 0 replies | |
| 4/31 | hw/watchdog/wdt_imx2: Remove redundant attributeshw/ include/ | +4 | 1 reply | |
| 5/31 | hw/arm/imx8mm-evk: Fix reference count of SoC objecthw/ | +2 | 0 replies | |
| 6/31 | docs, tests/functional: Drop redundant CLI arguments in imx8m*-evk invocationsdocs/ tests/ tests/ | +3 | 0 replies | |
| 7/31 | hw/arm/sabrelite: Have 4 CPUs and 1 GiB of RAM by defaultdocs/ hw/ | +5 | 0 replies | |
| 8/31 | tests/functional/arm: Add console test for `sabrelite` machineMAINTAINERS tests/ tests/ | +49 | 0 replies | |
| 9/31 | hw/arm/mcimx6ul-evk: Have 512 MiB of RAM by defaulthw/ | +1 | 1 reply | |
| 10/31 | hw/arm/mcimx7d-sabre: Have 2 CPUs and 2 GiB of RAM by defaulthw/ | +2 | 1 reply | |
| 11/31 | tests/functional/arm: Add console test for `mcimx7d-sabre` machineMAINTAINERS tests/ tests/ | +49 | 0 replies | |
| 12/31 | hw/arm/fsl-imx25: Derive from TYPE_SYS_BUS_DEVICEhw/ hw/ include/ | +4 | 4 replies | |
| 13/31 | hw/arm/fsl-imx31: Derive from TYPE_SYS_BUS_DEVICEhw/ hw/ include/ | +4 | 0 replies | |
| 14/31 | hw/arm/fsl-imx6: Derive from TYPE_SYS_BUS_DEVICEhw/ hw/ include/ | +4 | 0 replies | |
| 15/31 | hw/arm/fsl-imx6ul: Derive from TYPE_SYS_BUS_DEVICEhw/ hw/ include/ | +4 | 0 replies | |
| 16/31 | hw/arm/fsl-imx7: Derive from TYPE_SYS_BUS_DEVICEhw/ hw/ include/ | +4 | 0 replies | |
| 17/31 | hw/misc/Kconfig: Remove redundant USB_EHCI_SYSBUS from config IMXhw/ | +0 | 0 replies | |
| 18/31 | Kconfig: Extract config IMX_AVIC from config IMXhw/ hw/ hw/ | +7 | 0 replies | |
| 19/31 | Kconfig: Extract config IMX_GPCV2 from config IMXhw/ hw/ hw/ | +6 | 0 replies | |
| 20/31 | Kconfig: Extract config IMX_RNG from config IMXhw/ hw/ hw/ | +5 | 0 replies | |
| 21/31 | Kconfig: Extract config FSL_IMX7_GPR from config IMXhw/ hw/ hw/ | +5 | 1 reply | |
| 22/31 | Kconfig: Extract config FSL_IMX{6, 7}_SRC from config IMXhw/ hw/ hw/ | +11 | 1 reply | |
| 23/31 | Kconfig: Extract config FSL_IMX7_SNVS from config IMXhw/ hw/ hw/ | +9 | 1 reply | |
| 24/31 | Kconfig: Extract dedicated config FSL_IMXx_CCM from config IMXhw/ hw/ hw/ +1 more | +37 | 0 replies | |
| 25/31 | Kconfig: Extract config IMX_GPT from config IMXhw/ hw/ hw/ | +13 | 0 replies | |
| 26/31 | Kconfig: Extract config IMX_EPIT from config IMXhw/ hw/ hw/ +1 more | +10 | 0 replies | |
| 27/31 | Kconfig: Extract config GPIO_IMX from config IMXhw/ hw/ hw/ | +11 | 1 reply | |
| 28/31 | Kconfig: Extract config IMX_SPI from config IMXhw/ hw/ hw/ +1 more | +10 | 1 reply | |
| 29/31 | Kconfig: Extract config IMX_SERIAL from config IMXhw/ hw/ hw/ | +11 | 0 replies | |
| 30/31 | Kconfig: Remove config IMXhw/ hw/ | +0 | 0 replies | |
| 31/31 | hw/arm/fsl-imx8m: Fix typohw/ hw/ include/ +1 more | +6 | 0 replies |
Reviews trailers per patch
All 31 patches have a Reviewed-by or Acked-by.
| Patch | Bin Meng | Peter Maydell | Philippe Mathieu-Daudé | Gaurav Sharma |
|---|---|---|---|---|
| 1/31 | R-b | R-b | ||
| 2/31 | R-b | R-b | ||
| 3/31 | R-b | R-b | ||
| 4/31 | R-b | |||
| 5/31 | R-b | R-b | ||
| 6/31 | R-b | R-b | R-b | |
| 7/31 | R-b | R-b | ||
| 8/31 | R-b | R-b | ||
| 9/31 | R-b | R-b | ||
| 10/31 | R-b | R-b | ||
| 11/31 | R-b | R-b | ||
| 12/31 | R-b | |||
| 13/31 | R-b | |||
| 14/31 | R-b | |||
| 15/31 | R-b | |||
| 16/31 | R-b | |||
| 17/31 | R-b | |||
| 18/31 | R-b | R-b | ||
| 19/31 | R-b | R-b | ||
| 20/31 | R-b | R-b | ||
| 21/31 | R-b | R-b | ||
| 22/31 | R-b | R-b | ||
| 23/31 | R-b | R-b | ||
| 24/31 | R-b | |||
| 25/31 | R-b | |||
| 26/31 | R-b | |||
| 27/31 | R-b | R-b | ||
| 28/31 | R-b | R-b | ||
| 29/31 | R-b | |||
| 30/31 | R-b | |||
| 31/31 | R-b | 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 4 reviewers.
Cover letter [PATCH v4 00/31] i.MX fixes and cleanup
This series fixes various issues in i.MX device emulation, cleans up i.MX Kconfig handling, and improves some code. Functional console tests for the remaining i.MX boards are added where images are publicly available, except for imx6ul which is taken care of in a different series [1]. Fixes which appear safe for backporting are cc'd to qemu-stable.
The series is structured as follows: Patches 1-5 fix some issues and are mostly marked for backporting. Patch 4 is a follow-up on patches 1-3 and should not be backported since it breaks migration.
Patches 6-11 add and improve functional tests for i.MX devices. While at it, saner defaults for the amount of RAM and number of CPUs are established.
Patches 12-16 turn the remaining i.MX SoC device models into SySBus devices which fixes their reset behavior.
Patches 17-30 are Kconfig cleanups where CONFIG_IMX gets split into dedicated config items.
The last commit just fixes some typos in the code.
Changes in v4:
* Fix triggering of watchdog_perform_action() (Bin)
* Pick up R-b tags
Testing done:
* make check-functional-aarch64
* make check-functional-arm
Changes in v3:
* Add dedicated patch fixing write one once WCR bits, cc'd to qemu-stable (Bin) Done as yet another patch to tell the issues apart.
* Add and fix some commit messages (Bin)
* Add functional tests to 'tests_arm_system_thorough' (Bin)
* Fix typo in functional tests for mcimx7d-sabre machine (Bin)
* Use sysbus_realize() rather than sysbus_realize_and_unref() in case of embedded SoC struct (Bin)
* Pick up R-b tags
Changes in v2:
* Remove patch adding mc->ignore_memory_transaction_failures = true; (Peter)
* Rework wdt_imx2 patches (Peter)
* Remove all but "hw/misc/Kconfig: Remove redundant USB_EHCI_SYSBUS from config IMX" already queued by Phil. The preserved patch is required to remove all dependencies from CONFIG_IMX such that it can be removed.
* Pick up R-b tags
* Rebase onto latest master
[1]
https://lore.kernel.org/qemu-devel/20261004090500.3082641-1-bin.
[email protected]/
base-commit: d7a65d1793d691d356a56833620f7d1e6f5d653b
Bernhard Beschow (31):
hw/watchdog/wdt_imx2: Preserve own locked bits in WCR hw/watchdog/wdt_imx2: Fix handling of write one once WCR bits hw/watchdog/wdt_imx2: Clear WDT lock on reset hw/watchdog/wdt_imx2: Remove redundant attributes hw/arm/imx8mm-evk: Fix reference count of SoC object docs, tests/functional: Drop redundant CLI arguments in imx8m*-evk
invocations
hw/arm/sabrelite: Have 4 CPUs and 1 GiB of RAM by default tests/functional/arm: Add console test for sabrelite machine hw/arm/mcimx6ul-evk: Have 512 MiB of RAM by default hw/arm/mcimx7d-sabre: Have 2 CPUs and 2 GiB of RAM by default tests/functional/arm: Add console test for mcimx7d-sabre machine hw/arm/fsl-imx25: Derive from TYPE_SYS_BUS_DEVICE hw/arm/fsl-imx31: Derive from TYPE_SYS_BUS_DEVICE hw/arm/fsl-imx6: Derive from TYPE_SYS_BUS_DEVICE hw/arm/fsl-imx6ul: Derive from TYPE_SYS_BUS_DEVICE hw/arm/fsl-imx7: Derive from TYPE_SYS_BUS_DEVICE hw/misc/Kconfig: Remove redundant USB_EHCI_SYSBUS from config IMX
Kconfig: Extract config IMX_AVIC from config IMX
Kconfig: Extract config IMX_GPCV2 from config IMX
Kconfig: Extract config IMX_RNG from config IMX
Kconfig: Extract config FSL_IMX7_GPR from config IMX
Kconfig: Extract config FSL_IMX{6, 7}_SRC from config IMX
Kconfig: Extract config FSL_IMX7_SNVS from config IMX
Kconfig: Extract dedicated config FSL_IMXx_CCM from config IMX
Kconfig: Extract config IMX_GPT from config IMX
Kconfig: Extract config IMX_EPIT from config IMX
Kconfig: Extract config GPIO_IMX from config IMX
Kconfig: Extract config IMX_SPI from config IMX
Kconfig: Extract config IMX_SERIAL from config IMX
Kconfig: Remove config IMX
hw/arm/fsl-imx8m: Fix typo
MAINTAINERS | 2 + docs/system/arm/imx8m.rst | 2 +- docs/system/arm/sabrelite.rst | 4 +- include/hw/arm/fsl-imx25.h | 5 +- include/hw/arm/fsl-imx31.h | 5 +- include/hw/arm/fsl-imx6.h | 5 +- include/hw/arm/fsl-imx6ul.h | 5 +- include/hw/arm/fsl-imx7.h | 5 +- include/hw/arm/fsl-imx8mm.h | 4 +- include/hw/arm/fsl-imx8mp.h | 4 +- include/hw/watchdog/wdt_imx2.h | 2 - hw/arm/fsl-imx25.c | 7 +-- hw/arm/fsl-imx31.c | 7 +-- hw/arm/fsl-imx6.c | 4 +- hw/arm/fsl-imx6ul.c | 4 +- hw/arm/fsl-imx7.c | 5 +- hw/arm/fsl-imx8mm.c | 2 +- hw/arm/fsl-imx8mp.c | 2 +- hw/arm/imx25_pdk.c | 2 +- hw/arm/imx8mm-evk.c | 4 +- hw/arm/kzm.c | 2 +- hw/arm/mcimx6ul-evk.c | 3 +- hw/arm/mcimx7d-sabre.c | 4 +- hw/arm/sabrelite.c | 5 +- hw/watchdog/wdt_imx2.c | 21 ++------ hw/arm/Kconfig | 56 ++++++++++++++++++--- hw/char/Kconfig | 3 ++ hw/char/meson.build | 2 +- hw/gpio/Kconfig | 3 ++ hw/gpio/meson.build | 2 +- hw/intc/Kconfig | 6 +++ hw/intc/meson.build | 3 +- hw/misc/Kconfig | 41 +++++++++++++-- hw/misc/meson.build | 24 ++++----- hw/net/Kconfig | 2 +- hw/ssi/Kconfig | 4 ++ hw/ssi/meson.build | 2 +- hw/timer/Kconfig | 10 ++++ hw/timer/meson.build | 4 +- tests/functional/aarch64/test_imx8mm_evk.py | 4 +- tests/functional/aarch64/test_imx8mp_evk.py | 4 +- tests/functional/arm/meson.build | 4 ++ tests/functional/arm/test_mcimx7d_sabre.py | 46 +++++++++++++++++ tests/functional/arm/test_sabrelite.py | 46 +++++++++++++++++ 44 files changed, 273 insertions(+), 108 deletions(-) create mode 100755 tests/functional/arm/test_mcimx7d_sabre.py create mode 100755 tests/functional/arm/test_sabrelite.py
Signature · 1 line
2.56.0