[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/7] hw/misc/ivshmem-flat: Add ivshmem-flat device
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 1/7] hw/misc/ivshmem-flat: Add ivshmem-flat device |
Date: |
Tue, 31 Dec 2024 20:10:31 +0100 |
User-agent: |
Mozilla Thunderbird |
On 16/12/24 15:18, Gustavo Romero wrote:
Add a new device, ivshmem-flat, which is similar to the ivshmem PCI but
does not require a PCI bus. It's meant to be used on machines like those
with Cortex-M MCUs, which usually lack a PCI/PCIe bus, e.g. lm3s6965evb
and mps2-an385.
The device currently only supports the sysbus bus.
The new device, just like the ivshmem PCI device, supports both peer
notification via hardware interrupts and shared memory.
The device shared memory size can be set using the 'shmem-size' option
and it defaults to 4 MiB, which is the default size of shmem allocated
by the ivshmem server.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1134
Message-ID: <20231127052024.435743-2-gustavo.romero@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
---
docs/system/devices/ivshmem-flat.rst | 33 ++
Squashing:
-- >8 --
diff --git a/docs/system/device-emulation.rst
b/docs/system/device-emulation.rst
index f19777411cd..a1b0d7997e0 100644
--- a/docs/system/device-emulation.rst
+++ b/docs/system/device-emulation.rst
@@ -86,6 +86,7 @@ Emulated Devices
devices/ccid.rst
devices/cxl.rst
devices/ivshmem.rst
+ devices/ivshmem-flat.rst
devices/keyboard.rst
devices/net.rst
devices/nvme.rst
---
to avoid:
docs/system/devices/ivshmem-flat.rst:document isn't included in any toctree
ninja: subcommand failed
make: *** [Makefile:168: run-ninja] Error 1
hw/misc/Kconfig | 5 +
hw/misc/ivshmem-flat.c | 463 +++++++++++++++++++++++++++
hw/misc/meson.build | 2 +
hw/misc/trace-events | 16 +
include/hw/misc/ivshmem-flat.h | 85 +++++
6 files changed, 604 insertions(+)
create mode 100644 docs/system/devices/ivshmem-flat.rst
create mode 100644 hw/misc/ivshmem-flat.c
create mode 100644 include/hw/misc/ivshmem-flat.h
- [RESEND][PATCH v3 0/7] Add ivshmem-flat device, Gustavo Romero, 2024/12/16
- [PATCH v3 1/7] hw/misc/ivshmem-flat: Add ivshmem-flat device, Gustavo Romero, 2024/12/16
- [PATCH v3 2/7] hw/misc/ivshmem-flat: Allow device to wire itself on sysbus, Gustavo Romero, 2024/12/16
- [PATCH v3 3/7] hw/arm: Allow some machines to use the ivshmem-flat device, Gustavo Romero, 2024/12/16
- [PATCH v3 4/7] hw/misc/ivshmem: Rename ivshmem to ivshmem-pci, Gustavo Romero, 2024/12/16
- [PATCH v3 6/7] tests/qtest: Add API functions to capture IRQ toggling, Gustavo Romero, 2024/12/16
- [PATCH v3 5/7] tests/qtest: Reorganize common code in ivshmem-test, Gustavo Romero, 2024/12/16
- [PATCH v3 7/7] tests/qtest: Add ivshmem-flat test, Gustavo Romero, 2024/12/16