From patchwork Mon Sep 8 22:21:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Schopp X-Patchwork-Id: 37017 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 42C762054D for ; Mon, 8 Sep 2014 22:23:48 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id uq10sf73802946igb.7 for ; Mon, 08 Sep 2014 15:23:47 -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:subject:from:to:date:message-id :user-agent:mime-version:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=GT5eoiReOzcAi9+3mPtmjk4Qka1B/qHZ+i9kHlUTR/U=; b=eKWpmv9/0CPeo7XeZkP9bfL/6Wekuv0RH1Osln2hjEwXn09GCMJ3XpUAou+frcOt6T 7VOQAJCLhyy57/m41zHlDU0HuTWsoRPPBUPorbKJTbZ+w6F/59/fB79Cvf0Jtpd+/vXm JW00lIWpwC7jj0bj8HVhG0gPZsbDHIwoeQWN9swcKjaJkrPTaN+G8CthDlOEl0a+y0cn WfiMXgMi+Cnk5PllYNESZNszw6O71/VYMiu68R8CbcR11SiQlRiQkH70M1FSPxJLi/L5 czjrXQ0gNRA2sYkU0u2t6w7WRfphKroEs8D8eU9QeAiZqJ+Tn7IgjhwoCH6Lh0wFIiRt aBUw== X-Gm-Message-State: ALoCoQnDUxzmiVvHvLxyxklZb9LAQwTMbOoL/EjCi0gthW9PV+iOmtQGXgzbORe2g042R5rmxuVv X-Received: by 10.182.131.226 with SMTP id op2mr18710542obb.17.1410215027818; Mon, 08 Sep 2014 15:23:47 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.89.231 with SMTP id v94ls1923150qgd.14.gmail; Mon, 08 Sep 2014 15:23:47 -0700 (PDT) X-Received: by 10.220.114.5 with SMTP id c5mr12268156vcq.28.1410215027685; Mon, 08 Sep 2014 15:23:47 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id vm1si5139759vdc.29.2014.09.08.15.23.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 15:23:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so16139317vcb.16 for ; Mon, 08 Sep 2014 15:23:47 -0700 (PDT) X-Received: by 10.52.141.76 with SMTP id rm12mr1825426vdb.71.1410215027519; Mon, 08 Sep 2014 15:23:47 -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.221.45.67 with SMTP id uj3csp197817vcb; Mon, 8 Sep 2014 15:23:47 -0700 (PDT) X-Received: by 10.66.221.163 with SMTP id qf3mr50475136pac.37.1410215026702; Mon, 08 Sep 2014 15:23:46 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id fe1si19766345pbb.201.2014.09.08.15.23.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Sep 2014 15:23:46 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XR7K8-0003nO-TV; Mon, 08 Sep 2014 22:22:12 +0000 Received: from mail-bn1bon0110.outbound.protection.outlook.com ([157.56.111.110] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XR7K6-0003h4-5i for linux-arm-kernel@lists.infradead.org; Mon, 08 Sep 2014 22:22:11 +0000 Received: from BY1PR0201CA0004.namprd02.prod.outlook.com (25.160.191.142) by BY2PR02MB044.namprd02.prod.outlook.com (10.242.44.27) with Microsoft SMTP Server (TLS) id 15.0.1024.12; Mon, 8 Sep 2014 22:21:46 +0000 Received: from BL2FFO11FD045.protection.gbl (2a01:111:f400:7c09::117) by BY1PR0201CA0004.outlook.office365.com (2a01:111:e400:4814::14) with Microsoft SMTP Server (TLS) id 15.0.1024.12 via Frontend Transport; Mon, 8 Sep 2014 22:21:46 +0000 Received: from atltwp01.amd.com (165.204.84.221) by BL2FFO11FD045.mail.protection.outlook.com (10.173.161.207) with Microsoft SMTP Server id 15.0.1019.14 via Frontend Transport; Mon, 8 Sep 2014 22:21:46 +0000 X-WSS-ID: 0NBLSS7-07-79Z-02 X-M-MSG: Received: from satlvexedge01.amd.com (satlvexedge01.amd.com [10.177.96.28]) (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 285F2CAE68E; Mon, 8 Sep 2014 17:21:42 -0500 (CDT) Received: from SATLEXDAG01.amd.com (10.181.40.3) by satlvexedge01.amd.com (10.177.96.28) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 8 Sep 2014 17:21:45 -0500 Received: from joelaarch64.amd.com (10.180.168.240) by SATLEXDAG01.amd.com (10.181.40.3) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 8 Sep 2014 18:21:43 -0400 Subject: [PATCH] KVM: arm64: add gic-400 compatible From: Joel Schopp To: , , Date: Mon, 8 Sep 2014 22:21:44 +0000 Message-ID: <20140908222144.4967.80301.stgit@joelaarch64.amd.com> User-Agent: StGit/0.17.1-4-g4a0c1 MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.221; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019018)(6009001)(428002)(199003)(189002)(81342001)(53416004)(101416001)(23676002)(74662001)(95666004)(31966008)(64706001)(81542001)(21056001)(90102001)(103116003)(4396001)(47776003)(84676001)(77096002)(50466002)(33646002)(80022001)(74502001)(97736003)(83506001)(20776003)(83322001)(87936001)(19580405001)(97746001)(107046002)(229853001)(105586002)(44976005)(19580395003)(76482001)(92726001)(2171001)(102836001)(68736004)(99396002)(54356999)(77982001)(83072002)(46102001)(2201001)(79102001)(85306004)(85852003)(106466001)(92566001)(50986999)(86362001)(71626003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR02MB044; H:atltwp01.amd.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 03283976A6 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-OriginatorOrg: amd4.onmicrosoft.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140908_152210_447963_FB8B2BC2 X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [157.56.111.110 listed in list.dnswl.org] -1.8 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [157.56.111.110 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record Cc: Christoffer Dall X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: joel.schopp@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.220.171 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 Add a one liner to identify the gic-400. It's gicv2 with optional MSI extensions. Cc: Christoffer Dall Signed-off-by: Joel Schopp Acked-by: Mark Rutland Acked-by: Christoffer Dall --- virt/kvm/arm/vgic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index 73eba79..e81444e 100644 --- a/virt/kvm/arm/vgic.c +++ b/virt/kvm/arm/vgic.c @@ -1550,6 +1550,7 @@ static struct notifier_block vgic_cpu_nb = { static const struct of_device_id vgic_ids[] = { { .compatible = "arm,cortex-a15-gic", .data = vgic_v2_probe, }, + { .compatible = "arm,gic-400", .data = vgic_v2_probe, }, { .compatible = "arm,gic-v3", .data = vgic_v3_probe, }, {}, };