From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRUwu-0004mH-K0 for qemu-devel@nongnu.org; Mon, 17 Aug 2015 20:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRUwp-0002kw-Gb for qemu-devel@nongnu.org; Mon, 17 Aug 2015 20:40:20 -0400 Received: from mail-bn1on0081.outbound.protection.outlook.com ([157.56.110.81]:4608 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRUwp-0002ko-Cj for qemu-devel@nongnu.org; Mon, 17 Aug 2015 20:40:15 -0400 From: Alistair Francis Date: Mon, 17 Aug 2015 17:40:09 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 0/4] xlnx-zynqmp: Connect the AHCI SATA device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org, crosthwaitepeter@gmail.com Cc: saipava@xilinx.com, edgar.iglesias@xilinx.com, jsnow@redhat.com, afaerber@suse.de, alistair.francis@xilinx.com 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 object_class_dynamic_cast() to return NULL if the class doesn't have a type. 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 object.c: object_class_dynamic_cast return NULL if the class has no type 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 | 13 ------------- hw/ide/ahci.h | 14 ++++++++++++++ include/hw/arm/xlnx-zynqmp.h | 3 +++ qom/object.c | 2 +- 5 files changed, 39 insertions(+), 26 deletions(-)