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: 4865101 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 78F7D9F371 for ; Mon, 8 Sep 2014 23:55:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B4E5520145 for ; Mon, 8 Sep 2014 23:54:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9847520142 for ; Mon, 8 Sep 2014 23:54:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753322AbaIHXyx (ORCPT ); Mon, 8 Sep 2014 19:54:53 -0400 Received: from mail-bl2on0126.outbound.protection.outlook.com ([65.55.169.126]:43572 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752856AbaIHXyw (ORCPT ); Mon, 8 Sep 2014 19:54:52 -0400 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: , , CC: Christoffer Dall 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) Authentication-Results: spf=none (sender IP is 165.204.84.221) smtp.mailfrom=Joel.Schopp@amd.com; X-OriginatorOrg: amd4.onmicrosoft.com Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) -- 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/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, }, {}, };