From: Nikita Shubin <n.shubin@yadro.com>
Add STM32 DMA model and include it in STM32F100 SoC.
The model is fully compatible with GD32F303x DMA.
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Alistair Francis <alistair@alistair23.me>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm@nongnu.org
Cc: Alexandre Iooss <erdnaxe@crans.org>
Cc: Fabiano Rosas <farosas@suse.de>
Cc: Laurent Vivier <lvivier@redhat.com>
Cc: Nikita Shubin <nikita.shubin@maquefel.me>
Cc: Ilya Chichkov <i.chichkov@yadro.com>
Signed-off-by: Nikita Shubin <n.shubin@yadro.com>
---
Changes in v2:
- hw/dma: Add STM32 platfrom DMA controller emulation:
- s/GD32F30x/GD32F303x/
- fixed flags issue, as we might not raise an interrupt,
but we should set the flag anyway
- check Enabled Interrupt and raised flags at the same time,
if flag mask matches enabled mask set GIFCx flag and raise
interrupt
Fabiano Rosas:
- tests/qtest: add qtests for STM32 DMA:
- + g_autofree
- fix qmp() leak with qobject_unref()
- Link to v1: https://lore.kernel.org/qemu-devel/20250324100508.2176-1-nikita.shubin@maquefel.me
--- b4-submit-tracking ---
# This section is used internally by b4 prep for tracking purposes.
{
"series": {
"revision": 2,
"change-id": "20250314-stm32_dma-24e7a75cec64",
"prefixes": [],
"history": {
"v1": [
"20250324100508.2176-1-nikita.shubin@maquefel.me"
]
}
}
}
--
2.48.1