Message ID | 3773810bc35eae3c3b233397f0cc215823d861cc.1454115217.git.alistair.francis@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4A7139F6DA for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 30 Jan 2016 01:04:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A996220381 for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 30 Jan 2016 01:04:22 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 056E920380 for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 30 Jan 2016 01:04:22 +0000 (UTC) Received: from localhost ([::1]:37187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1aPJxd-0005di-EF for patchwork-qemu-devel@patchwork.kernel.org; Fri, 29 Jan 2016 20:04:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alistair.francis@xilinx.com>) id 1aPJx9-00055F-1b for qemu-devel@nongnu.org; Fri, 29 Jan 2016 20:03:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alistair.francis@xilinx.com>) id 1aPJx4-000864-8b for qemu-devel@nongnu.org; Fri, 29 Jan 2016 20:03:50 -0500 Received: from mail-bl2nam02on0058.outbound.protection.outlook.com ([104.47.38.58]:44320 helo=NAM02-BL2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <alistair.francis@xilinx.com>) id 1aPJx4-00085v-3Y for qemu-devel@nongnu.org; Fri, 29 Jan 2016 20:03:46 -0500 Received: from CY1NAM02FT060.eop-nam02.prod.protection.outlook.com (10.152.74.57) by CY1NAM02HT050.eop-nam02.prod.protection.outlook.com (10.152.74.120) with Microsoft SMTP Server (TLS) id 15.1.355.15; Sat, 30 Jan 2016 01:03:44 +0000 Authentication-Results: spf=fail (sender IP is 149.199.60.96) smtp.mailfrom=xilinx.com; suse.de; dkim=none (message not signed) header.d=none; suse.de; dmarc=none action=none header.from=xilinx.com; Received-SPF: Fail (protection.outlook.com: domain of xilinx.com does not designate 149.199.60.96 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.96; helo=xsj-tvapsmtpgw01; Received: from xsj-tvapsmtpgw01 (149.199.60.96) by CY1NAM02FT060.mail.protection.outlook.com (10.152.74.252) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Sat, 30 Jan 2016 01:03:43 +0000 Received: from 172-16-1-203.xilinx.com ([172.16.1.203]:45499 helo=xsj-tvapsmtp02.xilinx.com) by xsj-tvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1aPJx0-0002Ni-Vv; Fri, 29 Jan 2016 17:03:43 -0800 Received: from [127.0.0.1] (port=52718 helo=tsj-smtp-dlp1.xlnx.xilinx.com) by xsj-tvapsmtp02.xilinx.com with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1aPJx0-0002uU-Ph; Fri, 29 Jan 2016 17:03:42 -0800 Received: from xsj-tvapsmtp02 (xsj-tvapsmtp02.xilinx.com [172.16.1.203]) by tsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u0U0w674022076; Fri, 29 Jan 2016 16:58:06 -0800 Received: from [172.19.74.182] (port=49986 helo=xsjalistai50.xlnx.xilinx.com) by xsj-tvapsmtp02 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1aPJwz-0002uR-UF; Fri, 29 Jan 2016 17:03:41 -0800 From: Alistair Francis <alistair.francis@xilinx.com> To: <qemu-devel@nongnu.org>, <peter.maydell@linaro.org>, <fred.konrad@greensocs.com> Date: Fri, 29 Jan 2016 17:01:06 -0800 Message-ID: <3773810bc35eae3c3b233397f0cc215823d861cc.1454115217.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <cover.1454115217.git.alistair.francis@xilinx.com> References: <cover.1454115217.git.alistair.francis@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSS-7.1.0.1679-8.0.0.1202-22054.006 X-TM-AS-Result: No--8.556-7.0-31-10 X-imss-scan-details: No--8.556-7.0-31-10 X-TMASE-MatchedRID: sIFhPOJoHxDEQS2ecfkpF+KXavbHY/C1aKOmfvbK5N5L1Xqyz75y8tKe uoOP1lbomWaUOJoTiYg1XT/wMQve+dlnkI1u79lBDB+ErBr0bAMwCmrLlx+SdZsoi2XrUn/Jn6K dMrRsL14qtq5d3cxkNTNpc4k18MbtUKK72inaMIw0XlCyhtYE5wMVo2ePmHqw7mMDHeEieMw= X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.96; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(87936001)(5003600100002)(5003940100001)(86362001)(118296001)(105606002)(575784001)(85426001)(2201001)(5001770100001)(47776003)(50986999)(33646002)(48376002)(189998001)(6806005)(76176999)(586003)(2906002)(92566002)(71366001)(229853001)(50466002)(1220700001)(36756003)(3470700001)(106466001)(19580395003)(4326007)(50226001)(5008740100001)(64026002)(2950100001)(77096005)(1096002)(5001960100002)(19580405001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1NAM02HT050; H:xsj-tvapsmtpgw01; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 5d3390c9-f7c5-4e73-19f0-08d329113332 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1NAM02HT050; X-Microsoft-Antispam-PRVS: <7a2329c2413c47e9ae49d3f134370ac4@CY1NAM02HT050.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(8121501046)(5005006)(13024025)(13018025)(13023025)(13017025)(10201501046)(3002001); SRVR:CY1NAM02HT050; BCL:0; PCL:0; RULEID:; SRVR:CY1NAM02HT050; X-Forefront-PRVS: 083751FCA6 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2016 01:03:43.5882 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.96]; Helo=[xsj-tvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT050 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.38.58 Cc: edgar.iglesias@xilinx.com, edgar.iglesias@gmail.com, crosthwaitepeter@gmail.com, afaerber@suse.de, alistair.francis@xilinx.com Subject: [Qemu-devel] [PATCH v3 10/16] xilinx_zynq: add devcfg to machine model X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index 66e7f27..4ae0b13 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -275,6 +275,14 @@ static void zynq_init(MachineState *machine) sysbus_connect_irq(busdev, n + 1, pic[dma_irqs[n] - IRQ_OFFSET]); } + dev = qdev_create(NULL, "xlnx.ps7-dev-cfg"); + object_property_add_child(qdev_get_machine(), "xlnx-devcfg", OBJECT(dev), + NULL); + qdev_init_nofail(dev); + busdev = SYS_BUS_DEVICE(dev); + sysbus_connect_irq(busdev, 0, pic[40-IRQ_OFFSET]); + sysbus_mmio_map(busdev, 0, 0xF8007000); + zynq_binfo.ram_size = ram_size; zynq_binfo.kernel_filename = kernel_filename; zynq_binfo.kernel_cmdline = kernel_cmdline;