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 7C7CAC7EE37 for ; Tue, 6 Jun 2023 22:45:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239559AbjFFWp6 (ORCPT ); Tue, 6 Jun 2023 18:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240022AbjFFWpw (ORCPT ); Tue, 6 Jun 2023 18:45:52 -0400 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AC9111A for ; Tue, 6 Jun 2023 15:45:49 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 2A3FB3200999; Tue, 6 Jun 2023 18:45:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 06 Jun 2023 18:45:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1686091547; x= 1686177947; bh=hSS0JdktrhCdp8+MPFMBImmGxdk+d02HM+d8vXxlhEo=; b=S gCU68vnMrvV/FktbEABGRwkdhc+K22LZ62NuJfb0yaYdXZC8mbgsiPGFtM1o6wWe sikN62H1vD1EHnOqyh601z93TzED895lAtkM01chCLihO+/ov4iQ0F6dnZ+FS71d RALXYm6uyKvWxtyV/M3f4xb/Y4beuYaE+WNdUJaTYutmTUIAXCxP3BFyQlVrAjBc MqVGaeSAc8lATYvmy9qKQmRJLIK8HHCTL3qJyPmyv05x8K1Td0rWlRokL5T4SBu7 myJR68Y7WgSya/P7QuzN5XI087X5RXZ4F1L7bnOHtQieShKzidaTJTdxV+u4G2XE gjXVHSx1nSY+ycE0anHdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1686091547; x=1686177947; bh=hSS0JdktrhCdp 8+MPFMBImmGxdk+d02HM+d8vXxlhEo=; b=GarzA6WL88bJIjRe2HI33IfkGitIG oKqDvgPW6We9j6fwf5CH2o6wwNBCy+PdfxZuoYwdN+FyGLZ1SC597tXCYEnROGCN 84mozrjLD52MIwd7qbkXe0WGLBVd66Nx8wY9M5OSvca10cK16Y5vF77040foOOO+ pY3moTVfbiNQVky2WF7jNbGvxqsLnIe3wuBcRop2dAhqP/5s1OnOdnXGcZBwttNn ZVORf7XgySQC5buls7XuCQ1zsPS9QX+J50ye0t0/tVoB9Kp0xgFlFh7UqYF/XWNU LFlW+zq8g3ByxQsxG638yICnfqvUMMnToM9ZEyQ1m4Z+AMXUD7yh/pMaQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtvddgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdttddttddtvdenucfhrhhomhepfdfmihhr ihhllhcutedrucfuhhhuthgvmhhovhdfuceokhhirhhilhhlsehshhhuthgvmhhovhdrnh grmhgvqeenucggtffrrghtthgvrhhnpeelgffhfeetlefhveffleevfffgtefffeelfedu udfhjeduteeggfeiheefteehjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhirhhilhhl sehshhhuthgvmhhovhdrnhgrmhgv X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Jun 2023 18:45:46 -0400 (EDT) Received: by box.shutemov.name (Postfix, from userid 1000) id DAF4710F0D2; Wed, 7 Jun 2023 01:45:43 +0300 (+03) Date: Wed, 7 Jun 2023 01:45:43 +0300 From: "Kirill A. Shutemov" To: "Huang, Kai" Cc: "sathyanarayanan.kuppuswamy@linux.intel.com" , "linux-kernel@vger.kernel.org" , "kirill.shutemov@linux.intel.com" , "dave.hansen@linux.intel.com" , "Yamahata, Isaku" , Borislav Petkov Subject: Re: [PATCH] x86/tdx: Explicitly include in Message-ID: <20230606224543.a4jex2dmn43dvze4@box.shutemov.name> References: <20230606034000.380270-1-kai.huang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 06, 2023 at 10:17:53PM +0000, Huang, Kai wrote: > On Tue, 2023-06-06 at 06:10 -0700, Sathyanarayanan Kuppuswamy wrote: > > > > On 6/5/23 8:40 PM, Kai Huang wrote: > > > Currently, in tdx_kvm_hypercall() simply returns -ENODEV > > > when TDX guest isn't enabled in the Kconfig w/o having > > > > Maybe you can explicitly say "CONFIG_INTEL_TDX_GUEST is not enabled" > > It also can be disabled by !CONFIG_KVM_GUEST. Borislav has already fixed it during unaccepted memory patchset application. He used , not . See [1] and [2]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=75d090fd167acab4d7eda7e2b65729e877c0fd64 [2] https://lore.kernel.org/all/20230606161606.GDZH9bxhrGnFkaLl2A@fat_crate.local -- Kiryl Shutsemau / Kirill A. Shutemov