qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: BALATON Zoltan <balaton@eik.bme.hu>,
	qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	David Gibson <david@gibson.dropbear.id.au>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH v4 5/6] hw/pci-host: Add emulation of Marvell MV64361 PPC system controller
Date: Tue, 2 Mar 2021 08:59:10 +0100	[thread overview]
Message-ID: <8b46f28a-f08c-28fd-d323-604ab1e231bb@amsat.org> (raw)
In-Reply-To: <bdcd7aaf18dfe93267d7a02ac4fa451cb5749dbd.1614282456.git.balaton@eik.bme.hu>

On 2/25/21 8:47 PM, BALATON Zoltan wrote:
> The Marvell Discovery II aka. MV64361 is a PowerPC system controller
> chip that is used on the pegasos2 PPC board. This adds emulation of it
> that models the device enough to boot guests on this board. The
> mv643xx.h header with register definitions is taken from Linux 4.15.10
> only fixing end of line white space errors and removing not needed
> parts, it's otherwise keeps Linux formatting.
> 
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> ---
>  hw/pci-host/Kconfig           |   3 +
>  hw/pci-host/meson.build       |   2 +
>  hw/pci-host/mv64361.c         | 966 ++++++++++++++++++++++++++++++++++
>  hw/pci-host/mv643xx.h         | 919 ++++++++++++++++++++++++++++++++

Maybe name this one mv643xx_regs.h?

>  hw/pci-host/trace-events      |   6 +
>  include/hw/pci-host/mv64361.h |   8 +
>  include/hw/pci/pci_ids.h      |   1 +
>  7 files changed, 1905 insertions(+)
>  create mode 100644 hw/pci-host/mv64361.c
>  create mode 100644 hw/pci-host/mv643xx.h
>  create mode 100644 include/hw/pci-host/mv64361.h

> 
> diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig
> index 8b8c763c28..65a983d6fd 100644
> --- a/hw/pci-host/Kconfig
> +++ b/hw/pci-host/Kconfig
> @@ -68,3 +68,6 @@ config PCI_POWERNV
>  
>  config REMOTE_PCIHOST
>      bool
> +
> +config MV64361
> +    bool

Missing:

       select PCI


  reply	other threads:[~2021-03-02  8:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25 19:47 [PATCH v4 0/6] Pegasos2 emulation BALATON Zoltan
2021-02-25 19:47 ` [PATCH v4 3/6] vt82c686: Add VT8231_SUPERIO based on VIA_SUPERIO BALATON Zoltan
2021-03-02  7:50   ` Philippe Mathieu-Daudé
2021-02-25 19:47 ` [PATCH v4 5/6] hw/pci-host: Add emulation of Marvell MV64361 PPC system controller BALATON Zoltan
2021-03-02  7:59   ` Philippe Mathieu-Daudé [this message]
2021-03-02 21:02     ` BALATON Zoltan
2021-02-25 19:47 ` [PATCH v4 2/6] vt82c686: QOM-ify superio related functionality BALATON Zoltan
2021-02-25 19:47 ` [PATCH v4 6/6] hw/ppc: Add emulation of Genesi/bPlan Pegasos II BALATON Zoltan
2021-03-02  7:59   ` Philippe Mathieu-Daudé
2021-03-02  9:13     ` BALATON Zoltan
2021-03-02 10:05       ` Philippe Mathieu-Daudé
2021-03-03  0:21       ` David Gibson
2021-03-04 20:31         ` BALATON Zoltan
2021-03-08 11:45           ` BALATON Zoltan
2021-03-08 13:43             ` Philippe Mathieu-Daudé
2021-03-08 16:06               ` BALATON Zoltan
2021-02-25 19:47 ` [PATCH v4 4/6] vt82c686: Add emulation of VT8231 south bridge BALATON Zoltan
2021-03-02  7:43   ` Philippe Mathieu-Daudé
2021-02-25 19:47 ` [PATCH v4 1/6] vt82c686: Implement control of serial port io ranges via config regs BALATON Zoltan
2021-02-25 20:10 ` [PATCH v4 0/6] Pegasos2 emulation no-reply
2021-03-02  3:42   ` David Gibson
2021-03-02  3:43 ` David Gibson

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=8b46f28a-f08c-28fd-d323-604ab1e231bb@amsat.org \
    --to=f4bug@amsat.org \
    --cc=balaton@eik.bme.hu \
    --cc=david@gibson.dropbear.id.au \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@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).