From patchwork Wed Jan 16 18:00:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1992971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 21F2BDF2A2 for ; Wed, 16 Jan 2013 18:13:03 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TvXPY-0000k3-5V; Wed, 16 Jan 2013 18:08:30 +0000 Received: from mail-vb0-f54.google.com ([209.85.212.54]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TvXHk-0004RF-Cg for linux-arm-kernel@lists.infradead.org; Wed, 16 Jan 2013 18:00:26 +0000 Received: by mail-vb0-f54.google.com with SMTP id l1so1634461vba.27 for ; Wed, 16 Jan 2013 10:00:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=d89VestdlNwHgFePoU5O5fQJvKgiBzDNFuWVzlDweC8=; b=PmsDJiqjJ0IxCq2jU+dG2dVKzkVJDs5EsFYJvPyhAuKp+fSAB4WUD3YVfrJEd1LrX+ EqAc3fTeq768lGCoWMBnSHVwCuTh7PeAQdjhXFDQlRCy12dDlFWKo4el+dV/1vT2IRQf MpmvWy/oqOcmwVvl1BJN3/sEzQohrlQ3VfcIpPwG+8HVVpr6S134fudb08cmPE6x2so/ Tr4nTcsIq2qu+AsI5u+3PGYg6juhC7H35L80+C0EvCN7B9wYOlinhZvDzfyKFhd/CkXv WqCGuZpDFwCtxPZgKos/mn6US3e1qF+qva/sCYxk/oTSnNG6/qooh5U9gtdOStzKXjen CRjA== X-Received: by 10.52.74.33 with SMTP id q1mr1991351vdv.36.1358359223086; Wed, 16 Jan 2013 10:00:23 -0800 (PST) Received: from [127.0.1.1] (pool-72-80-83-148.nycmny.fios.verizon.net. [72.80.83.148]) by mx.google.com with ESMTPS id v12sm9737603vem.13.2013.01.16.10.00.22 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jan 2013 10:00:22 -0800 (PST) Subject: [PATCH v6 01/13] ARM: gic: add missing distributor defintions To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu From: Christoffer Dall Date: Wed, 16 Jan 2013 13:00:21 -0500 Message-ID: <20130116180021.29393.69480.stgit@ubuntu> In-Reply-To: <20130116180013.29393.49165.stgit@ubuntu> References: <20130116180013.29393.49165.stgit@ubuntu> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkLaoUfTFtNr6FucxOWRI5ggVXxDv45M7aRLtsOnPnadSA7NQ/9dSndpfHM3IrvT0hser9/ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130116_130025_395753_60B88533 X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.54 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Marc Zyniger , Will Deacon X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add missing register map offsets for the distributor and rename GIC_DIST_ACTIVE_BIT to GIC_DIST_ACTIVE_SET to be consistent. Cc: Marc Zyniger Reviewed-by: Will Deacon Signed-off-by: Christoffer Dall --- arch/arm/include/asm/hardware/gic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/hardware/gic.h b/arch/arm/include/asm/hardware/gic.h index 4b1ce6c..caf5df3 100644 --- a/arch/arm/include/asm/hardware/gic.h +++ b/arch/arm/include/asm/hardware/gic.h @@ -22,11 +22,13 @@ #define GIC_DIST_CTRL 0x000 #define GIC_DIST_CTR 0x004 +#define GIC_DIST_IGROUP 0x080 #define GIC_DIST_ENABLE_SET 0x100 #define GIC_DIST_ENABLE_CLEAR 0x180 #define GIC_DIST_PENDING_SET 0x200 #define GIC_DIST_PENDING_CLEAR 0x280 -#define GIC_DIST_ACTIVE_BIT 0x300 +#define GIC_DIST_ACTIVE_SET 0x300 +#define GIC_DIST_ACTIVE_CLEAR 0x380 #define GIC_DIST_PRI 0x400 #define GIC_DIST_TARGET 0x800 #define GIC_DIST_CONFIG 0xc00