Add emulation of MEN Chameleon Hardware to Qemu. This emulation is specifically designed to test the upstream Linux kernel drivers when one has no access to the hardware.
The emulation consists of the bus itself, a PCI hardware target creating the bus, MEN Micro Electronic's 8250 based UART via MCB and a watchdog timer. Changes since v1: - Converted DPRINTF() to tracing infrastructure (Alistair) - Fixed style issues (Alistair) Johannes Thumshirn (4): Add MEN Chameleon Bus emulation Add MEN Chameleon Bus via PCI carrier serial-mcb: Add serial via MEN chameleon bus wdt_z069: Add support for MEN 16z069 Watchdog MAINTAINERS | 6 + hw/Kconfig | 1 + hw/char/Kconfig | 6 + hw/char/meson.build | 1 + hw/char/serial-mcb.c | 115 ++++++++++++++++ hw/mcb/Kconfig | 8 ++ hw/mcb/mcb-pci.c | 297 ++++++++++++++++++++++++++++++++++++++++ hw/mcb/mcb.c | 182 ++++++++++++++++++++++++ hw/mcb/meson.build | 2 + hw/mcb/trace-events | 3 + hw/mcb/trace.h | 1 + hw/meson.build | 1 + hw/watchdog/Kconfig | 5 + hw/watchdog/meson.build | 1 + hw/watchdog/wdt_z069.c | 218 +++++++++++++++++++++++++++++ include/hw/mcb/mcb.h | 106 ++++++++++++++ meson.build | 1 + 17 files changed, 954 insertions(+) create mode 100644 hw/char/serial-mcb.c create mode 100644 hw/mcb/Kconfig create mode 100644 hw/mcb/mcb-pci.c create mode 100644 hw/mcb/mcb.c create mode 100644 hw/mcb/meson.build create mode 100644 hw/mcb/trace-events create mode 100644 hw/mcb/trace.h create mode 100644 hw/watchdog/wdt_z069.c create mode 100644 include/hw/mcb/mcb.h base-commit: 652737c8090eb3792f8b4c4b22ab12d7cc32073f -- 2.39.2