[PATCH v4 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-04-18 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Kconfig | 5 + hw/watchdog/meson.build | 1 + hw/watchdog/trace-events | 6 ++ hw/watchdog/wdt_z069.c | 207 +++ 4 files changed, 219

[PATCH v4 1/4] Add MEN Chameleon Bus emulation

2023-04-18 Thread Johannes Thumshirn
The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 6 ++ hw/Kconfig | 1 + hw/mcb/Kconfig | 2 + hw/mcb/mcb.c

[PATCH v4 2/4] Add MEN Chameleon Bus via PCI carrier

2023-04-18 Thread Johannes Thumshirn
Add PCI based MEN Chameleon Bus carrier emulation. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn --- hw/mcb/Kconfig | 6 + hw/mcb/mcb-pci.c| 298 hw/mcb/meson.build | 1 + hw/mcb/trace-events | 4 + hw/mcb/trace.h

[PATCH v4 0/4] Add emulation of MEN Chameleon Hardware

2023-04-18 Thread Johannes Thumshirn
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

[PATCH v4 3/4] serial-mcb: Add serial via MEN chameleon bus

2023-04-18 Thread Johannes Thumshirn
Add MEN z125 UART over MEN Chameleon Bus emulation. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn --- hw/char/Kconfig | 6 +++ hw/char/meson.build | 1 + hw/char/serial-mcb.c | 115 +++ 3 files changed, 122 insertions(+) create

Re: [PATCH v3 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-04-17 Thread Johannes Thumshirn
On 17.04.23 07:04, Alistair Francis wrote: + +/* #define Z069_DEBUG 1 */ + +#ifdef Z069_DEBUG +#define z069_debug(fmt, ...)\ +fprintf(stderr, "wdt_z069: %s: "fmt, __func__, ##__VA_ARGS__) +#else +#define z069_debug(fmt, ...) +#endif Same comment from

[PATCH v3 2/4] Add MEN Chameleon Bus via PCI carrier

2023-04-10 Thread Johannes Thumshirn
Add PCI based MEN Chameleon Bus carrier emulation. Signed-off-by: Johannes Thumshirn --- hw/mcb/Kconfig | 6 + hw/mcb/mcb-pci.c| 297 hw/mcb/meson.build | 1 + hw/mcb/trace-events | 3 + hw/mcb/trace.h | 1 + meson.build

[PATCH v3 3/4] serial-mcb: Add serial via MEN chameleon bus

2023-04-10 Thread Johannes Thumshirn
Add MEN z125 UART over MEN Chameleon Bus emulation. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn --- hw/char/Kconfig | 6 +++ hw/char/meson.build | 1 + hw/char/serial-mcb.c | 115 +++ 3 files changed, 122 insertions(+) create

[PATCH v3 1/4] Add MEN Chameleon Bus emulation

2023-04-10 Thread Johannes Thumshirn
The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 6 ++ hw/Kconfig | 1 + hw/mcb/Kconfig | 2 + hw/mcb/mcb.c

[PATCH v3 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-04-10 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Kconfig | 5 + hw/watchdog/meson.build | 1 + hw/watchdog/wdt_z069.c | 218 3 files changed, 224 insertions(+) create mode 100644 hw

[PATCH v3 0/4] Add emulation of MEN Chameleon Hardware

2023-04-10 Thread Johannes Thumshirn
MCB and a watchdog timer. 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

Re: [PATCH v2 1/4] Add MEN Chameleon Bus emulation

2023-04-10 Thread Johannes Thumshirn
On 06/04/2023 12:01, Peter Maydell wrote: On Thu, 6 Apr 2023 at 10:34, Johannes Thumshirn wrote: The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn @@ -0,0 +1,182

[PATCH v2 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-04-06 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Kconfig | 5 + hw/watchdog/meson.build | 1 + hw/watchdog/wdt_z069.c | 218 3 files changed, 224 insertions(+) create mode 100644 hw

[PATCH v2 3/4] serial-mcb: Add serial via MEN chameleon bus

2023-04-06 Thread Johannes Thumshirn
Add MEN z125 UART over MEN Chameleon Bus emulation. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn --- hw/char/Kconfig | 6 +++ hw/char/meson.build | 1 + hw/char/serial-mcb.c | 115 +++ 3 files changed, 122 insertions(+) create

[PATCH v2 0/4] Add emulation of MEN Chameleon Hardware

2023-04-06 Thread Johannes Thumshirn
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

[PATCH v2 2/4] Add MEN Chameleon Bus via PCI carrier

2023-04-06 Thread Johannes Thumshirn
Add PCI based MEN Chameleon Bus carrier emulation. Signed-off-by: Johannes Thumshirn --- hw/mcb/Kconfig | 6 + hw/mcb/mcb-pci.c| 297 hw/mcb/meson.build | 1 + hw/mcb/trace-events | 3 + hw/mcb/trace.h | 1 + meson.build

[PATCH v2 1/4] Add MEN Chameleon Bus emulation

2023-04-06 Thread Johannes Thumshirn
The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Acked-by: Alistair Francis Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 6 ++ hw/Kconfig | 1 + hw/mcb/Kconfig | 2 + hw/mcb/mcb.c

[PATCH 3/4] serial-mcb: Add serial via MEN chameleon bus

2023-03-29 Thread Johannes Thumshirn
Add MEN z125 UART over MEN Chameleon Bus emulation. Signed-off-by: Johannes Thumshirn --- hw/char/Kconfig | 6 +++ hw/char/meson.build | 1 + hw/char/serial-mcb.c | 115 +++ 3 files changed, 122 insertions(+) create mode 100644 hw/char/serial

[PATCH 2/4] Add MEN Chameleon Bus via PCI carrier

2023-03-29 Thread Johannes Thumshirn
Add PCI based MEN Chameleon Bus carrier emulation. Signed-off-by: Johannes Thumshirn --- hw/mcb/Kconfig | 6 + hw/mcb/mcb-pci.c | 307 + hw/mcb/meson.build | 1 + 3 files changed, 314 insertions(+) create mode 100644 hw/mcb/mcb-pci.c diff

[PATCH 1/4] Add MEN Chameleon Bus emulation

2023-03-29 Thread Johannes Thumshirn
The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 6 ++ hw/Kconfig | 1 + hw/mcb/Kconfig | 2 + hw/mcb/mcb.c | 182

[PATCH 0/4] Add emulation of MEN Chameleon Hardware

2023-03-29 Thread Johannes Thumshirn
MCB and a watchdog timer. 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

[PATCH 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2023-03-29 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Kconfig | 5 + hw/watchdog/meson.build | 1 + hw/watchdog/wdt_z069.c | 218 3 files changed, 224 insertions(+) create mode 100644 hw

[Qemu-devel] [RESEND PATCH v2 3/4] serial-mcb: Add serial via MEN chameleon bus

2018-09-10 Thread Johannes Thumshirn
Add MEN z125 UART over MEN Chameleon Bus emulation. Signed-off-by: Johannes Thumshirn --- hw/char/Makefile.objs | 1 + hw/char/serial-mcb.c | 100 ++ 2 files changed, 101 insertions(+) create mode 100644 hw/char/serial-mcb.c diff --git a/hw

[Qemu-devel] [RESEND PATCH v2 0/4] Add support for Men Chameleon Bus emulation

2018-09-10 Thread Johannes Thumshirn
Maydell) * Added / annotations (Philippe Mathieu-Daudé) 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 default-configs/pci.mak | 1 + hw

[Qemu-devel] [RESEND PATCH v2 2/4] Add MEN Chameleon Bus via PCI carrier

2018-09-10 Thread Johannes Thumshirn
Signed-off-by: Johannes Thumshirn --- hw/mcb/Makefile.objs | 1 + hw/mcb/mcb-pci.c | 305 +++ 2 files changed, 306 insertions(+) create mode 100644 hw/mcb/mcb-pci.c diff --git a/hw/mcb/Makefile.objs b/hw/mcb/Makefile.objs index 32427c987c44

[Qemu-devel] [RESEND PATCH v2 1/4] Add MEN Chameleon Bus emulation

2018-09-10 Thread Johannes Thumshirn
The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Signed-off-by: Johannes Thumshirn --- default-configs/pci.mak | 1 + hw/Makefile.objs| 1 + hw/mcb/Makefile.objs| 1 + hw/mcb/mcb.c| 180

[Qemu-devel] [RESEND PATCH v2 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2018-09-10 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Makefile.objs | 1 + hw/watchdog/wdt_z069.c| 215 ++ 2 files changed, 216 insertions(+) create mode 100644 hw/watchdog/wdt_z069.c diff

Re: [Qemu-devel] [PATCH v2 0/4] Add support for Men Chameleon Bus emulation

2018-08-22 Thread Johannes Thumshirn
On Thu, Aug 09, 2018 at 01:40:13PM +0200, Johannes Thumshirn wrote: > This series adds support for emulating FPGAs by Men Mikroelektronik > Nürnberg and expose the FPGA itself as a bus. The IP-Cores implemented > in the FPGA are represented as devices hanging off that bus. This is t

[Qemu-devel] [PATCH v2 2/4] Add MEN Chameleon Bus via PCI carrier

2018-08-09 Thread Johannes Thumshirn
Signed-off-by: Johannes Thumshirn --- hw/mcb/Makefile.objs | 1 + hw/mcb/mcb-pci.c | 305 +++ 2 files changed, 306 insertions(+) create mode 100644 hw/mcb/mcb-pci.c diff --git a/hw/mcb/Makefile.objs b/hw/mcb/Makefile.objs index 32427c987c44

[Qemu-devel] [PATCH v2 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2018-08-09 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Makefile.objs | 1 + hw/watchdog/wdt_z069.c| 215 ++ 2 files changed, 216 insertions(+) create mode 100644 hw/watchdog/wdt_z069.c diff

[Qemu-devel] [PATCH v2 3/4] serial-mcb: Add serial via MEN chameleon bus

2018-08-09 Thread Johannes Thumshirn
Add MEN z125 UART over MEN Chameleon Bus emulation. Signed-off-by: Johannes Thumshirn --- hw/char/Makefile.objs | 1 + hw/char/serial-mcb.c | 100 ++ 2 files changed, 101 insertions(+) create mode 100644 hw/char/serial-mcb.c diff --git a/hw

[Qemu-devel] [PATCH v2 1/4] Add MEN Chameleon Bus emulation

2018-08-09 Thread Johannes Thumshirn
The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Signed-off-by: Johannes Thumshirn --- default-configs/pci.mak | 1 + hw/Makefile.objs| 1 + hw/mcb/Makefile.objs| 1 + hw/mcb/mcb.c| 180

[Qemu-devel] [PATCH v2 0/4] Add support for Men Chameleon Bus emulation

2018-08-09 Thread Johannes Thumshirn
intention for this series is to have a test-bed for Linux Kernel patches targeting the bus and/or sub-devices of it for people who do not have access the hardware. Changes since v1: * Updated License comments of the files (Peter Maydell) * Added / annotations (Philippe Mathieu-Daudé) Johannes

Re: [Qemu-devel] [PATCH 1/4] Add MEN Chameleon Bus emulation

2018-08-08 Thread Johannes Thumshirn
On Wed, Aug 08, 2018 at 03:52:05PM +0100, Peter Maydell wrote: > On 8 August 2018 at 15:16, Johannes Thumshirn wrote: > > The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an > > FPGA to a outside bus system like PCIe. > > > > Signed

[Qemu-devel] [PATCH 0/4] Add support for Men Chameleon Bus emulation

2018-08-08 Thread Johannes Thumshirn
intention for this series is to have a test-bed for Linux Kernel patches targeting the bus and/or sub-devices of it for people who do not have access the hardware. Johannes Thumshirn (4): Add MEN Chameleon Bus emulation Add MEN Chameleon Bus via PCI carrier serial-mcb: Add serial via MEN

[Qemu-devel] [PATCH 4/4] wdt_z069: Add support for MEN 16z069 Watchdog

2018-08-08 Thread Johannes Thumshirn
Add 16z069 Watchdog over MEN Chameleon BUS emulation. Signed-off-by: Johannes Thumshirn --- hw/watchdog/Makefile.objs | 1 + hw/watchdog/wdt_z069.c| 212 ++ 2 files changed, 213 insertions(+) create mode 100644 hw/watchdog/wdt_z069.c diff

[Qemu-devel] [PATCH 2/4] Add MEN Chameleon Bus via PCI carrier

2018-08-08 Thread Johannes Thumshirn
Signed-off-by: Johannes Thumshirn --- hw/mcb/Makefile.objs | 1 + hw/mcb/mcb-pci.c | 305 +++ 2 files changed, 306 insertions(+) create mode 100644 hw/mcb/mcb-pci.c diff --git a/hw/mcb/Makefile.objs b/hw/mcb/Makefile.objs index 32427c987c44

[Qemu-devel] [PATCH 3/4] serial-mcb: Add serial via MEN chameleon bus

2018-08-08 Thread Johannes Thumshirn
Add MEN z125 UART over MEN Chameleon Bus emulation. Signed-off-by: Johannes Thumshirn --- hw/char/Makefile.objs | 1 + hw/char/serial-mcb.c | 97 +++ 2 files changed, 98 insertions(+) create mode 100644 hw/char/serial-mcb.c diff --git a/hw

[Qemu-devel] [PATCH 1/4] Add MEN Chameleon Bus emulation

2018-08-08 Thread Johannes Thumshirn
The MEN Chameleon Bus (MCB) is an on-chip bus system exposing IP Cores of an FPGA to a outside bus system like PCIe. Signed-off-by: Johannes Thumshirn --- default-configs/pci.mak | 1 + hw/Makefile.objs| 1 + hw/mcb/Makefile.objs| 1 + hw/mcb/mcb.c| 180