From patchwork Mon Aug 24 16:46:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael Kelley (LINUX)" X-Patchwork-Id: 11733803 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B244C14E5 for ; Mon, 24 Aug 2020 17:12:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 8A59C2063A for ; Mon, 24 Aug 2020 17:12:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aaCmGmGk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ommeNjaT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=microsoft.com header.i=@microsoft.com header.b="MD0V6uU0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A59C2063A 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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=gf9eYWGxlfkcxV2cPqmb19pJcPtS+Z688333+FNRHZE=; b=aaCmGmGknUyzWrr+P3Y55S1uI EkGQmrjXMAEGIhSau86ZNhsybLY5ofIYnWdWrGQC3WQOlNrQNVl1eAOUYinSncDHdOp4Hzxwd53ce SltiljJEcCcbikhIW25KGES7aSMXSbj/tSyRuLj21yoi3eLY4cs75ml0N42PV3GM8dNRMGjITRQeI 6N3fopQIdeLByP9y0uW8NeCn+b6d75EWz9r8Uq74pwQkF7TG0OjbXk1wTa0cyAEeAEvc/4ynsRKxm H08jWXW4FiKW60hDESj6O0vtAiiCnTrE+dqVLrMvYpsAT0ykaaEx6N/YhdxQ3BnmqCFh7ZQdaaXn+ Ae1Jj5i5w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFzc-0003gx-To; Mon, 24 Aug 2020 17:10:48 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFzb-0003ex-5T for linux-arm-kernel@merlin.infradead.org; Mon, 24 Aug 2020 17:10:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=ewbfHZXjxiR3o31sgRc557/LsbDk01g0KASzcHU7ci4=; b=ommeNjaTyjULHUpEM19qLHsCZF qzZ1J2gOB/kcrUv9NGCoTKMAXYsP0DOGHGdK1fPZd48OSGY4epfyndkeYbEjmGjo5wM7RxUmlA1c9 vlRsxy/znRpiaz7o44bY/E/DPmKjaj+NjECb4JYBICjFlwKAP9jRBkHgwpn2XxkhIrg3CTfkxhB/6 /7RyOI1SmOlMiXnNOFPv9H2SfmiC9UHj+oV/7XAm8zoMTr0FUvD0gvQDbznugNpwxB1FhQuhnM9qP SaKWADIAnOt9cwzsDmm1nRmt/gpbKRa7MJRu9cj2PhEg3f9pNyp9ili2yGbtEG2X6JrAXEoaG/fjW rgqkIZfg==; Received: from mail-dm6nam12on2128.outbound.protection.outlook.com ([40.107.243.128] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAFeC-0001wk-Qz for linux-arm-kernel@lists.infradead.org; Mon, 24 Aug 2020 16:48:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DFc9DhOWZAge5eWytkQnRaxK10Y3535vXV+2FdJDNi5GCl/Ad193ysEifR22z8n3Eqg4kafNvHNcilOHKdLZ1ZO95tdCDXzizMDMSw2kKYUzUoUpkKFrvRWUAzjtHDQBwCxG6tFDvmGkeRWUO0yUAozGPsf+yR7noM0ToKOJ2AhODxv8KH7V5YgAHTfqUSfeDFix4SX47RVoO/yLl4Z9ZnqYkXK0d6hQNE9HaNimvudGnMEr67SdzJwxCrrCVYThhY8oHB6i+LBgQQJElzpzs8ouHsNwBoPlwvi5hgSCMUzWUAKgXq6ZDR4uNCKUuJqStehA47XmHPb4b5ClGDVbGQ== 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=ewbfHZXjxiR3o31sgRc557/LsbDk01g0KASzcHU7ci4=; b=fgxBsot44HESe15u5iVRnwUMLLFkSdDcWfQ0hTMJ+vmr2Dew3VfiRvj0xpnKQm8uXhk4TdjTsriqzLR877jAOkYJ7B4iL/b74UROCeWZdPqSjpSD0vRGAThnx8iXgX3rRmxUFBohjvO7Y5uNuzKYkpvXI+OJ6oeXPQvE8CTlXJAm2WuYaAe599O8QDElA2Pr5Kyuqkjn68pgK8C/3IDk5rbhK7eo3QblBAKmFSJ+NaBkaUR1QOhifks4Pljat9fpG780TrG5EHh/594SByNOkH9h2OueQKfULWDe1ao9AJ+KX2+kDapzdKDGlzpAbpQ+xbe1lmNpeziosv5Mb1zH2w== 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=ewbfHZXjxiR3o31sgRc557/LsbDk01g0KASzcHU7ci4=; b=MD0V6uU0prJJowd7ORCQUZNU0dCvly96h119e/8vwoT6aW7PHF88VZCR53cMl38BrzoQ/xCeenZmq/X8yf0Q8wX+DK0iOw9PoAuaNdXKdxxWzq/jCgglzbl2c5xip9JTBfrKnyxLl/hRnG7N1jh4H1Bi7xDyhmrUNasbhS5deAg= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=microsoft.com; Received: from BN8PR21MB1281.namprd21.prod.outlook.com (2603:10b6:408:a2::19) by BN6PR21MB0753.namprd21.prod.outlook.com (2603:10b6:404:9c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.4; Mon, 24 Aug 2020 16:48:03 +0000 Received: from BN8PR21MB1281.namprd21.prod.outlook.com ([fe80::e0c9:2634:6fb1:5615]) by BN8PR21MB1281.namprd21.prod.outlook.com ([fe80::e0c9:2634:6fb1:5615%3]) with mapi id 15.20.3326.012; Mon, 24 Aug 2020 16:48:03 +0000 From: Michael Kelley To: will@kernel.org, ardb@kernel.org, arnd@arndb.de, catalin.marinas@arm.com, mark.rutland@arm.com, maz@kernel.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-efi@vger.kernel.org, linux-arch@vger.kernel.org, wei.liu@kernel.org, vkuznets@redhat.com, kys@microsoft.com Subject: [PATCH v7 10/10] Drivers: hv: Enable Hyper-V code to be built on ARM64 Date: Mon, 24 Aug 2020 09:46:23 -0700 Message-Id: <1598287583-71762-11-git-send-email-mikelley@microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1598287583-71762-1-git-send-email-mikelley@microsoft.com> References: <1598287583-71762-1-git-send-email-mikelley@microsoft.com> X-ClientProxiedBy: CO2PR04CA0145.namprd04.prod.outlook.com (2603:10b6:104::23) To BN8PR21MB1281.namprd21.prod.outlook.com (2603:10b6:408:a2::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from 255.255.255.255 (255.255.255.255) by CO2PR04CA0145.namprd04.prod.outlook.com (2603:10b6:104::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25 via Frontend Transport; Mon, 24 Aug 2020 16:47:59 +0000 X-Mailer: git-send-email 1.8.3.1 X-Originating-IP: [131.107.159.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 54525498-901b-4bfa-6104-08d8484d764e X-MS-TrafficTypeDiagnostic: BN6PR21MB0753: X-MS-Exchange-Transport-Forked: True X-LD-Processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1332; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WLT/fk8AOVtOqqVcpLb3oOkPUt41pvsgkfOX8UAoJKsnYxDyjP7o023SFTwVtoifuCfe6x7mYzXewZf79f2ITJaRTYOT3OaIbXuDDSUzfGOj9zxWtVDYMwRtmxv2nG8RNPaz9l2UnVPriXuTv5MfbVfe6Hbe83nyGbCUtWZE/of/Ni2I7NxfLZieOaM73ZEHujNoEbwfgQntrdMc+xY4s/kuc63MZJMUHIehOwQ1PMQFY43LmqvGLWTGbAH10HkeIHupXz6LVeXhzrs1gFW+epFuTMV/8EIHuII9dZbbV6Oq6ReTiMvQ2VI5O4DulHl73Cs1R3qcTP3yyeWXo1hADjBjfLJ0JUfw6UEKlCnu1AZ4JcRWzo698Tg0YyeRLAM0 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR21MB1281.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(376002)(396003)(346002)(8676002)(86362001)(2616005)(956004)(2906002)(6486002)(8936002)(52116002)(10290500003)(5660300002)(66946007)(16576012)(66556008)(4326008)(6636002)(316002)(4744005)(36756003)(186003)(82950400001)(478600001)(26005)(6666004)(66476007)(82960400001)(83380400001)(7416002)(921003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: yD8/VXkbZ4+eOYxTYBfK4nspVKu/06/JoYLC1fGDi9K3Xw09sYxVGy+PojvFuoMcaBobgxwbQM+8atGA7bSth1QpMe/jFxrNQTArmHb2xA5LyKrgObCnC5XTZgtkBHXexYzyiXERkS52dq0Vkt3681PI1O+atjp+skvbX1o6DIHVpiN6dfLx2GQ2HJEgT/JS/v2uigXyqpJTWDT19AGBPwcxcm1heBMy6JT617OsPSrlN2pKDSz2Q9iEUCi5W7Rw1T15SeCMu1Ze6ac1fJMvYngbdFi+UwThx+0xDRU8acyZ/lxTCAcgz9kCOOOG0KsFpxUYxs1CLMtnpApayjNzsJJXBQcgOL4ESMfti7gf89UDfISgBLHWFeV/lMzkxSH9NMpiyM0K3axCVPAHgSRXcTwtbLjIlOfhpsKNu38Rp5YOj23sUSU+vAFQaDkN8v1lLo8FYPm6ydBh1JFV45f9rLDySpBqvim5bJ0eyxpTFCG1XLnEHRWvpx4tiXZjiakiswvSuwPAh/QXnMZ9/wSxkQK4ox0ROOoJklGp4O37Z7ig2CPIvbdGSdCYO5LjnsrkKg9dSjYO8p14u9v9vcBYarqPc6ejh/m6Xo1jlTnWIqKRKuazDlP3xa2K0mEwbUWFDl3nPDxmh8WUiu56CunvWg== X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54525498-901b-4bfa-6104-08d8484d764e X-MS-Exchange-CrossTenant-AuthSource: BN8PR21MB1281.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2020 16:48:00.9283 (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: 0lerLPaNRh5aKadjfXOsYptPClQf2ljXeXf+yo0qCPQWUxPdxd4QLqktOADvCxTQM0lIqZa3jvyNXiz+YV80xQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR21MB0753 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200824_174841_119132_B8EB7076 X-CRM114-Status: GOOD ( 11.00 ) X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.243.128 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.243.128 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.3 RCVD_ILLEGAL_IP Received: contains illegal IP address -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay -1.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sunilmut@microsoft.com, boqun.feng@gmail.com, mikelley@microsoft.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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 79e5356..1113e49 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) select PARAVIRT select X86_HV_CALLBACK_VECTOR help