From patchwork Wed Oct 1 19:51:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Suthikulpanit, Suravee" X-Patchwork-Id: 38253 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0C7D6202E7 for ; Wed, 1 Oct 2014 19:53:58 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id w7sf287440lbi.6 for ; Wed, 01 Oct 2014 12:53: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: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=bYpbEz2LlAu9WFI2L33IVO7vf2wvWDdc1kRaOtXfvg8=; b=FPFqRs+eYZ/yW7l0JGjODfxauiItYzgQOk1aQAPXbig04PR+esaW9/o/TluK+pauj0 UuODamlAwuI+eZXyvbtgWzFp5Cs+VuQEt9RvgIrlnBFbNhqabuQ6RH/w+5dvHJaVvngc FkxJoPhM6qUXy1axRCvS0hgIJkmJB0mZvoTXi62evEnuM+502JnNK3NYu+Ao9jfOEOn5 mmD8t56BPqSufHKojjZ+t9HBl4ZP66ohPvFipxvO/3pEFAaq8d9i3IJH+nDIfkw2rmeh /KwHKyvmeHgwT4zdfqCeV6V3X2RLzAgYXr9Zgu2iuKvcI84lanGkYYcu936fzX4ifzH7 81UQ== X-Gm-Message-State: ALoCoQm8tNgYVRfBFVXXhpq+Cy6jhhWk8MTlp/+Jp9H3EbPFMPK+2RDqmiNqFrdgLJqSGT7rMSV4 X-Received: by 10.180.81.130 with SMTP id a2mr892376wiy.0.1412193237806; Wed, 01 Oct 2014 12:53:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.6.2 with SMTP id cq2ls190514lad.102.gmail; Wed, 01 Oct 2014 12:53:57 -0700 (PDT) X-Received: by 10.112.190.69 with SMTP id go5mr566202lbc.32.1412193237629; Wed, 01 Oct 2014 12:53:57 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx.google.com with ESMTPS id ci10si3447336lad.27.2014.10.01.12.53.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Oct 2014 12:53:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id hz20so1074475lab.25 for ; Wed, 01 Oct 2014 12:53:57 -0700 (PDT) X-Received: by 10.152.7.73 with SMTP id h9mr25967300laa.27.1412193237504; Wed, 01 Oct 2014 12:53:57 -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 of9csp602031lbb; Wed, 1 Oct 2014 12:53:56 -0700 (PDT) X-Received: by 10.220.20.5 with SMTP id d5mr45351341vcb.9.1412193236252; Wed, 01 Oct 2014 12:53:56 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id yj3si202415vdb.54.2014.10.01.12.53.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 01 Oct 2014 12:53:56 -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 1XZPwA-0002HF-Gq; Wed, 01 Oct 2014 19:51:46 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XZPw9-0002H3-Gt for xen-devel@lists.xen.org; Wed, 01 Oct 2014 19:51:45 +0000 Received: from [85.158.137.68:22551] by server-1.bemta-3.messagelabs.com id A9/4D-30185-05B5C245; Wed, 01 Oct 2014 19:51:44 +0000 X-Env-Sender: Suravee.Suthikulpanit@amd.com X-Msg-Ref: server-8.tower-31.messagelabs.com!1412193102!10961834!1 X-Originating-IP: [157.56.111.130] 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 21272 invoked from network); 1 Oct 2014 19:51:44 -0000 Received: from mail-bn1bon0130.outbound.protection.outlook.com (HELO na01-bn1-obe.outbound.protection.outlook.com) (157.56.111.130) by server-8.tower-31.messagelabs.com with AES256-SHA encrypted SMTP; 1 Oct 2014 19:51:44 -0000 Received: from BY2PR02MB203.namprd02.prod.outlook.com (10.242.232.25) by BY2PR02MB060.namprd02.prod.outlook.com (10.242.44.28) with Microsoft SMTP Server (TLS) id 15.0.1044.10; Wed, 1 Oct 2014 19:51:40 +0000 Received: from BY2PR02CA010.namprd02.prod.outlook.com (10.255.247.30) by BY2PR02MB203.namprd02.prod.outlook.com (10.242.232.25) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Wed, 1 Oct 2014 19:51:38 +0000 Received: from BL2FFO11FD050.protection.gbl (2a01:111:f400:7c09::142) by BY2PR02CA010.outlook.office365.com (2a01:111:e400:2c16::30) with Microsoft SMTP Server (TLS) id 15.0.1039.15 via Frontend Transport; Wed, 1 Oct 2014 19:51:38 +0000 Received: from atltwp02.amd.com (165.204.84.222) by BL2FFO11FD050.mail.protection.outlook.com (10.173.161.212) with Microsoft SMTP Server id 15.0.1029.15 via Frontend Transport; Wed, 1 Oct 2014 19:51:37 +0000 X-WSS-ID: 0NCS75V-08-TAA-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 22F6ABD87A4; Wed, 1 Oct 2014 14:51:31 -0500 (CDT) Received: from SATLEXDAG03.amd.com (10.181.40.7) by SATLVEXEDGE02.amd.com (10.177.96.29) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 1 Oct 2014 14:52:00 -0500 Received: from ssuthiku-fedora-lt.amd.com (10.180.168.240) by satlexdag03.amd.com (10.181.40.7) with Microsoft SMTP Server id 14.3.195.1; Wed, 1 Oct 2014 15:51:37 -0400 From: To: , , Date: Wed, 1 Oct 2014 14:51:23 -0500 Message-ID: <1412193085-30828-2-git-send-email-suravee.suthikulpanit@amd.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1412193085-30828-1-git-send-email-suravee.suthikulpanit@amd.com> References: <1412193085-30828-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)(86152002)(120916001)(19580395003)(33646002)(89996001)(92566001)(88136002)(80022003)(87286001)(77156001)(85852003)(50226001)(99396003)(53416004)(86362001)(62966002)(92726001)(10300001)(2201001)(102836001)(44976005)(93916002)(229853001)(68736004)(76482002)(46102003)(87936001)(104166001)(575784001)(101416001)(20776003)(77096002)(19580405001)(97736003)(85306004)(48376002)(21056001)(31966008)(47776003)(50466002)(84676001)(95666004)(76176999)(36756003)(4396001)(106466001)(64706001)(105586002)(107046002)(50986999)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR02MB203; H:atltwp02.amd.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB203; X-Forefront-PRVS: 0351D213B3 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB060; X-OriginatorOrg: amd4.onmicrosoft.com Cc: Suravee Suthikulpanit , xen-devel@lists.xen.org Subject: [Xen-devel] [V2 1/3] 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.52 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 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"