From patchwork Wed Oct 1 08:07:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Suthikulpanit, Suravee" X-Patchwork-Id: 38220 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 01C3620549 for ; Wed, 1 Oct 2014 08:10:18 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id p9sf213636lbv.8 for ; Wed, 01 Oct 2014 01:10:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=OgIWaOuDYIQtOHuedZTsXyWo3bnHvHC1MkUhFx0B+a8=; b=J/GNPaDsSUYx9uT/CA//0jAbvi9SOTX/GvwtR8T6dq1fw++xYNDmkzZmJvg5SjBh7p XMJxXnxujxd43og2+qYXCUYjU2V0ZQFwEZUwVxTbUG1TJ2UIkA4ETBiJwM0yuV/WX/Ki 6QSTN8DEzhLxLM6wdxvP06/3RMa/7IFhv3ZIPptQL+wNYSQCX6kLLtxhCieoIf2pvJK0 ZgEpqLcmqDiixelHti2NJmsuRWjhts0wjx6AL7/u802MC348j/DMPadct6eH7vaTblVY +z++KXgKc2O3LrssytNhLZZ1M+P26ujZWCMTfbA8aP+4+HdC8FM2cSHT9PPVY6Fj2ENs Lyjw== X-Gm-Message-State: ALoCoQlFmg7aBnZ7QBIodSZSTm2YA43VSAoP3oqQ1HhUn27/qrarj+I+8BhLWwiOkmQOwcZ/ZlWN X-Received: by 10.112.131.33 with SMTP id oj1mr7976733lbb.7.1412151017365; Wed, 01 Oct 2014 01:10:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.246.35 with SMTP id xt3ls113780lac.67.gmail; Wed, 01 Oct 2014 01:10:17 -0700 (PDT) X-Received: by 10.112.126.194 with SMTP id na2mr49722316lbb.70.1412151017218; Wed, 01 Oct 2014 01:10:17 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) by mx.google.com with ESMTPS id 8si309518las.83.2014.10.01.01.10.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Oct 2014 01:10:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id mc6so278626lab.30 for ; Wed, 01 Oct 2014 01:10:17 -0700 (PDT) X-Received: by 10.152.204.231 with SMTP id lb7mr52581092lac.44.1412151017095; Wed, 01 Oct 2014 01:10:17 -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.130.169 with SMTP id of9csp488085lbb; Wed, 1 Oct 2014 01:10:16 -0700 (PDT) X-Received: by 10.220.182.129 with SMTP id cc1mr40507759vcb.10.1412151015990; Wed, 01 Oct 2014 01:10:15 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id jq10si84782vdb.75.2014.10.01.01.10.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 01 Oct 2014 01:10:15 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XZExj-0007Qq-Dc; Wed, 01 Oct 2014 08:08:39 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XZExi-0007QR-PM for xen-devel@lists.xen.org; Wed, 01 Oct 2014 08:08:38 +0000 Received: from [193.109.254.147:33414] by server-5.bemta-14.messagelabs.com id 9E/71-28255-686BB245; Wed, 01 Oct 2014 08:08:38 +0000 X-Env-Sender: Suravee.Suthikulpanit@amd.com X-Msg-Ref: server-9.tower-27.messagelabs.com!1412150916!12627909!1 X-Originating-IP: [65.55.169.111] X-SpamReason: No, hits=0.0 required=7.0 tests=UPPERCASE_25_50 X-StarScan-Received: X-StarScan-Version: 6.12.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 27615 invoked from network); 1 Oct 2014 08:08:37 -0000 Received: from mail-bl2on0111.outbound.protection.outlook.com (HELO na01-bl2-obe.outbound.protection.outlook.com) (65.55.169.111) by server-9.tower-27.messagelabs.com with AES256-SHA encrypted SMTP; 1 Oct 2014 08:08:37 -0000 Received: from BLUPR02CA055.namprd02.prod.outlook.com (25.160.23.173) by BY2PR02MB202.namprd02.prod.outlook.com (10.242.232.22) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Wed, 1 Oct 2014 08:08:35 +0000 Received: from BY2FFO11FD031.protection.gbl (2a01:111:f400:7c0c::101) by BLUPR02CA055.outlook.office365.com (2a01:111:e400:8ad::45) with Microsoft SMTP Server (TLS) id 15.0.1039.15 via Frontend Transport; Wed, 1 Oct 2014 08:08:34 +0000 Received: from atltwp02.amd.com (165.204.84.222) by BY2FFO11FD031.mail.protection.outlook.com (10.1.14.196) with Microsoft SMTP Server id 15.0.1029.15 via Frontend Transport; Wed, 1 Oct 2014 08:08:33 +0000 X-WSS-ID: 0NCRAM5-08-1CQ-02 X-M-MSG: Received: from satlvexedge02.amd.com (satlvexedge02.amd.com [10.177.96.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp02.amd.com (Axway MailGate 5.3.1) with ESMTPS id 249B6D16049; Wed, 1 Oct 2014 03:08:28 -0500 (CDT) Received: from SATLEXDAG05.amd.com (10.181.40.11) by SATLVEXEDGE02.amd.com (10.177.96.29) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 1 Oct 2014 03:08:56 -0500 Received: from ssuthiku-fedora-lt.amd.com (10.180.168.240) by satlexdag05.amd.com (10.181.40.11) with Microsoft SMTP Server id 14.3.195.1; Wed, 1 Oct 2014 04:08:30 -0400 From: To: , , Date: Wed, 1 Oct 2014 03:07:54 -0500 Message-ID: <1412150877-4090-2-git-send-email-suravee.suthikulpanit@amd.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1412150877-4090-1-git-send-email-suravee.suthikulpanit@amd.com> References: <1412150877-4090-1-git-send-email-suravee.suthikulpanit@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(428002)(199003)(189002)(120916001)(20776003)(80022003)(92566001)(99396003)(10300001)(50466002)(64706001)(31966008)(2201001)(87286001)(33646002)(229853001)(86152002)(107046002)(46102003)(48376002)(44976005)(86362001)(92726001)(47776003)(575784001)(77096002)(106466001)(93916002)(105586002)(76482002)(95666004)(19580395003)(19580405001)(68736004)(76176999)(62966002)(87936001)(36756003)(84676001)(85306004)(97736003)(88136002)(53416004)(21056001)(50986999)(50226001)(85852003)(101416001)(4396001)(77156001)(104166001)(102836001)(89996001)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR02MB202; H:atltwp02.amd.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB202; X-Forefront-PRVS: 0351D213B3 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-OriginatorOrg: amd4.onmicrosoft.com Cc: Suravee Suthikulpanit , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH 1/4] gicv2: Add compatibility id for gic-400 X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: suravee.suthikulpanit@amd.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 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 List-Archive: From: Suravee Suthikulpanit Introducing "arm,gic-400" device-tree matching string Signed-off-by: Suravee Suthikulpanit Acked-by: Stefano Stabellini Reviewed-by: Julien Grall --- xen/arch/arm/gic-v2.c | 1 + xen/include/asm-arm/gic.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index f053b5d..faad1ff 100644 --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gic-v2.c @@ -768,6 +768,7 @@ static const char * const gicv2_dt_compat[] __initconst = { DT_COMPAT_GIC_CORTEX_A15, DT_COMPAT_GIC_CORTEX_A7, + DT_COMPAT_GIC_400, NULL }; diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h index 51a0a26..187dc46 100644 --- a/xen/include/asm-arm/gic.h +++ b/xen/include/asm-arm/gic.h @@ -152,11 +152,13 @@ #include #include +#define DT_COMPAT_GIC_400 "arm,gic-400" #define DT_COMPAT_GIC_CORTEX_A15 "arm,cortex-a15-gic" #define DT_COMPAT_GIC_CORTEX_A7 "arm,cortex-a7-gic" #define DT_MATCH_GIC_V2 DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A15), \ - DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7) + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7), \ + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_400) #define DT_COMPAT_GIC_V3 "arm,gic-v3"