From patchwork Mon May 18 19:15:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 48717 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0174C21411 for ; Mon, 18 May 2015 19:24:39 +0000 (UTC) Received: by wgtl5 with SMTP id l5sf57495728wgt.1 for ; Mon, 18 May 2015 12:24:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=zkAdSgrfPeioncHXP+9lGP3MwuGefYzaftRfGHlF4bs=; b=EQo7cYAM6NgmWmPEfiH0XMUW0HzU+Qp7O1EzJa1Iau+BBa55uYzCiqEOYLTquxYU8X B4wBN0Hu0dA23UAF1FP2kPt4II3ZRhgDlOLwFntHLTyVctLTt7asFgXZuBemJPbEbqHP CEvUjA7w2zsDuP56zF3kocEBEzj5uKHIOt4mlDmDhXPRsxNl2QvytGZ++YQEbd9ZClnn 99jyM4NouKKsaw4PA0WIqE5Q+eBqoTHo7vU9rta4Pe9dbmoMHfhMjgQXfIoPIzQCtgTi 2fksXzYQPboxnZ/myVjHinr/WI4keuyLoKNDYZopkdojayM3c7hlJIFFK+VHpvHk+lp3 3aLg== X-Gm-Message-State: ALoCoQnS0sQun+ZdnjreJ9Mc6URmH3bey+tJvcxuUbJjv3JSvoqThuKkKCyYyfxWb8Kc0/cp2JUo X-Received: by 10.180.105.226 with SMTP id gp2mr10941260wib.1.1431977078263; Mon, 18 May 2015 12:24:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.163.65 with SMTP id yg1ls709982lab.26.gmail; Mon, 18 May 2015 12:24:38 -0700 (PDT) X-Received: by 10.112.198.8 with SMTP id iy8mr18506273lbc.44.1431977078105; Mon, 18 May 2015 12:24:38 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id sw10si7272052lbb.158.2015.05.18.12.24.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2015 12:24:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by labbd9 with SMTP id bd9so234908800lab.2 for ; Mon, 18 May 2015 12:24:37 -0700 (PDT) X-Received: by 10.152.4.137 with SMTP id k9mr18255237lak.29.1431977077805; Mon, 18 May 2015 12:24:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp284554lbb; Mon, 18 May 2015 12:24:36 -0700 (PDT) X-Received: by 10.55.51.141 with SMTP id z135mr51352180qkz.84.1431977076178; Mon, 18 May 2015 12:24:36 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id d33si7127750qge.52.2015.05.18.12.24.35 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 May 2015 12:24:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:42715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQeQ-0000Bw-L8 for patch@linaro.org; Mon, 18 May 2015 15:24:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQVi-0001Ym-3u for qemu-devel@nongnu.org; Mon, 18 May 2015 15:15:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuQVd-0008Ub-LN for qemu-devel@nongnu.org; Mon, 18 May 2015 15:15:34 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuQVd-0008QT-65 for qemu-devel@nongnu.org; Mon, 18 May 2015 15:15:29 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1YuQVW-0007vc-91 for qemu-devel@nongnu.org; Mon, 18 May 2015 20:15:22 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 18 May 2015 20:15:20 +0100 Message-Id: <1431976521-30352-21-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1431976521-30352-1-git-send-email-peter.maydell@linaro.org> References: <1431976521-30352-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Subject: [Qemu-devel] [PULL 20/21] target-arm: Correct accessfn for CNTV_TVAL_EL0 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Message-id: 1431499963-1019-3-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell --- target-arm/helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-arm/helper.c b/target-arm/helper.c index b6d2310..21b4531 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -1364,6 +1364,7 @@ static const ARMCPRegInfo generic_timer_cp_reginfo[] = { { .name = "CNTV_TVAL_EL0", .state = ARM_CP_STATE_AA64, .opc0 = 3, .opc1 = 3, .crn = 14, .crm = 3, .opc2 = 0, .type = ARM_CP_NO_RAW | ARM_CP_IO, .access = PL1_RW | PL0_R, + .accessfn = gt_vtimer_access, .readfn = gt_tval_read, .writefn = gt_tval_write, }, /* The counter itself */