From patchwork Wed May 13 06:52:43 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: 471719 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 8710D140D16 for ; Wed, 13 May 2015 17:07:55 +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=mcLSfOu9; dkim-atps=neutral Received: from localhost ([::1]:46757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsQll-0006ot-Kd for incoming@patchwork.ozlabs.org; Wed, 13 May 2015 03:07:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsQlH-00066Q-KI for qemu-devel@nongnu.org; Wed, 13 May 2015 03:07:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsQlC-00053U-Ht for qemu-devel@nongnu.org; Wed, 13 May 2015 03:07:23 -0400 Received: from mail-pd0-x235.google.com ([2607:f8b0:400e:c02::235]:34968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsQlC-00053G-9q for qemu-devel@nongnu.org; Wed, 13 May 2015 03:07:18 -0400 Received: by pdbqd1 with SMTP id qd1so42234015pdb.2 for ; Wed, 13 May 2015 00:07:17 -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=mcLSfOu9KE61LXcIBhkQxNoY6SjDP0qzpOspkqjOfDcL8eK538qhLnJPDgQxS5lYva uXKIPY8mwioMC74RmQz4qe8Pqubs1n5JZ14TGls7cCQNbjsH7yGGjlyWPvSEGMz7NgCV VRRC47nmc61A3QXN7UsnpCMbbIegY4hKGdVSlKuEPnsDlCvhCwzYj5pR41rrA9zkqHLt oNX/ZxPnUAQKjW9BZiuY2IRcPuE0H8w9wV7mbOn1p4TxdLkoCG5O9FiUUdYtkIHDYn9s qF9QsrIzJq8B+Gx4CyAivNJDyQbP2SUsyV4ONTDzHgeoqlYhdvfRip1CJd2pVBHVF9/P MdUg== X-Received: by 10.70.133.170 with SMTP id pd10mr34948788pdb.127.1431500837593; Wed, 13 May 2015 00:07:17 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id fp3sm18249461pdb.52.2015.05.13.00.07.16 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 13 May 2015 00:07:17 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Wed, 13 May 2015 16:52:43 +1000 Message-Id: <1431499963-1019-19-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431499963-1019-1-git-send-email-edgar.iglesias@gmail.com> References: <1431499963-1019-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::235 Cc: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, alex.bennee@linaro.org, agraf@suse.de, greg.bellows@linaro.org Subject: [Qemu-devel] [PATCH v1 18/18] 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,