qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Thumshirn <jth@kernel.org>
To: qemu-devel@nongnu.org
Cc: "Alistair Francis" <alistair@alistair23.me>,
	"Javier Rodriguez" <josejavier.rodriguez@duagon.com>,
	"Jorge Sanjuan García" <Jorge.SanjuanGarcia@duagon.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Dmitry Fomichev" <dmitry.fomichev@wdc.com>,
	"Johannes Thumshirn" <jth@kernel.org>
Subject: [PATCH v4 0/4] Add emulation of MEN Chameleon Hardware
Date: Tue, 18 Apr 2023 19:35:52 +0200	[thread overview]
Message-ID: <20230418173556.177985-1-jth@kernel.org> (raw)

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 v2:
- Converted DPRINTF() to tracing infrastructure again (Alistair)

Changes since v2:
- Adjusted license to GPL 2 or later (Peter)

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         | 298 +++++++++++++++++++++++++++++++++++++++
 hw/mcb/mcb.c             | 180 +++++++++++++++++++++++
 hw/mcb/meson.build       |   2 +
 hw/mcb/trace-events      |   4 +
 hw/mcb/trace.h           |   1 +
 hw/meson.build           |   1 +
 hw/watchdog/Kconfig      |   5 +
 hw/watchdog/meson.build  |   1 +
 hw/watchdog/trace-events |   6 +
 hw/watchdog/wdt_z069.c   | 207 +++++++++++++++++++++++++++
 include/hw/mcb/mcb.h     | 106 ++++++++++++++
 meson.build              |   1 +
 18 files changed, 949 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

-- 
2.39.2



             reply	other threads:[~2023-04-18 17:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 17:35 Johannes Thumshirn [this message]
2023-04-18 17:35 ` [PATCH v4 1/4] Add MEN Chameleon Bus emulation Johannes Thumshirn
2023-04-18 17:35 ` [PATCH v4 2/4] Add MEN Chameleon Bus via PCI carrier Johannes Thumshirn
2023-04-18 17:35 ` [PATCH v4 3/4] serial-mcb: Add serial via MEN chameleon bus Johannes Thumshirn
2023-04-18 17:35 ` [PATCH v4 4/4] wdt_z069: Add support for MEN 16z069 Watchdog Johannes Thumshirn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230418173556.177985-1-jth@kernel.org \
    --to=jth@kernel.org \
    --cc=Jorge.SanjuanGarcia@duagon.com \
    --cc=alistair@alistair23.me \
    --cc=dmitry.fomichev@wdc.com \
    --cc=josejavier.rodriguez@duagon.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).