From patchwork Tue Jun 2 16:33:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 49421 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2217B20BD1 for ; Tue, 2 Jun 2015 16:40:28 +0000 (UTC) Received: by wgez8 with SMTP id z8sf41837478wge.2 for ; Tue, 02 Jun 2015 09:40:27 -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=molE0Bz1PXr6dfdIpqmnHf3/k24r47julIFjMjuczDQ=; b=Yd2vjxigdFTTRw7ndc03tICRCMgXNzrp5OS/bJdvN1w+BsmefhgKAJq50ifLEnoNB9 F6laBPA7xGyWPfoJEuFVdjD/R/fZfUzYZjKMQDItc7Jq37WLtu8W+hB35mS5/r4JjXC9 FBWnvbCHVgyg4UC7H0t2kSMB8lHgnUe1staeQpByuweSEvZeM7XwBKP5BLsGhKg1hS8L nSbRBY4dfRI9rdxIBpTUa3HTJdp+bP3GBS9orNBjurIov6TB5ZN2BQ+RHQCwj8hq2hKd zZPx1MgEf5pOg1xCmHqgjdXQSEwHPSAFTPbvmi9VLEBWjbXIcZkaZZx90IzgnHVW4wBP Uuog== X-Gm-Message-State: ALoCoQk+TrSFr+D4HcJQ/rSj7ZbI4rlY0RdRvgjPVhTGixTBg6SxVJIBLB1L4NkTNpVCF57Plt/8 X-Received: by 10.194.142.205 with SMTP id ry13mr26486189wjb.2.1433263227475; Tue, 02 Jun 2015 09:40:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.133 with SMTP id y5ls280147laj.19.gmail; Tue, 02 Jun 2015 09:40:27 -0700 (PDT) X-Received: by 10.112.234.200 with SMTP id ug8mr26729307lbc.117.1433263227313; Tue, 02 Jun 2015 09:40:27 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id la8si15500838lac.141.2015.06.02.09.40.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jun 2015 09:40:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbcmx3 with SMTP id mx3so108272496lbc.1 for ; Tue, 02 Jun 2015 09:40:27 -0700 (PDT) X-Received: by 10.152.29.161 with SMTP id l1mr26917415lah.76.1433263227184; Tue, 02 Jun 2015 09:40:27 -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 hn6csp3201720lbb; Tue, 2 Jun 2015 09:40:26 -0700 (PDT) X-Received: by 10.55.26.167 with SMTP id l39mr48512780qkh.4.1433263225490; Tue, 02 Jun 2015 09:40:25 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 131si16281457qhw.45.2015.06.02.09.40.24 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 02 Jun 2015 09:40:25 -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]:59785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzpEm-0005Ev-JE for patch@linaro.org; Tue, 02 Jun 2015 12:40:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzp8b-0001qq-CY for qemu-devel@nongnu.org; Tue, 02 Jun 2015 12:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzp8a-0000wr-AA for qemu-devel@nongnu.org; Tue, 02 Jun 2015 12:34:01 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzp8a-0000r2-2r for qemu-devel@nongnu.org; Tue, 02 Jun 2015 12:34:00 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Yzp8S-00030x-WC for qemu-devel@nongnu.org; Tue, 02 Jun 2015 17:33:53 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 2 Jun 2015 17:33:37 +0100 Message-Id: <1433262832-11527-8-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1433262832-11527-1-git-send-email-peter.maydell@linaro.org> References: <1433262832-11527-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 07/22] target-arm: Add TLBI_ALLE1{IS} 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.217.173 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: 1432881807-18164-9-git-send-email-edgar.iglesias@gmail.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- target-arm/helper.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target-arm/helper.c b/target-arm/helper.c index 54c7041..5505ba5 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2368,6 +2368,14 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 14, .opc2 = 2, .access = PL1_W, .type = ARM_CP_NOP }, /* TLBI operations */ + { .name = "TLBI_ALLE1", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 4, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbiall_write }, + { .name = "TLBI_ALLE1IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 4, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbiall_write }, { .name = "TLBI_VMALLE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 0, .access = PL1_W, .type = ARM_CP_NO_RAW,