From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 223FBC433FE for ; Wed, 23 Feb 2022 10:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239610AbiBWK4u (ORCPT ); Wed, 23 Feb 2022 05:56:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239596AbiBWK4t (ORCPT ); Wed, 23 Feb 2022 05:56:49 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31C787DE04 for ; Wed, 23 Feb 2022 02:56:22 -0800 (PST) Received: from zn.tnic (dslb-088-067-221-104.088.067.pools.vodafone-ip.de [88.67.221.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id A1DBF1EC053C; Wed, 23 Feb 2022 11:56:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1645613776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=ZB7RXgS6DyEOW5exwHeKJnB2xnMEiocD/nGfQXmtimw=; b=FMCPi5uBaJPsYHj+LGWX98iaCD65rwk3D74N4bU8jIHhUJpuAOxBc8lcOx40FVY9au4s16 EUQPGHJ+q5LJoY5NmH6s4VtzYCAkmwqXSm4hg/f2tKtGPZHz6ho+hnCLlRheVk41ozF5Ss vnYCWhWiv1kN+HbDB4cnLLmT49eKE4A= Date: Wed, 23 Feb 2022 11:56:19 +0100 From: Borislav Petkov To: Tianyu Lan Cc: "Kirill A. Shutemov" , Wei Liu , tglx@linutronix.de, mingo@redhat.com, dave.hansen@intel.com, luto@kernel.org, peterz@infradead.org, sathyanarayanan.kuppuswamy@linux.intel.com, aarcange@redhat.com, ak@linux.intel.com, dan.j.williams@intel.com, david@redhat.com, hpa@zytor.com, jmattson@google.com, seanjc@google.com, thomas.lendacky@amd.com, brijesh.singh@amd.com, x86@kernel.org, linux-kernel@vger.kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Dexuan Cui , Tianyu Lan Subject: Re: [PATCH 1/4] x86/hyperv: Add missing ARCH_HAS_CC_PLATFORM dependency Message-ID: References: <20220222185740.26228-1-kirill.shutemov@linux.intel.com> <20220222185740.26228-2-kirill.shutemov@linux.intel.com> <4769a3c0-449b-184a-5c61-a0e155f9c5b4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 23, 2022 at 06:43:40PM +0800, Tianyu Lan wrote: > Hyper-V code check cpuid during runtime and there is no Hyper-V > isolation VM option. So how does "Current Hyper-V Isolation VM requires AMD_MEM_ENCRYPT" work exactly? Please explain in detail and not in piecemeal sentences. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette