From patchwork Tue Dec 20 22:42:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 9482383 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4FB97606DB for ; Tue, 20 Dec 2016 23:19:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32DDF28335 for ; Tue, 20 Dec 2016 23:19:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 238C928343; Tue, 20 Dec 2016 23:19:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id A400F28335 for ; Tue, 20 Dec 2016 23:19:22 +0000 (UTC) Received: from localhost ([::1]:53966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJTgn-0005Zt-Qb for patchwork-qemu-devel@patchwork.kernel.org; Tue, 20 Dec 2016 18:19:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJTfJ-0004Vf-Q3 for qemu-devel@nongnu.org; Tue, 20 Dec 2016 18:17:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJTfE-0002Ce-Qa for qemu-devel@nongnu.org; Tue, 20 Dec 2016 18:17:49 -0500 Received: from mail-bl2nam02on0068.outbound.protection.outlook.com ([104.47.38.68]:45216 helo=NAM02-BL2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJTfE-0002C4-LN for qemu-devel@nongnu.org; Tue, 20 Dec 2016 18:17:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1upRF7mN+oNhwp172Qw+pvgbStJ3Zi+4TFGzDDpkDeA=; b=AsEWALtgZz/4p69YFSXznQtmzmLjioPnCnXL+gZ3mLo4KR762cNcrRAvKAUA4W+LYSfeW/poKifokvilJPo5CwTQ6rJ0PYZxoiXH/AxE1FmbhQP9GtA80fARw1dDgWZBaix/j3tT92n24s2LRxwPBPS4ucX2DYa6hE1rpwnhK8I= Received: from BN6PR02CA0044.namprd02.prod.outlook.com (10.173.146.158) by BN6PR02MB2770.namprd02.prod.outlook.com (10.175.95.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14; Tue, 20 Dec 2016 22:43:56 +0000 Received: from CY1NAM02FT057.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::209) by BN6PR02CA0044.outlook.office365.com (2603:10b6:404:5f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14 via Frontend Transport; Tue, 20 Dec 2016 22:43:56 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; nongnu.org; dkim=none (message not signed) header.d=none;nongnu.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT057.mail.protection.outlook.com (10.152.75.110) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Tue, 20 Dec 2016 22:43:55 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1cJT8V-0002ye-2O; Tue, 20 Dec 2016 14:43:55 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1cJT8U-0006C5-UK; Tue, 20 Dec 2016 14:43:54 -0800 Received: from [172.19.74.182] (helo=xsjalistai50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1cJT8R-0006Ay-Qt; Tue, 20 Dec 2016 14:43:51 -0800 From: Alistair Francis To: , , , Date: Tue, 20 Dec 2016 14:42:06 -0800 Message-ID: <5b9a682feb30a4c22b068d698d65063c299d24cf.1482265908.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22772.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39410400002)(39860400002)(39850400002)(39840400002)(39450400003)(2980300002)(438002)(189002)(199003)(5001770100001)(77096006)(38730400001)(76176999)(50466002)(48376002)(33646002)(50986999)(39060400001)(118296001)(47776003)(92566002)(5003940100001)(36386004)(63266004)(626004)(6666003)(5660300001)(189998001)(106466001)(8676002)(36756003)(575784001)(8936002)(2201001)(2906002)(305945005)(4326007)(356003)(2950100002)(9786002)(81166006)(50226002)(81156014)(41533002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2770; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT057; 1:Rb7XJYqoB2hr8vtyoxngjJxPAntVRSrI2Ro5vyarf/x4iTNFGDJqAW+1rS571of8TSCwOiLaS8Ac69fWPLgMx6saDLNKNkEoPEZ+laTnEXvXvgXtmUh1+cmPkPExoXRjJygRFi4Bo305iwYS+vBOflrcmpXUGJIwAA3nS/Ye76DSQ29Vm5C0f1xRV8meLJnu+W0UZc0CiV0ndc2/6Nc1L61obBAXDBaQ9cSnJLyavv1xigGw6xnscx2fqWqzoXXXI7YIHxyYnrCdPtMMA633QqZZH3uO6GZqmRI4dOFCJZWdMcEdmtb8QZqotL7/IbjNNb4+yUk5FjnYMJcnAE592X7vcRiU+XYQRVfgXN5g7X8pEQDuu9w1K2EZoXjDGKBFI1S2RJ1S2tysOGGqcP0J96wFtNzL6a+CXZOHlcYj+8DIvWJNWdYU5n0WAEG8Ach7y5PbsiGywKg0icE6FQy2P65Yh1ZKGLQUCzdwNaL+xgtcmyvDb7CTbhV1BQGMmvAzedF0tTYSylqndDU5hdwCZeT3RCsCs1SbBlSDVCkCp+DQxoOgSNWYHl31x/eOEu45fL5H2B1Qt4woA6Wr5HC6bg== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0a38f05f-bf7e-483c-e725-08d42929ae41 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN6PR02MB2770; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2770; 3:3A5lMy2iX/NQZuLFCrY/nN7/p5yXDw/fzwg4rLugmvhpzlnvhrQdGqDDaWAy+FE3XCNMySB2/Z6fdH7FZ6Zwaa7h0/x5ha+M+q537Lxb7w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SwpmJS6kV5hO5XvVMT/fuM1L93LfumjQSB5RNnlizROdIG+aBVwZOfy8lBJtNFaf1AKn7NnUkonEvN/VKCQkQTZKVFssomiPDErlPc7nqKLG4DhU/6xU1bngiPGzlWinTNxB2G//RR5WNfY= X-LD-Processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2770; 31:Dt7A3VakWHvAiNpas/B5//tTA4BukSxEhaS7D8uAhdPZ3oN8Sr1VhP2yzcflh24o+zDU0u6Eu27lgl/04TCCsixfuEaYdbrZonmxiNRSEe584kORYN5L284/L8XztnmWTdhB7eF0nF6Qad49cF648S45n+6F5BTIRLGuovL42L8SzdnGVAxu8TxMrfqiXj+9Y0+tGroIdCoPmds1Fcpq2ODs8mxb0ZEQBFuvblggVyMtBConNFW7+Ax/nqMQ18JUjBMbPCjWK7hSRTWcdn2CWg==; 20:qYuZxXpmPaKXnFuO57o88c0maoUHaORBya8gcl7jjJdapF+j/1gBmkUYTdBQU0YItzeJAq8e59WT6Zle1+smtMYq6eoAdbYYRUrItlbXwGWZpvzhs3LVAogrk+dhNZGGDAE1faeNBycALoO2/YwnSFJCTLY7qbSLc2wwUQtBMeDXKtYpDD3nKcexdqp/ah7xAsdq8I0fbl+aRrw2Mq18ibWpBcIS5mhiLQKvI9Mb7AJ94F9K7+V32Cs6Ara8utGnOjDsa0S0SAYfT64/fDhf19hGpEatNdk081SD76w3JFAGYT/94PiM90K7i+jwExb9vdy7ZTxp7O7+yoiJP5EyydEalpyBYh1iAFuyAfzrL5gBqJgkSrpThD16njJtZ9dYptqPB8PHKrY2eA+8vDLLShdU2lKXf2MmxkHDa3wMBqgYS0Ru0CBMxgoBRBUl5YzS/gSdTih9gOIKnwF0suIhAtCoriivP444t3JPzzBFmb1mTQe2Aj3e0cLNF278dUCJ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592)(21532816269658); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(13015025)(13023025)(13017025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558021)(6072148); SRVR:BN6PR02MB2770; BCL:0; PCL:0; RULEID:; SRVR:BN6PR02MB2770; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2770; 4:radgPxAoJrekCLJMrGcq9UV6M59t0obxWbY4OH9PX464S4JjhMFaYQnQleE1vyqJZs5QHWmdhAryNqgTXvEmZXkk4UHY3PPKONS7i+Dh4CPzSPQcJS6p2gsen/3cmVJIJiMpiU9vBcUu6SBOtR+5F3OTCn3l4XRdOmAVOJ5d6AZp/U5M56/iEcqomO2sXFZw1XAw1MFJ5z/ps3gVf3WGV2MJRZrtUgeJ5UjEfDTLmdZxYBSpnVR7BbDiaBu+vSC5o5wAi61/twa/Jo8Ma/eIFk4CAH6nSC0qhGWLpU/c6YJwZ29nNKs9H7QnHRGaIKwzKfw0mOvxcwYvpVvfEVCIMO24tzNiePmIw/ZQ54bTi0vs5E+tGQsRcVD4s1RiKG3ZgfwgVrDC5OI55bcrGOt5TcgvzHrzryXFYnI/Fw4LetX+P3Jc6STJWz5A1ooNvrIwPzkVcdvCtr8CihinRpVG/+Q7nrbB5ReVXS1EbreiASzc9NlNKFWp3yQ+NoiNWQVW4tI9RuAEQmxx2suAh8FznxSaqgQdEWf67fw7EoxCAaxhhWuvdmLtkXRuocTHIuj0Cq9bn4Pi1Zzy9gnkjDf7/wjs8h6VYMiYQ1PuY4+35mNpGl5F6nGgX2PlQx/WVMPWVb0U+SY+QoVmPdPYwo/Fhl67NA+8muYIXJCwX6l00cy4mjTgOMujoi6ON/s0T0zoZ3Eo1nKE0dDSDXhtwwTkC3S7CEhGuxzcjMpax+qsES43nT1NySBQCj0BA2h2//Sr8UPaLqBd6OvcYe06/Au8fy4bEYTY1QLVDk8BICDofdg= X-Forefront-PRVS: 0162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ur2AePNb6eg==; 24:pjlJxJCAfZa+dnVj2Xtr6rqd2ta43eDDZt7fIzC2cQW20FMvJHb/8g7vW4By0mQI28XGHt599VWQ2J43EqvKkngvm1chrGMGIJxddux1/R0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2770; 7:t1r3uiod9HmnFqN32V/4/KHikBKzmRfwXxAt0+K4nU/Z4dphbH54grJfFXO4kEbelBnXWHH8UGcw39LgPuDgl3p42auc0ywKQbarJK3emPyZitArkrDyAyz/BdJqozVHqhYX2sqRNQ+Xgdt7ipnH77W8yd4CK8EEKXvSHakxgSCS6PXWr/g/YFv9aSbeKxeGVZY+4uqpAOCAANADrSQjNx/I2l4ZxhT9+4LapAXArtk+584As4XrXNMJBsIBoXd9Pfs/wnFISialbT02ponGW67JFHm6G9CERE2wUah8t1lfbGjbzDTaaaGtxQkFZq1p3iY90mds9lktiVCRhJ+m1AWLUMibB0PF5unx7+k5/pS3PlJliVzOlx++EInz6pB1jgovUIB0yh3pOPhtNNJ6kJWPTMRP6cSf3UvYH3jr6LR4/Gbd35vi4Nl6w6YEXfHSAaXDurEDnFMPPF3MvpaYWg== X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2016 22:43:55.6128 (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.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2770 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.38.68 Subject: [Qemu-devel] [PATCH v3 3/3] xlnx-zynqmp: Connect the ARM Generic Timer X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alistair23@gmail.com, alistair.francis@xilinx.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Alistair Francis --- hw/arm/xlnx-zynqmp.c | 14 ++++++++++++++ include/hw/arm/xlnx-zynqmp.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/hw/arm/xlnx-zynqmp.c b/hw/arm/xlnx-zynqmp.c index 0d86ba3..f3891ae 100644 --- a/hw/arm/xlnx-zynqmp.c +++ b/hw/arm/xlnx-zynqmp.c @@ -38,6 +38,8 @@ #define SATA_ADDR 0xFD0C0000 #define SATA_NUM_PORTS 2 +#define ARM_GEN_TIMER_ADDR 0xFF260000 + #define DP_ADDR 0xfd4a0000 #define DP_IRQ 113 @@ -172,6 +174,10 @@ static void xlnx_zynqmp_init(Object *obj) qdev_set_parent_bus(DEVICE(&s->spi[i]), sysbus_get_default()); } + object_initialize(&s->arm_gen_timer, sizeof(s->arm_gen_timer), + TYPE_ARM_GEN_TIMER); + qdev_set_parent_bus(DEVICE(&s->arm_gen_timer), sysbus_get_default()); + object_initialize(&s->dp, sizeof(s->dp), TYPE_XLNX_DP); qdev_set_parent_bus(DEVICE(&s->dp), sysbus_get_default()); @@ -405,6 +411,14 @@ static void xlnx_zynqmp_realize(DeviceState *dev, Error **errp) g_free(bus_name); } + object_property_set_bool(OBJECT(&s->arm_gen_timer), true, "realized", &err); + if (err) { + error_propagate(errp, err); + return; + } + sysbus_mmio_map(SYS_BUS_DEVICE(&s->arm_gen_timer), 0, ARM_GEN_TIMER_ADDR); + sysbus_mmio_map(SYS_BUS_DEVICE(&s->arm_gen_timer), 1, ARM_GEN_TIMER_ADDR - 0x10000); + object_property_set_bool(OBJECT(&s->dp), true, "realized", &err); if (err) { error_propagate(errp, err); diff --git a/include/hw/arm/xlnx-zynqmp.h b/include/hw/arm/xlnx-zynqmp.h index c2931bf..8deabb4 100644 --- a/include/hw/arm/xlnx-zynqmp.h +++ b/include/hw/arm/xlnx-zynqmp.h @@ -26,6 +26,7 @@ #include "hw/ide/ahci.h" #include "hw/sd/sdhci.h" #include "hw/ssi/xilinx_spips.h" +#include "hw/timer/arm_generic_timer.h" #include "hw/dma/xlnx_dpdma.h" #include "hw/display/xlnx_dp.h" @@ -83,6 +84,7 @@ typedef struct XlnxZynqMPState { SysbusAHCIState sata; SDHCIState sdhci[XLNX_ZYNQMP_NUM_SDHCI]; XilinxSPIPS spi[XLNX_ZYNQMP_NUM_SPIS]; + ARMGenTimer arm_gen_timer; XlnxDPState dp; XlnxDPDMAState dpdma;