From patchwork Sat Nov 3 00:15:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael Kelley (LINUX)" X-Patchwork-Id: 10666415 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AF87C157A for ; Sat, 3 Nov 2018 00:28:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D9C724151 for ; Sat, 3 Nov 2018 00:28:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C8A028D61; Sat, 3 Nov 2018 00:28:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5F5E9286A1 for ; Sat, 3 Nov 2018 00:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tp7AzUSX64Iq7sBCXvQhdnJRkw3RM8x6fO/oQtp1JrY=; b=XyQ06tUd3NE9v7 tOmyBesJ8VMof0T5BhNQlR59kmgbeViny34DGplZrJMBH3zUiGNxyKrtQ3AbTAwEgDblDY1oNO4cp 8t9zO9S1R6aB04IsjO4hAztCbzgtFiVlFUuLQSB0qNSp0zDTgXNtWoK8/g7hBZn0O3TAsBzo1krss CZgeO+JKPe6FdJwXHG1mJ9/gHPQYOtChdhyYYLTkccy5EGlBXyFCG6XWZQUP7rGMCatK979x+w9fA AfMvVTYG3DMTlzoKsmU2tvIpgbhj3cu/9T769vKeIhaWgx72TH+9UDEDVG0Jmx1aQTiMQ466/V5Z7 jZlQkIVkO4/sc3Mk3pvw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIjnb-0007Ti-LY; Sat, 03 Nov 2018 00:28:23 +0000 Received: from mail-bn3nam01on070c.outbound.protection.outlook.com ([2a01:111:f400:fe41::70c] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIjbO-00038G-NQ for linux-arm-kernel@lists.infradead.org; Sat, 03 Nov 2018 00:15:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IUDQvu9Fo8yJXBEdRafM+B2eLz1aG3qLlTa/16rLfXc=; b=NcYYojOZDVrxfzNlYz7aCV/eZ9+N24bZ3gfzYfjqZaOAd6XVxkaKNG6ahZuWXzveHpoKXbyayh+gBW8r/osBac3KT052V5cOb7mbl1RsQnlLDWo9NM59/jMvAhNL9Ji4XQAA6Logf+dEIpY0jQiefea2A6OfpVgqHiXFQv2vShw= Received: from MWHPR21MB0766.namprd21.prod.outlook.com (10.173.51.20) by MWHPR21MB0704.namprd21.prod.outlook.com (10.175.142.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1339.2; Sat, 3 Nov 2018 00:15:25 +0000 Received: from MWHPR21MB0766.namprd21.prod.outlook.com ([fe80::1982:5e59:2489:88e6]) by MWHPR21MB0766.namprd21.prod.outlook.com ([fe80::1982:5e59:2489:88e6%14]) with mapi id 15.20.1339.000; Sat, 3 Nov 2018 00:15:25 +0000 From: Michael Kelley To: "will.deacon@arm.com" , "catalin.marinas@arm.com" , "mark.rutland@arm.com" , "marc.zyngier@arm.com" , "linux-arm-kernel@lists.infradead.org" , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "olaf@aepfle.de" , "apw@canonical.com" , vkuznets , "jasowang@redhat.com" , "marcelo.cerri@canonical.com" , Sunil Muthuswamy , KY Srinivasan Subject: [PATCH v3 4/4] Drivers: hv: Enable CONFIG_HYPERV on ARM64 Thread-Topic: [PATCH v3 4/4] Drivers: hv: Enable CONFIG_HYPERV on ARM64 Thread-Index: AQHUcwpRb97X/W4qy0mRO+wL1BLrSw== Date: Sat, 3 Nov 2018 00:15:25 +0000 Message-ID: <1541204037-18043-5-git-send-email-mikelley@microsoft.com> References: <1541204037-18043-1-git-send-email-mikelley@microsoft.com> In-Reply-To: <1541204037-18043-1-git-send-email-mikelley@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR2201CA0011.namprd22.prod.outlook.com (2603:10b6:301:28::24) To MWHPR21MB0766.namprd21.prod.outlook.com (2603:10b6:300:76::20) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [131.107.174.136] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MWHPR21MB0704; 6:hvg/Gy6JRG+BcI72MQESHPOv+l5JRdJvLBkOzbgvqZ63r7churoZ6gnWyAYIxJOJ4QlV80h+MCcc6MDzy/8SpApFifWItuj8ktSfDN3zMeno3RjqkgAdAg6iRbmn8gz2LGnTI+rMZuct3Qg7cNVlFpRI3XO38TjcYuZmi+MxM9u8qYw26LgXyFjipu9l4bAl6dquifUQ5hRk+uz2kcOjIjDuiD7k/g8ZnFd3eyF54CUbtPNIIYC574BQqMPlbDWNedw4VmPC1uGaRqufKgpc0pQM4AZqCBNNbFFhwgH6ar/pwVTB1ynktJDVEUhXbxMeaSDxoBxIyLXUMc6GqJZHYuoeZlXjQR4S8WYslo2wkRQ0MSuijt9sJQf7Lic+cHAP0J0bvBgRxuyV6w7YseqwWZ1LzYKx9dt8tAcGvbxNB/2pOR8ioJepnlB4KgtC87sR3J0ZAaloCpALti673p8FDQ==; 5:cx36KZIXPkPndO706U2t2ALBRcpKHsnQ4EJCZ4qQ4xVc3XzS5dB7pBoq2yD6/MORRNpAUWahdXdQ8PEScrZn9tQAdLxlSPS7qvT7Cl07GP6tPo6t6QTchLAy/ILdRL0Grtd78UNpzQWMvbkdCH11P4wJKot37JkjQq4DHjuGm2U=; 7:q1Rk7VPZJ9uc1srD8KI0bf3nMpXQ0vpuan36APTYSJjOYeqeYVARcFlhUDDkhY0m/gVBENVmCraRfdOzmvIYlWT8COhrbs/VcPLp6rKuYkmxWqzx1nnmjAwYRv/w35i6MZMehCju/mIsNDnU5+5WRA== x-ms-office365-filtering-correlation-id: 0fe5df7e-fdc6-4630-30a6-08d6412173a7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MWHPR21MB0704; x-ms-traffictypediagnostic: MWHPR21MB0704: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mikelley@microsoft.com; x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-o365eop-header: O365_EOP: Allow for Unauthenticated Relay x-o365ent-eop-header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY) x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(8220035)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231382)(944501410)(52105095)(2018427008)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:MWHPR21MB0704; BCL:0; PCL:0; RULEID:; SRVR:MWHPR21MB0704; x-forefront-prvs: 08457955C4 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(376002)(346002)(136003)(396003)(366004)(189003)(199004)(14454004)(81156014)(81166006)(8676002)(8936002)(7416002)(305945005)(86612001)(7736002)(5660300001)(6116002)(105586002)(86362001)(2906002)(2201001)(3846002)(106356001)(97736004)(71190400001)(71200400001)(10290500003)(2900100001)(256004)(14444005)(508600001)(4326008)(68736007)(25786009)(102836004)(66066001)(6486002)(6506007)(386003)(26005)(1511001)(99286004)(186003)(36756003)(22452003)(52116002)(76176011)(446003)(476003)(2616005)(110136005)(53936002)(6636002)(316002)(11346002)(10090500001)(6436002)(486006)(6512007)(2501003)(107886003)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0704; H:MWHPR21MB0766.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: fZisNp+3DrUbQlh1nDk1QbzPnhWjP5t0BsZZBQlD31gVwsuWHI0hmIXZRprrViu3EoVvWffRBj+YW2ruy1uZc/AwVgVZMl5Q5xFzKwy3B66S5YL9F//7KZCBx1IUbO+yGY4LdE8gYIpLzmMjEn2WZeoidqBMk7PnUdkEB5a/WpQjVgQ/p2mpVPtE4/BhGzroJF3oKvSLGtNrANvpz1MYlc/Q+jEOOG8PnCFFLuP9nxeEd6SxCVWqfE4FIQXkdvrNXE+CM2oVfva1DQVjKDvXxY/40Eyu9s5bgp/a1A0Viu9lQ/fZ8Rk6QCpeWMuLr3De8mWuCgb1OCCCqGDB4r2BYZxTKcoxBekLwMozoefYCkg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fe5df7e-fdc6-4630-30a6-08d6412173a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2018 00:15:25.0973 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0704 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_171546_962416_81FC39CC X-CRM114-Status: GOOD ( 11.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Kelley Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Update drivers/hv/Kconfig so CONFIG_HYPERV can be selected on ARM64, causing the Hyper-V specific code to be built. Signed-off-by: Michael Kelley --- drivers/hv/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig index 97954f5..c3e11a2 100644 --- a/drivers/hv/Kconfig +++ b/drivers/hv/Kconfig @@ -4,7 +4,8 @@ menu "Microsoft Hyper-V guest support" config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && ACPI && PCI && X86_LOCAL_APIC && HYPERVISOR_GUEST + depends on ACPI && PCI && \ + ((X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) || ARM64) select PARAVIRT help Select this option to run Linux as a Hyper-V client operating