From patchwork Thu Apr 30 18:14:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Covington X-Patchwork-Id: 466674 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 5BA7B14031A for ; Fri, 1 May 2015 04:15:44 +1000 (AEST) Received: from localhost ([::1]:45255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynszu-0004Dk-GX for incoming@patchwork.ozlabs.org; Thu, 30 Apr 2015 14:15:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnszI-0003J3-A8 for qemu-devel@nongnu.org; Thu, 30 Apr 2015 14:15:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnszD-0001sE-5G for qemu-devel@nongnu.org; Thu, 30 Apr 2015 14:15:04 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:34144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnszC-0001rr-Ve for qemu-devel@nongnu.org; Thu, 30 Apr 2015 14:14:59 -0400 Received: by pdbqa5 with SMTP id qa5so68093930pdb.1 for ; Thu, 30 Apr 2015 11:14:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=x2AT8c93RaqVZN3XcmGM0tBwqpXQs5Bnovm2itLwmJ8=; b=gRT9V0CZGQ2a6K6pY5HMFSiqSIjTgJkb1GOWnxXzWL7bVLy7faHttUdOF+cp2/Hoqg n39jeF8z1eV0ZGq9mxJk0oyNWnQIWaZlYIabnaUBibVpErIyh+iUql6MVixXR9l0tIxq twygkPkH/7DjUMZmlZ3v9JwJW5n37kJRaBLpTgKn+as/e4V/W48x0BLPuZh0tm4gNad0 43W/BsZCkaTm4BLHFuewI6mLfYN8NdV6C65+qkn/NbLMxwHIjDquYlKLVmNqckmOavoY Hz3WN2Inw7tN8qY7bu81RkPd4KUjwSJKYO9seQh2BjF8XN5w0Wqs03F/d/fspeNept9S bAmg== X-Gm-Message-State: ALoCoQn+1jGatf4SNlllo6TtruwRqDSifpOC5ngV5aexNOydlqwQP0pPw0P4IpHRdLW+m4wGl4Iy X-Received: by 10.70.135.195 with SMTP id pu3mr10848250pdb.0.1430417697265; Thu, 30 Apr 2015 11:14:57 -0700 (PDT) Received: from covaro.wlan.qualcomm.com (rrcs-67-52-130-29.west.biz.rr.com. [67.52.130.29]) by mx.google.com with ESMTPSA id y2sm2799818pbt.46.2015.04.30.11.14.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Apr 2015 11:14:56 -0700 (PDT) From: Christopher Covington To: peter.maydell@linaro.org, qemu-devel@nongnu.org Date: Thu, 30 Apr 2015 14:14:23 -0400 Message-Id: <1430417667-4245-1-git-send-email-christopher.covington@linaro.org> X-Mailer: git-send-email 1.9.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.173 Cc: Christopher Covington Subject: [Qemu-devel] [RFC 1/5] arm64: Add PMINTENCLR_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 The Linux kernel accesses this register early in its setup. Signed-off-by: Christopher Covington --- target-arm/helper.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target-arm/helper.c b/target-arm/helper.c index d77c6de..6aeb77c 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -954,6 +954,11 @@ static const ARMCPRegInfo v7_cp_reginfo[] = { .access = PL1_RW, .type = ARM_CP_ALIAS, .fieldoffset = offsetof(CPUARMState, cp15.c9_pminten), .resetvalue = 0, .writefn = pmintenclr_write, }, + { .name = "PMINTENCLR_EL1", .state = ARM_CP_STATE_AA64, + .opc0 = 3, .opc1 = 0, .crn = 9, .crm = 14, .opc2 = 2, + .access = PL1_RW, .type = ARM_CP_ALIAS, + .fieldoffset = offsetof(CPUARMState, cp15.c9_pminten), + .resetvalue = 0, .writefn = pmintenclr_write, }, { .name = "VBAR", .state = ARM_CP_STATE_BOTH, .opc0 = 3, .crn = 12, .crm = 0, .opc1 = 0, .opc2 = 0, .access = PL1_RW, .writefn = vbar_write,