From patchwork Thu Oct 2 21:25:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Suthikulpanit, Suravee" X-Patchwork-Id: 38306 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 09989201F1 for ; Thu, 2 Oct 2014 21:27:58 +0000 (UTC) Received: by mail-wg0-f69.google.com with SMTP id b13sf1740840wgh.0 for ; Thu, 02 Oct 2014 14:27:58 -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=YWrmublKSjAxX87L6C4qzphZFMNMU6R6bzda8QaSYMGZFW3raF62QM+NEy6joVWzjt XcDolUTY8k7n+/hNgCiP7XcDEeW8Excj7aZMRFodvYQkCzzBDvTnzjr68diNCGlb5I/J AYzYNoebffTvVyhT3l1GWRGQawnYPHxkKu+XVf6uQg1qlxsus7EqdCaPva7XlNbS2iSX BUTaMjPLhzKnUCeTLV+b9N6PRmu4h1ZoOWIaTGho7P9tdspCl+QlRU5Vp3iNylKak48T 749DQ38g6Iv8r5Rm6VUjgA5HvChgaGIYmybcZZLqhXqC0+MsrSLFKA+Xqu+A+6yNeOZc /P+Q== X-Gm-Message-State: ALoCoQnP7BnD5WyyD2P+NgGve/K8ppPDu30NRWLJm0ux1nZUFONg5E/62Bs6DZHvV+BeT52qryGe X-Received: by 10.112.190.40 with SMTP id gn8mr257125lbc.10.1412285278234; Thu, 02 Oct 2014 14:27:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.135 with SMTP id k7ls290709lah.78.gmail; Thu, 02 Oct 2014 14:27:58 -0700 (PDT) X-Received: by 10.112.25.65 with SMTP id a1mr1197660lbg.85.1412285278090; Thu, 02 Oct 2014 14:27:58 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by mx.google.com with ESMTPS id e9si8233097lbc.128.2014.10.02.14.27.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 Oct 2014 14:27:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id s18so3236524lam.9 for ; Thu, 02 Oct 2014 14:27:58 -0700 (PDT) X-Received: by 10.112.4.33 with SMTP id h1mr1178891lbh.67.1412285277832; Thu, 02 Oct 2014 14:27: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 of9csp132663lbb; Thu, 2 Oct 2014 14:27:57 -0700 (PDT) X-Received: by 10.224.128.129 with SMTP id k1mr2033074qas.69.1412285275681; Thu, 02 Oct 2014 14:27:55 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id 15si9364241qga.45.2014.10.02.14.27.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 02 Oct 2014 14:27:55 -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 1XZnsw-0007wN-9h; Thu, 02 Oct 2014 21:26:02 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XZnsv-0007wB-B5 for xen-devel@lists.xen.org; Thu, 02 Oct 2014 21:26:01 +0000 Received: from [85.158.143.35:57901] by server-2.bemta-4.messagelabs.com id B6/12-04525-8E2CD245; Thu, 02 Oct 2014 21:26:00 +0000 X-Env-Sender: Suravee.Suthikulpanit@amd.com X-Msg-Ref: server-11.tower-21.messagelabs.com!1412285159!13501320!1 X-Originating-IP: [65.55.169.126] 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 25030 invoked from network); 2 Oct 2014 21:26:00 -0000 Received: from mail-bl2on0126.outbound.protection.outlook.com (HELO na01-bl2-obe.outbound.protection.outlook.com) (65.55.169.126) by server-11.tower-21.messagelabs.com with AES256-SHA encrypted SMTP; 2 Oct 2014 21:26:00 -0000 Received: from BLUPR02CA040.namprd02.prod.outlook.com (25.160.23.158) by DM2PR0201MB1085.namprd02.prod.outlook.com (25.160.221.142) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Thu, 2 Oct 2014 21:25:45 +0000 Received: from BN1BFFO11FD021.protection.gbl (2a01:111:f400:7c10::1:123) by BLUPR02CA040.outlook.office365.com (2a01:111:e400:8ad::30) with Microsoft SMTP Server (TLS) id 15.0.1044.10 via Frontend Transport; Thu, 2 Oct 2014 21:25:56 +0000 Received: from atltwp01.amd.com (165.204.84.221) by BN1BFFO11FD021.mail.protection.outlook.com (10.58.144.84) with Microsoft SMTP Server id 15.0.1029.15 via Frontend Transport; Thu, 2 Oct 2014 21:25:56 +0000 X-WSS-ID: 0NCU676-07-66Y-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 atltwp01.amd.com (Axway MailGate 5.3.1) with ESMTPS id 21533CAE7E8; Thu, 2 Oct 2014 16:25:53 -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; Thu, 2 Oct 2014 16:26:20 -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; Thu, 2 Oct 2014 17:25:54 -0400 From: To: , , , Date: Thu, 2 Oct 2014 16:25:33 -0500 Message-ID: <1412285135-25468-2-git-send-email-suravee.suthikulpanit@amd.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1412285135-25468-1-git-send-email-suravee.suthikulpanit@amd.com> References: <1412285135-25468-1-git-send-email-suravee.suthikulpanit@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.221; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(428002)(199003)(189002)(101416001)(76176999)(104166001)(50466002)(50986999)(97736003)(46102003)(80022003)(102836001)(31966008)(48376002)(36756003)(229853001)(77156001)(62966002)(10300001)(99396003)(33646002)(50226001)(4396001)(84676001)(68736004)(120916001)(53416004)(86152002)(19580395003)(20776003)(107046002)(64706001)(89996001)(85852003)(86362001)(88136002)(87936001)(92726001)(2201001)(575784001)(92566001)(93916002)(47776003)(19580405001)(106466001)(105586002)(44976005)(95666004)(77096002)(76482002)(21056001)(85306004)(87286001)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0201MB1085; H:atltwp01.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:DM2PR0201MB1085; X-Forefront-PRVS: 03524FBD26 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] [V3 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.50 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"