From patchwork Fri May 29 06:43:27 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: 477611 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 A1980140DED for ; Fri, 29 May 2015 17:00:21 +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=EiQGvtRI; dkim-atps=neutral Received: from localhost ([::1]:33989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyEHD-00040N-VB for incoming@patchwork.ozlabs.org; Fri, 29 May 2015 03:00:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyEDv-0005zz-0A for qemu-devel@nongnu.org; Fri, 29 May 2015 02:56:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyEDr-0001YZ-OL for qemu-devel@nongnu.org; Fri, 29 May 2015 02:56:54 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:38219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyEDr-0001YT-IS for qemu-devel@nongnu.org; Fri, 29 May 2015 02:56:51 -0400 Received: by wizo1 with SMTP id o1so11501381wiz.1 for ; Thu, 28 May 2015 23:56:50 -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=CrbhH1SHgP1Szv59RZ+NUgUmqOTYxe8B51H0yM5p1x8=; b=EiQGvtRI1ZMA0I9YXeI7BiL/u/czGo6qDiuNamcug3klZ9VB9hOUZCSAkB2RaArvN/ VFqC1Us1dhKo1QBkQjU3uijzivdJRKZHLZMqaMsNsYPuztqoTFvESbm+e1/+SvmzXAd6 cWNIqqSKIbgdzBmIwJ8cB/MCfN+NQmzCuRvbiFQ4lw62O9vAgR3rstPHxHosPoSPsSRP ze5oKM7meS54I6oyYQ/1XUr0fmBKscqu5rLVGUlkgiCVJv+uhn7JNv9SMuVoQXrWErKh grs5m1oaaJhuiqBaWl9UwzUO0JQoq8mLiBIKmh749i2buAEwxKg2aAMiW9DPvqFZ6ccw XtMw== X-Received: by 10.180.84.6 with SMTP id u6mr3395291wiy.87.1432882610845; Thu, 28 May 2015 23:56:50 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id kc4sm6853577wjc.2.2015.05.28.23.56.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 28 May 2015 23:56:50 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Fri, 29 May 2015 16:43:27 +1000 Message-Id: <1432881807-18164-16-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432881807-18164-1-git-send-email-edgar.iglesias@gmail.com> References: <1432881807-18164-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: 2a00:1450:400c:c05::231 Cc: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, alex.bennee@linaro.org, agraf@suse.de Subject: [Qemu-devel] [PATCH v3 15/15] 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 6e939d8..e85d118 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -397,6 +397,9 @@ static void create_gic(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,