All of lore.kernel.org
 help / color / mirror / Atom feed
From: BALATON Zoltan <balaton@eik.bme.hu>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	David Gibson <david@gibson.dropbear.id.au>,
	qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
	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 22:02:20 +0100 (CET)	[thread overview]
Message-ID: <e0124583-3ab1-34cd-e6ca-e105e449fde@eik.bme.hu> (raw)
In-Reply-To: <8b46f28a-f08c-28fd-d323-604ab1e231bb@amsat.org>

[-- Attachment #1: Type: text/plain, Size: 1704 bytes --]

On Tue, 2 Mar 2021, Philippe Mathieu-Daudé wrote:
> 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?

This comes originally from Linux where it had this name so to make it 
simpler to find where it comes from I've kept the name for now. If we 
ever change the contents beyond just formatting it could be renamed too.

Regards,
BALATON Zoltan

>>  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 21:18 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 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 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 1/6] vt82c686: Implement control of serial port io ranges via config regs BALATON Zoltan
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é
2021-03-02 21:02     ` BALATON Zoltan [this message]
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 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=e0124583-3ab1-34cd-e6ca-e105e449fde@eik.bme.hu \
    --to=balaton@eik.bme.hu \
    --cc=david@gibson.dropbear.id.au \
    --cc=f4bug@amsat.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.