Message ID | 1615233439-23346-8-git-send-email-mikelley@microsoft.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=G0Ss=IG=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78B1AC433E0 for <linux-arm-kernel@archiver.kernel.org>; Mon, 8 Mar 2021 20:04:29 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A33256525F for <linux-arm-kernel@archiver.kernel.org>; Mon, 8 Mar 2021 20:04:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A33256525F Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=microsoft.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BEiPL5UrmUzm9vgfFMA2uN++HC3kbtJmlcSRciJGKuI=; b=VosaywAoXi3dhAShsNCcbN/LY Qn6CgBBjjPoUcqZc22n0U1HBa37kdTQ+jExNTZzCFpBSAGC/Opbiy6uINQbgecqZQFtxc6ymDo1DD 43xePAIdFMJMH///WwX9tyoNeL+Macm9QjVVYfiD5F9DLtHiNvAU19hcIyjNJULo8ZPG0W80f0b++ rhMWQwP0NFWJR2WrwhVEdCvQToF4sa25S+0OV8sFXhcs1OXpMyHpYV8GzUB80h5P/Hw9/hd5/jbG+ L1XOJyR9xRSwWylRqDQMcOEs3ckhMdcnMBEHiQofDuwyNi1JbeF7wAjKTF9oIIb7m705azt6lNAUO YzIEcbZfw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJM44-002KP5-66; Mon, 08 Mar 2021 20:01:16 +0000 Received: from mail-eopbgr770092.outbound.protection.outlook.com ([40.107.77.92] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJM1T-002HV9-RY for linux-arm-kernel@lists.infradead.org; Mon, 08 Mar 2021 19:58:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C368pA6WkRSVkEFU2OflGPf72IjljJSPmZd8blNjIUiCuQEA62/8VQDmIAaXz0Ltc4a/Renvm0YfptgipXmVLY79qM82UDbeSA7LuB5ljY3TXwPElUZGzTprYPBkzYLGgsn3kLQia+XendeQQqguWjWabr/SbS2JFkDkIBEmX2zcyczzzGKG8evcgqSOUKr3ZmreQTPqvoXPd/ASDaEPoIOQ3At37a/BmI2+mXgo1+utaCyf+VeLEOwjLtzJBMoZNWjRmMYMoosg71eWsJsEf4BmqhovoYmGIx+heQNPHZzXmqUvr34FPx7cIYKQRD/USPqmukwpMqBkWshT4IfoNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HOt6quckwKZHyyyERwRobYF7Kwt1TbHjEmKP8+rLMm4=; b=AwYH46UKaSavWm2YboRcrApczw3m0NozPvV85vpjC5+K2sTGydLhZ+jMmizWa3KMfC8ja/kB1DSsmcWhu0y+ztPwT7z1qPaEm7CS1h/j/oAPjG5vSQOJFl5HomZ9xSgFhyLCxpgylcXGBjmXqI2ay51fSTF0JXF3AiBGNoBbyaRxxr7yPyeUp9UmlfCHV1jUIzqCcx++gYKQIXTdTf5TZhGhHePBpW14ae77zNrRemF5YLFFUbthiuWs+jF5rRlcMu9dKSpUI7idRCag1J740oDekcHQO2iVp/kNVoUqndTD/Mp120DbTb3yROdQPAyhAZ+TccLO77JPNmBpWFkBJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HOt6quckwKZHyyyERwRobYF7Kwt1TbHjEmKP8+rLMm4=; b=JfrTHniY4e4a8Yf7U+4cXhW77TtZLkib8qIcuPg06kZgCIOHDgSPHWgl79bMaOBlGV0d9Cmq1QuMs7CVjFJpO4OqxS8r+VFYQsG7c80sP0C3DN4EY6q08ED/GZRKbaeQdn9iaJH+ust8PZReSMjuYIFfa2Z5lZzKnZfBuR+WCFI= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=microsoft.com; Received: from DM6PR21MB1514.namprd21.prod.outlook.com (2603:10b6:5:22d::11) by DM5PR21MB1797.namprd21.prod.outlook.com (2603:10b6:4:aa::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.4; Mon, 8 Mar 2021 19:58:11 +0000 Received: from DM6PR21MB1514.namprd21.prod.outlook.com ([fe80::1c32:e52a:6a36:3ff]) by DM6PR21MB1514.namprd21.prod.outlook.com ([fe80::1c32:e52a:6a36:3ff%4]) with mapi id 15.20.3933.025; Mon, 8 Mar 2021 19:58:11 +0000 From: Michael Kelley <mikelley@microsoft.com> To: will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-efi@vger.kernel.org, arnd@arndb.de, wei.liu@kernel.org, ardb@kernel.org, daniel.lezcano@linaro.org, kys@microsoft.com Cc: mikelley@microsoft.com Subject: [PATCH v9 7/7] Drivers: hv: Enable Hyper-V code to be built on ARM64 Date: Mon, 8 Mar 2021 11:57:19 -0800 Message-Id: <1615233439-23346-8-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1615233439-23346-1-git-send-email-mikelley@microsoft.com> References: <1615233439-23346-1-git-send-email-mikelley@microsoft.com> X-Originating-IP: [131.107.174.144] X-ClientProxiedBy: MW4PR03CA0161.namprd03.prod.outlook.com (2603:10b6:303:8d::16) To DM6PR21MB1514.namprd21.prod.outlook.com (2603:10b6:5:22d::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mhkdev.corp.microsoft.com (131.107.174.144) by MW4PR03CA0161.namprd03.prod.outlook.com (2603:10b6:303:8d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Mon, 8 Mar 2021 19:58:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 449ccb24-94ee-47af-65e2-08d8e26c808a X-MS-TrafficTypeDiagnostic: DM5PR21MB1797: X-MS-Exchange-Transport-Forked: True X-LD-Processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr X-Microsoft-Antispam-PRVS: <DM5PR21MB17978139DE23220899E8B73ED7939@DM5PR21MB1797.namprd21.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:466; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XVi6PpRcbTykATeQuHoKvRrd5r+uGtGuPEJRi+nV9DAnbS7BJo1+kDscMz1w/VepfK80KTpJIeUYc1bYF1oL3HDOWK9rDekNJun6eGg1+WoFqPjD0+Ys2p4Hk7AP4XDWsq1uiFkdl3Ty3FtNvsB3pb24hEOn0YeGrWKOHx/bLXUI5Z0VPvKw0eoB7Gt+fcaAYf37O7mP+/B0R0gJWywNqxHK4/ft7XUXb0RCGmXzrYbHwP7IJBe8PZFJ0kSOQFdpWdW/Klk45+gws2HrjwoPR7zS9CDTRq7NCqxoz4e0yZgLwSDq8i1kQZrs7TJqiai5BiygQa13tpy3jxwWUnY/Ji6RLa+FeL4IW5UZzSSwa9KuW3X6EvemZAxbu09e9lkJfliIDBaUJjc6ASwPgcwxC51GQsrcZuC0otiXQ2aUiiEs+GWVZ5aEgyDO9mSbFEumCotZTwxtUKlih6HuMoNJQZ/rFGUUhVXgXt7y+boQBb0K/XYhMTcyQB4FkeZw7trmowpvtfSSv7cUrqka+tcTIsxXi0baNqkJBcI2Gg8lUn7wjBdLmY85lvoXY7BaR8DIpa+0nLKlhULeQMJIJIck58ogdOvoETeVlR6uz2dJgaw= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR21MB1514.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(376002)(346002)(396003)(366004)(4744005)(66556008)(186003)(52116002)(66476007)(66946007)(10290500003)(478600001)(26005)(16526019)(5660300002)(2906002)(36756003)(8936002)(316002)(7696005)(8676002)(6486002)(2616005)(82960400001)(4326008)(6636002)(107886003)(82950400001)(7416002)(921005)(956004)(83380400001)(86362001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: w5OJP256vXShaPfDTF94Z4+EUqFwdsNOWIi1qhY053LDQjRcyxAbVTcA5ttUCp9e/G9/zYsLQsNJ47x5IckaL+gV/8Z0tHlV0hXRBk0wWJb3v7gFvRq9TRR99iBrtpBP/SRaZnEyfxykukP5SphzNDx2itZ0Hcp4O4pgkoomx2Zw5r5zDnGljiQrvdXIbwE1VzKB6LdDmQeoGm5BaFSM4m5R4+ULjwSxY+fAMtbPqZZEMk5MmYeS71n99cfq4XkxZKvnr0Tiu50ENvPWsV4QUIIGUgKA3QrvsGd2I8+294NNlCVMKsVkJKTzEDhlwJ2/RpkBJsDxlgov/WNShbM5qJbHAeUW0t7x951Ic0FCa5Hd+/Gnh8nfgEDwEjZON5DDGSz33N9S8Hso3ng46TnSjAlanEuTk2HT+sbqxl/S+J/efc4ciYlbieef58kHaDQz1XUn7uFLwpgqv+BaOU1woR6/9MzNsfBixHS3UCqFuwm3aTBRBXuwxVTIzkmD+B9J1s15a17GZRU2MT/FoGr7YQFMG1oXQDLA2B69qX6vLrNOIX3L5fHBR6dn4WxLxuFEm/qDB5NKNqk/UBFbtP9Fk/f2Ja3ZYGwxhZDOEMUKKbGHLrs74NQb4zv++Lfqi96G/Jdh8utHhtaKsX8bwTQTTMk69h6Ou2V8gtaJsls5cD58RH6JCsnLwIdvUOBFALRmZMwtsE9AfolNoNLvp6KxSWInyMFTuGnom20R6CtScAcnaJ7/iAvWFmmw3ud0nUyURfp1m+BvDvgZEOh0OuncMweA9UH/KHZ0M9Gt5KgqzoEvzvDhGOjWaWaTRJq3kVMLnx9UWFQdAKlHVMZHXw69Ce8vmI9fQ/FXxktrq18/ZWgnrnr+OXlBWKFjVOVbVfsdTJoMIJHdNW8yer4SMZJaDuBJNzzJbbO30yIvmcAgmPptABbtGtlKzLmgtYyqnp/redDaS5nWL0HZ0j0ZlMGEJnGcUmdnMrxAkWjVEZx4yh0JT1u6VOqCgPG8usOYu697YPGaPm7XvQpamoFovAeflrJAMxcPJl6QWCrsGNYwYDpD/eM1euVzVoukuUXbx79sCXlJctt1a/NIG9BdyyGquDQl5F9sJY5TxtNj5X9UWiKBQptwP9AHTFsIJR8IuxAteKgy9vMqJ/6NyD7vztFc76DESUaERn8dPvCsOilTrMqYknaP1Ue4OZH7oJBbmChexDJj21I7Lep+f3O2m3e77BYe2TBDayXi0VW3iTluPmBrC6mrrYsuBpBjUz6Z7SwFWO2vRcDqq+srNpnKoDBHUoSG353Y7RJidr8X3j1SppIw8ZBMPQ3B294oeWm/lMgd X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 449ccb24-94ee-47af-65e2-08d8e26c808a X-MS-Exchange-CrossTenant-AuthSource: DM6PR21MB1514.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2021 19:58:11.5357 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lS9jvMDihAFs+17+esu40S282jQVVdzAyeM7YxwCS7LaCwT9YvExtCTfg8upYBH94/ijDRdyTMqasr+nWWCh1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB1797 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210308_195836_379550_E9089C54 X-CRM114-Status: GOOD ( 11.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Enable Linux guests on Hyper-V on ARM64
|
expand
|
diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig index 79e5356..d492682 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 && X86_LOCAL_APIC && HYPERVISOR_GUEST + depends on ACPI && ((X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \ + || (ARM64 && !CPU_BIG_ENDIAN)) select PARAVIRT select X86_HV_CALLBACK_VECTOR help