From patchwork Wed May 27 07:27:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 476981 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 117141401B5 for ; Wed, 27 May 2015 17:43:04 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=bw9mGcaH; dkim-atps=neutral Received: from localhost ([::1]:52327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxVzS-0006fZ-1a for incoming@patchwork.ozlabs.org; Wed, 27 May 2015 03:43:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxVwz-0002kF-S7 for qemu-devel@nongnu.org; Wed, 27 May 2015 03:40:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxVwu-0008Qw-Ll for qemu-devel@nongnu.org; Wed, 27 May 2015 03:40:29 -0400 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:34109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxVwu-0008Qj-D9 for qemu-devel@nongnu.org; Wed, 27 May 2015 03:40:24 -0400 Received: by pdbki1 with SMTP id ki1so3271444pdb.1 for ; Wed, 27 May 2015 00:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CFb9Act6pUljC4lqWMwo+kUymDciNCp7SOCFtHVV/dw=; b=bw9mGcaH5kI2kKNWSQWb48GK6PDTvzCbrTMRmoE4dfEt3MWCMUZe5iVwak0aH/EaGI OG9ZNkduTuvNFIi73onEtCnnrM2gKf8stCIQX463CTa00Hbz4LYqY5optjpjjFoEXLBY jGK5CJiHWaq2xIZhni3gObk1sP6n3dJPUxqsC1M2VhaXTvnXArF5aJIGIG3XTX/pI1mA gJ0n/rDBVWj8usfJl3q8vUfp4T8W3+ikbuLbnTZMlfXGd/WHnRSWPK8ECM3NPxckNz6/ 3QJQdXX0y8g/ZkRmhDWjwqIcT5iVYs2V8dFAmxJj9DwJkwXZb2jWKsQuX9+5OoO/8Nav aWDg== X-Received: by 10.70.130.198 with SMTP id og6mr55891783pdb.153.1432712423550; Wed, 27 May 2015 00:40:23 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id w4sm7125683pdl.7.2015.05.27.00.40.21 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 27 May 2015 00:40:23 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Wed, 27 May 2015 17:27:39 +1000 Message-Id: <1432711659-24591-15-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432711659-24591-1-git-send-email-edgar.iglesias@gmail.com> References: <1432711659-24591-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22f Cc: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, alex.bennee@linaro.org, agraf@suse.de, greg.bellows@linaro.org Subject: [Qemu-devel] [PATCH v2 14/14] hw/arm/virt: Connect the Hypervisor timer X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- hw/arm/virt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index a7f9a10..76b6b2e 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -384,6 +384,9 @@ static uint32_t create_gic(const VirtBoardInfo *vbi, qemu_irq *pic) /* virtual timer */ qdev_connect_gpio_out(cpudev, 1, qdev_get_gpio_in(gicdev, ppibase + 27)); + /* Hypervisor timer. */ + qdev_connect_gpio_out(cpudev, 2, + qdev_get_gpio_in(gicdev, ppibase + 26)); sysbus_connect_irq(gicbusdev, i, qdev_get_gpio_in(cpudev, ARM_CPU_IRQ)); sysbus_connect_irq(gicbusdev, i + smp_cpus,