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: 1992651 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E54903FDD1 for ; Wed, 16 Jan 2013 18:00:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756447Ab3APSAY (ORCPT ); Wed, 16 Jan 2013 13:00:24 -0500 Received: from mail-vc0-f173.google.com ([209.85.220.173]:39764 "EHLO mail-vc0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755922Ab3APSAX (ORCPT ); Wed, 16 Jan 2013 13:00:23 -0500 Received: by mail-vc0-f173.google.com with SMTP id fl15so1630430vcb.32 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=T4vxBfEIEsU/cH+xogjNdVrrrhyOSnSFZWbFODKP+4jC0CR95u7zsuweMXJqhD2F/o UZxMQBN9TxJrJ8FIftaLiZxMHYjTj7dO2bZZM3Ivi3dnFrRWEsa0b8NyucPOEJXEBn04 ftMKWEv+Cp/pvzmFutI2ARE3kG5h9pFtyFle1U+boI86wqlZl3nriYeRTEhChG6BQvaE g9D/zHSUs04sWl5o0utlgznN8ejVTUtHxX/P6fbXR1DXavpizD5AoRHmsExoYVALeDnu E9tTVwrIuJD+elMIbZQDLt5hnwZLiAJVv0J6k91aaLe74DFo9rr2qBLmF+MPDCsx9flY 5apg== 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 Cc: Marc Zyniger , Will Deacon 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: ALoCoQnBbftPZiAKnKBQGlgDaqQsCuDUJumZJwQw+h1NdIWVmQkE7jxO0yHCdcQjdil6xtnj4/CG Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.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(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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