All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiaxun Yang <jiaxun.yang@flygoat.com>
To: qemu-devel@nongnu.org
Cc: f4bug@amsat.org, Jiaxun Yang <jiaxun.yang@flygoat.com>
Subject: [RFC PATCH 0/3] MIPS VirtIO Machine
Date: Thu, 24 Nov 2022 21:29:13 +0000	[thread overview]
Message-ID: <20221124212916.723490-1-jiaxun.yang@flygoat.com> (raw)

Hi there,

This patchset is to add a new machine type for MIPS architecture, which
is purely a VirtIO machine.

It is design to utilize existing VirtIO infrastures but also comptitable
with MIPS's existing internal simulation tools.

It should be able to cooperate with any MIPS core and boot Generic MIPS
kernel.

For testing purpose I've built little endian kernel[1] to work with this
machine with R4X00, loongson2f, octeon, mips32r2, mips64r2 and mips64r6. 

TODO:
- Documentation
- Test against big endian kernel
- nanoMIPS options

Thanks

[1]: https://github.com/FlyGoat/qemu-testing-blob/tree/main/kernel

Jiaxun Yang (3):
  hw/intc: Add missing include for goldfish_pic.h
  hw/misc: Add MIPS Trickbox device
  hw/mips: Add MIPS VirtIO board

 configs/devices/mips-softmmu/common.mak |    1 +
 hw/mips/Kconfig                         |   18 +
 hw/mips/meson.build                     |    1 +
 hw/mips/virt.c                          | 1039 +++++++++++++++++++++++
 hw/misc/Kconfig                         |    3 +
 hw/misc/meson.build                     |    1 +
 hw/misc/mips_trickbox.c                 |   97 +++
 hw/misc/trace-events                    |    4 +
 include/hw/intc/goldfish_pic.h          |    2 +
 include/hw/misc/mips_trickbox.h         |   41 +
 10 files changed, 1207 insertions(+)
 create mode 100644 hw/mips/virt.c
 create mode 100644 hw/misc/mips_trickbox.c
 create mode 100644 include/hw/misc/mips_trickbox.h

-- 
2.37.1 (Apple Git-137.1)



             reply	other threads:[~2022-11-24 21:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 21:29 Jiaxun Yang [this message]
2022-11-24 21:29 ` [RFC PATCH 1/3] hw/intc: Add missing include for goldfish_pic.h Jiaxun Yang
2022-11-25 13:28   ` Philippe Mathieu-Daudé
2022-11-24 21:29 ` [RFC PATCH 2/3] hw/misc: Add MIPS Trickbox device Jiaxun Yang
2022-11-25 12:57   ` BALATON Zoltan
2022-11-24 21:29 ` [RFC PATCH 3/3] hw/mips: Add MIPS VirtIO board Jiaxun Yang
2022-11-25 13:05   ` BALATON Zoltan
2022-11-25 13:25   ` Philippe Mathieu-Daudé
2022-11-25 18:06     ` Jiaxun Yang

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=20221124212916.723490-1-jiaxun.yang@flygoat.com \
    --to=jiaxun.yang@flygoat.com \
    --cc=f4bug@amsat.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 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.