From patchwork Thu Sep 3 20:14:19 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: 514235 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 7BBC3140771 for ; Fri, 4 Sep 2015 06:15:33 +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=04RcHAw5; dkim-atps=neutral Received: from localhost ([::1]:51605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXaux-0001rG-Nx for incoming@patchwork.ozlabs.org; Thu, 03 Sep 2015 16:15:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXauM-0000qx-Cn for qemu-devel@nongnu.org; Thu, 03 Sep 2015 16:14:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXauJ-0006sK-31 for qemu-devel@nongnu.org; Thu, 03 Sep 2015 16:14:54 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:36709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXauI-0006sD-T1 for qemu-devel@nongnu.org; Thu, 03 Sep 2015 16:14:51 -0400 Received: by oibi136 with SMTP id i136so437577oib.3 for ; Thu, 03 Sep 2015 13:14: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=2qx87gKSw988xlgl8dwJbZu3qU/hZxutQlwjh5CV6WE=; b=04RcHAw5DfXPf7O5jW7B1C6SRW7fJtQpl2yC5Afjr3etwcBW01O6jGEHtupyOhJY/v UoByJ2iDsnoOv549n+uOxw0PzTO4Eo+8EvtxDJev/ncprYhBNbVtWqPgsia7if2oHktP s5ftdY4LH6Si6+qqd8BZh0bOKrodIGvKF4ahkKMDIkYv7OnfzdAsxju53IMqyiZi3HxR PKkyjOvPbFy/r4ia9ZS/Vb0f5ZXuJqoaHuCEbA7txQUBNE2USKAIl7CG1/jxIQ9anZQi jN22HdjG8gSclO3C+pxKufnV0fb+0qAT/7hMheO0lTPagZxa+Up/p2kBD8qT5CWlUV2X AxMQ== X-Received: by 10.202.205.133 with SMTP id d127mr8930352oig.9.1441311290301; Thu, 03 Sep 2015 13:14:50 -0700 (PDT) Received: from localhost (ec2-52-8-89-49.us-west-1.compute.amazonaws.com. [52.8.89.49]) by smtp.gmail.com with ESMTPSA id w7sm17605695oes.13.2015.09.03.13.14.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Sep 2015 13:14:49 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Thu, 3 Sep 2015 22:14:19 +0200 Message-Id: <1441311266-8644-4-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441311266-8644-1-git-send-email-edgar.iglesias@gmail.com> References: <1441311266-8644-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:4003:c06::234 Cc: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, alex.bennee@linaro.org, agraf@suse.de Subject: [Qemu-devel] [PATCH v1 03/10] target-arm: Add AArch64 access to PAR_EL1 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 Reviewed-by: Alistair Francis --- target-arm/helper.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target-arm/helper.c b/target-arm/helper.c index 4234e7c..a057a70 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2993,6 +2993,12 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { { .name = "AT_S1E3W", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 6, .crn = 7, .crm = 8, .opc2 = 1, .access = PL3_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "PAR_EL1", .state = ARM_CP_STATE_AA64, + .type = ARM_CP_ALIAS, + .opc0 = 3, .opc1 = 0, .crn = 7, .crm = 4, .opc2 = 0, + .access = PL1_RW, .resetvalue = 0, + .fieldoffset = offsetof(CPUARMState, cp15.par_el[1]), + .writefn = par_write }, #endif /* TLB invalidate last level of translation table walk */ { .name = "TLBIMVALIS", .cp = 15, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 5,