qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] Add ASPEED AST2400 machine model
@ 2016-02-16 11:34 Andrew Jeffery
  2016-02-16 11:34 ` [Qemu-devel] [PATCH v2 1/3] hw/timer: Add ASPEED AST2400 timer device model Andrew Jeffery
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Andrew Jeffery @ 2016-02-16 11:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: openbmc, qemu-arm

Hi all,

This is the first time I've implemented QEMU device models so no doubt the
patches contain misunderstandings and/or oversights - happy to hear any
feedback! 

This patch series implements enough of the ASPEED AST2400 (ARMv5 SoC) machine
model to boot an aspeed_defconfig Linux kernel[1]. The device model patches in
turn only partially implement the hardware features of the timer and AVIC,
again mostly just enough to boot Linux.

The addition of the AST2400 to QEMU is motivated by use of the SoC as a BMC in
OpenPOWER[2][3] machines and the ongoing development of OpenBMC[4]. The
presence of a machine model for the AST2400 will help with development and
testing of the OpenBMC stack.

I posted an initial revision to the OpenBMC mailing list (CC'ed) for review,
hence the v2.

Cheers,

Andrew

[1] git fetch git@github.com:openbmc/linux.git dev-4.3
[2] http://openpowerfoundation.org/
[3] https://github.com/open-power/
[4] https://github.com/openbmc/openbmc

===

Since v1:

  Address comments from Cédric Le Goater:

  General:
  * Use tracing infrastructure instead of internal DPRINTF
  * Enforce access size constraints and alignment in MemoryRegionOps

  hw/timer/aspeed_timer.c:
  * Refactor initialisation of and respect requested clock rates (APB/External)
  * Simplify some index calculations

===

Andrew Jeffery (3):
  hw/timer: Add ASPEED AST2400 timer device model
  hw/intc: Add (new) ASPEED AST2400 AVIC device model
  hw/arm: Add ASPEED AST2400 machine type

 default-configs/arm-softmmu.mak |   2 +
 hw/arm/Makefile.objs            |   1 +
 hw/arm/ast2400.c                | 139 ++++++++++++++++++
 hw/intc/Makefile.objs           |   1 +
 hw/intc/aspeed_vic.c            | 256 +++++++++++++++++++++++++++++++++
 hw/timer/Makefile.objs          |   2 +
 hw/timer/aspeed_timer.c         | 308 ++++++++++++++++++++++++++++++++++++++++
 include/hw/intc/aspeed_vic.h    |  40 ++++++
 include/hw/timer/aspeed_timer.h |  55 +++++++
 trace-events                    |  22 +++
 10 files changed, 826 insertions(+)
 create mode 100644 hw/arm/ast2400.c
 create mode 100644 hw/intc/aspeed_vic.c
 create mode 100644 hw/timer/aspeed_timer.c
 create mode 100644 include/hw/intc/aspeed_vic.h
 create mode 100644 include/hw/timer/aspeed_timer.h

-- 
2.5.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-03-03 10:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16 11:34 [Qemu-devel] [PATCH v2 0/3] Add ASPEED AST2400 machine model Andrew Jeffery
2016-02-16 11:34 ` [Qemu-devel] [PATCH v2 1/3] hw/timer: Add ASPEED AST2400 timer device model Andrew Jeffery
2016-02-25 16:11   ` [Qemu-devel] [Qemu-arm] " Peter Maydell
2016-02-26  3:14     ` Andrew Jeffery
2016-02-26 10:20       ` Peter Maydell
2016-02-29  2:10         ` Andrew Jeffery
2016-02-16 11:34 ` [Qemu-devel] [PATCH v2 2/3] hw/intc: Add (new) ASPEED AST2400 AVIC " Andrew Jeffery
2016-02-25 16:29   ` [Qemu-devel] [Qemu-arm] " Peter Maydell
2016-03-02  1:09     ` Andrew Jeffery
2016-03-02 12:41       ` Peter Maydell
2016-03-03  5:14     ` Andrew Jeffery
2016-03-03  8:39       ` Peter Maydell
2016-03-03 10:16         ` Andrew Jeffery
2016-02-16 11:34 ` [Qemu-devel] [PATCH v2 3/3] hw/arm: Add ASPEED AST2400 machine type Andrew Jeffery
2016-02-25 16:36   ` [Qemu-devel] [Qemu-arm] " Peter Maydell

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).