Message ID | 1620841067-46606-8-git-send-email-mikelley@microsoft.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=piaZ=KH=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.4 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_NONE,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 79EE0C4646E for <linux-arm-kernel@archiver.kernel.org>; Wed, 12 May 2021 17:41:53 +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 9E4AD613DF for <linux-arm-kernel@archiver.kernel.org>; Wed, 12 May 2021 17:41:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E4AD613DF 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=JEsO/GRt5sco3gQF4mkGhrK8NN0m/hn03tT5tcSNi/0=; b=QYVBFOAQ1YsHqMCvjCsgT6duv h+TAKthZCoyjw5o5I/qjQObTr+6andEgcoKAfswjgSgo9q6nN57IcgxvVQphFxwT8k2iyjqhAknik +88Nf9aZ3rnQkWZtOu10DKJNKdzZkFC5mAREMpnHeWHmerhv7GQnSDb/t+9sJo3lj+PYJneSHp2Hw VniqMcnGkH58DaXwS8aSow+ZhMA/VskBeBty212M0Ic6BWMyl72/nIKSpYWJkLSBbfSiunmLnFvp/ npATopOxI8unuuYxaAh0orkpfV+g8Qw5FNtkP4foKE6v81L9ihXRTGT7+NxVMTbqBXkgM6VjFZAan 3LU6hQGbg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgsqA-003SXZ-7G; Wed, 12 May 2021 17:40:10 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgsom-003SI2-5c for linux-arm-kernel@desiato.infradead.org; Wed, 12 May 2021 17:38:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sT2Ypqct7f4vBCa8b8tJLDx27rUACwUFEiRcKXQ95Sg=; b=mjEPYTbE1pWRCfqZKdYT+pA6vX ES//rQxGGCLnixmggxSIACv79xQXeTB7zipMCXNShlSzbIPZRnFXkk8VNWq2ULaE4cprG1uCGGt0h vvAKZhKgR+IfBO7+hJ2bQiwbUHWVKylZdPjdLxZ0+lTgKej0LsKYryvPiBmRs4oLnWcInBsrbOIHe Ld+2WPq0ArG1D8DdJyfjpcSPPRa5ODeDg3oabrYZ3V5Q8wZOOCNzJrQuJwP8OHhGom/FjXqx/BX3M F8BhUhtCtZXXx0EFDykz4Bo7MLu/hkU/3buvuL7JpOV8N2DMUvJgs24vMPbXSDbyEWsV9N7+HvZVN FOAJBaNw==; Received: from mail-dm6nam12on2117.outbound.protection.outlook.com ([40.107.243.117] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgsoj-00AeX5-PM for linux-arm-kernel@lists.infradead.org; Wed, 12 May 2021 17:38:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xihgg/Pp6FyQarAzURkku8x66cdUvJpeScNSDzd3mUI29HTIpMd1NdLDhngYGOLA3tBFZmVRonhyC4uksyIrGcj0sZpTef7O11Ulg2d7O1N7EneKx3DEUHNLs0Vza+YNiEidNxg82uLIyt+RIbgyKGqTDQKhSp10uMwIf0/XZRpNIW1qIAy0eOVbVjGtBw2v5yN9U5+bxRzmZZJwWCjwtz5SCmxZYlx5hGgSBuzxGghkQWsuHYPGv2d0e9+QcLgvsf6dJjV7qTTc6t/3KyNIx0RgusPL1nHZ2OKgwH08ZpooIyp+UqP1o331NtS8aKL++VndkxuIDX9eH9vOGaRmxg== 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=sT2Ypqct7f4vBCa8b8tJLDx27rUACwUFEiRcKXQ95Sg=; b=D8betxYkfPvnCaivBjDnWZlRqV5YkMuv7zL8ovNekbTrh0t8KX1Hy77o/8EysEaGp6WNZFyRQcD/3QvJIHGTsCvXURMUe1NUHzGkuRo+hmQdcUowR9Wz9XVGpoCIotffe3SrgDcoh04vxztpsU3JN6LtHUlHgpXgqpFPSK9RN4M3QMcyyEefFo65Uxiydmy9ICZvzh/VhnzfCBFidiwEMwucnQwbQfRyt5bkXjV1Z32S2bHyOYG68B8KbYHzpsPLl/LD2KVqcJz65HD0tzw3PZQJGsg21d4LEkF9CUFPeE7LqW5BepPtGknblNvC6Wsm7Y825ta0u64q3PZG8gbPOw== 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=sT2Ypqct7f4vBCa8b8tJLDx27rUACwUFEiRcKXQ95Sg=; b=EEhGfUa5mlVtGp48cdM5OYf4DE5GBRitbYNesxtgaZ9aEhdgQb5BkcibOInnX3Pht1ExzJbX8xtnfc+MMVW/o2kED6jvvykXe5YqBWDEpNo70ZREmYbyHPjYpT3xUOW7ijB0lEmnHLoFmrXrzREdENQEGXWbfKFRT2ScoPVsUco= 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 DM6PR21MB1483.namprd21.prod.outlook.com (2603:10b6:5:25c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.5; Wed, 12 May 2021 17:38:34 +0000 Received: from DM6PR21MB1514.namprd21.prod.outlook.com ([fe80::fdb1:c8ac:5a1f:8588]) by DM6PR21MB1514.namprd21.prod.outlook.com ([fe80::fdb1:c8ac:5a1f:8588%5]) with mapi id 15.20.4150.011; Wed, 12 May 2021 17:38:34 +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 v10 7/7] Drivers: hv: Enable Hyper-V code to be built on ARM64 Date: Wed, 12 May 2021 10:37:47 -0700 Message-Id: <1620841067-46606-8-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1620841067-46606-1-git-send-email-mikelley@microsoft.com> References: <1620841067-46606-1-git-send-email-mikelley@microsoft.com> X-Originating-IP: [131.107.1.144] X-ClientProxiedBy: CO2PR04CA0102.namprd04.prod.outlook.com (2603:10b6:104:6::28) 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.1.144) by CO2PR04CA0102.namprd04.prod.outlook.com (2603:10b6:104:6::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Wed, 12 May 2021 17:38:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 23cb3666-cc4b-4657-8290-08d9156cc44d X-MS-TrafficTypeDiagnostic: DM6PR21MB1483: X-MS-Exchange-Transport-Forked: True X-LD-Processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr X-Microsoft-Antispam-PRVS: <DM6PR21MB148360014184D8D326340D06D7529@DM6PR21MB1483.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: nWBiJmvlLnQ9UJ4cOr9cmUErlbmicZq4SEmnvmAxbsrREWhz2ew45zwZdDYyZUMCP0Y7+4DN48YOT5FO5jp5wfCRzQZneljpKNOOhkgBDDSCEt+GUvE8lE20XKVhLM9NpF/rt6U1UOlhL3lkSVX+o4oAHyxAq7ZJT/RT7ks7I9BYB3Ri6+snGPzd9aXIZoBMPeHKXi1nWYGhjGQDKgIoF1RVAP3ChB3GYPkxYtgUD2F7YolWuIVGqae9LEGMIbL2vHFRGtdHhFLmnIJc3CCy3na3sPXCo31CiFGAqeXpDaiZz0D79jTSYmNtdeNoP3nzHXFPI8/JNe8xkjGhyWJabDihabRIuAjfMJp+n+78t1ei5Fcco9UzW74MTMmxDPU9jsMMVvPmVtQBVZjZezTdyMHYa4cj9ZghGxMXe+ltTeBZ2B+k42YDrJQd4rsJfwZqkxSg9KtiuQrzyHaTv1ZiwH+0gkEjDX/DRe0mM0e84AMxIa9C72UwkYyL1D8mgYiwk7rlXH8uYPvnTTk5i9YBxI6gj7LsI125BVphp45OoY4CZWyLInMAUIzzdO9vAJMnWDu8fWsyxCU1HHXbF0iRHn+5GBsOjuWt1PTJb/bBm2hrxVc0ZDf7t0kzfJ8rhyB3BpPtyAInEpHlCXLwgtAqKQfOw2kmVimXcJO8E1TosRg= 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)(366004)(8936002)(6636002)(316002)(478600001)(8676002)(86362001)(66556008)(921005)(16526019)(10290500003)(7696005)(52116002)(7416002)(2906002)(186003)(4744005)(66476007)(4326008)(82960400001)(2616005)(82950400001)(956004)(66946007)(6486002)(6666004)(38100700002)(38350700002)(5660300002)(107886003)(36756003)(26005)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: t4ZwbJ2bGzR/lJ1lXszfSQOFHcAFR9QIQo7wUzCVvUgUu+KIrnk4MCKRGdT22Kq1y07GJId8BOlMlwOmz69fqJP/GBqE06y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+vHdkFhFCTX9aO/Lj0EHiRo9bmlTog10YRZhyR+zQ1jKZfWbXk6ifBHIUSSw1qHo2pIWYGXGvQXbm+oldJQ0dzqMFzP81n2UHpdoINVQeQ5TxfFJj7SCEOOFVkkPODrdVHoW+PlSjJ1GT1ziE45u60DyLLL4ORosYvttLtx2mCniSbWAfNSHSDtFHi X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23cb3666-cc4b-4657-8290-08d9156cc44d X-MS-Exchange-CrossTenant-AuthSource: DM6PR21MB1514.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2021 17:38:34.4925 (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: WVype/z9wW7HClirB3YOJLOf7RzDCalfohQDuk8NWOgi0PRO8AgMUCfcziN+4rF/Rgr8ygCcKPGKV3mywIdf0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR21MB1483 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210512_103841_843111_D5551B25 X-CRM114-Status: GOOD ( 11.34 ) 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 66c794d..efb7585 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