qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/4] xlnx-zynqmp: Connect the AHCI SATA device
@ 2015-08-28  0:16 Alistair Francis
  2015-08-28  0:16 ` [Qemu-devel] [PATCH v4 1/4] ahci: Separate the AHCI state structure into the header Alistair Francis
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alistair Francis @ 2015-08-28  0:16 UTC (permalink / raw)
  To: qemu-devel, peter.maydell, crosthwaitepeter
  Cc: saipava, edgar.iglesias, jsnow, afaerber, alistair.francis

This series connects the AHCI SATA device to the ZynqMP
machine. It requires a restructure of the AHCI file to
make the AHCI state struct visible. It also requires a
small change to the ahci_irq_lower() and ahci_irq_raise()
functions to avoid assuming that the AHCIState is a child
of AHCIPCIState.

V4:
 - Remove unnesicary casts
 - Use object_dynamic_cast() instead of object_class_dynamic_cast()
V3:
 - Perform checks inside the ahci_irq_lower() and ahci_irq_raise()
   functions to ensure the correct parent object is used.
V2:
 - Macroify the number of SATA ports
 - Update the non-realise error_propagate() calls to
   use error_abort instead.


Alistair Francis (4):
  ahci: Seperate the AHCI state structure into the header
  ahci.c: Don't assume AHCIState's parent is AHCIPCIState
  xlnx-zynqmp.c: Convert some of the error_propagate() calls to
    error_abort
  xlnx-zynqmp: Connect the sysbus AHCI to ZynqMP

 hw/arm/xlnx-zynqmp.c         |   33 +++++++++++++++++++++------------
 hw/ide/ahci.c                |   40 +++++++++++++++++++++-------------------
 hw/ide/ahci.h                |   16 ++++++++++++++++
 include/hw/arm/xlnx-zynqmp.h |    3 +++
 4 files changed, 61 insertions(+), 31 deletions(-)

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

end of thread, other threads:[~2015-08-28 16:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28  0:16 [Qemu-devel] [PATCH v4 0/4] xlnx-zynqmp: Connect the AHCI SATA device Alistair Francis
2015-08-28  0:16 ` [Qemu-devel] [PATCH v4 1/4] ahci: Separate the AHCI state structure into the header Alistair Francis
2015-08-28  0:16 ` [Qemu-devel] [PATCH v4 2/4] ahci.c: Don't assume AHCIState's parent is AHCIPCIState Alistair Francis
2015-08-28  0:27   ` Peter Crosthwaite
2015-08-28 16:29     ` Alistair Francis
2015-08-28  0:16 ` [Qemu-devel] [PATCH v4 3/4] xlnx-zynqmp.c: Convert some of the error_propagate() calls to error_abort Alistair Francis

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