Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2960705pxb; Tue, 24 Aug 2021 11:33:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl7dwdAmj6doh3MArSoj/EYXYqUkqN0wReBzYPjGx/Y9h8/2w9DclSgdJYSa7Pbwg2aqS4 X-Received: by 2002:aa7:d982:: with SMTP id u2mr44127198eds.164.1629829987083; Tue, 24 Aug 2021 11:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629829987; cv=none; d=google.com; s=arc-20160816; b=E9bnSgwUhXYqD082TgpP3Z+kIRE+KTfcH118lt8aQP11oi+pFGyvkFpGcu1ZBKSoLm zyMM5f6pEPb17PaKQoMTmrGObkky2pg+bnBc3UJFH2DQ2xylnvezKENbkAs4Wfm4/ocb uEmm1c0+RVBTq5VJNYfxcfXm+rek3y3SFtL11sYoF+zGyiAzD6GpXDgJhK/iNrXghn2R 37cO9Z6FJCfVCxUtxsKsR3Jn8M1fnf9xV4ZaPMCc+fn5FESrftPV1sdRJzPzp3Y9S9I1 owUdO1zfTngLzQPxVyPvA5Qp73c7qcX3bDiVyXOzTRjFkVYWl6EVh7kRxScLlhkMuEt/ 2OcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1CrpKVTwPr11Dgq3US6aXtIGvoXycWFbFQqpZ8MNzig=; b=KJL9gcbSzH9Dl1XGbk6o9qOekYgUdrGDLGLG2KV1MgJ3AUZw8QS6RH0tca3RZePHN8 Okni5EciOH6itZwmfmBu7kwXIVRmlaNSHtLd1VviIKlkMDG9QSNcTz667r4HJRWBCdaE caKXqeNvdl6AIRH3i3OrO6zEOGPgb4DHCWFNKuZ/SmOoChMlrBNZNAXN/PHQpkSGYg3T kHxAHRrLVSMu4n+Yrga8j9pfGZvQJXCTfWonlIS9XhZ8kGhO1A6aXafkQl6cco11fKXW 6bFhaArcGoX/s1RYQACtQoFnXAFjjToUKHD3N7yMArF57U24kVBi1yzYhKuCZIo+rbpI NCDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=IPmBkmoe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lv23si495270ejb.287.2021.08.24.11.32.43; Tue, 24 Aug 2021 11:33:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=IPmBkmoe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231956AbhHXS3Y (ORCPT + 99 others); Tue, 24 Aug 2021 14:29:24 -0400 Received: from mail.skyhub.de ([5.9.137.197]:35196 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232993AbhHXS3V (ORCPT ); Tue, 24 Aug 2021 14:29:21 -0400 Received: from zn.tnic (p200300ec2f114400ce3b938495d443bc.dip0.t-ipconnect.de [IPv6:2003:ec:2f11:4400:ce3b:9384:95d4:43bc]) (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 7FDA01EC01FC; Tue, 24 Aug 2021 20:28:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1629829712; 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=1CrpKVTwPr11Dgq3US6aXtIGvoXycWFbFQqpZ8MNzig=; b=IPmBkmoeu7qxRc5dI3tfV9gNBwU8/eMZ/9svvCG9K9Z9rQKEDZS8YY1wkYx0lQiPRtzN+J hZeIkd/5knezu+iac+hHoS3SznsSlU69D1m4CqkvWUeKWGMyz2QnCp/rlhj4dSslLnh0G2 i/8FI0ekd0HZZLkjzzlpEnS3VqBpC+4= Date: Tue, 24 Aug 2021 20:29:14 +0200 From: Borislav Petkov To: "Kuppuswamy, Sathyanarayanan" Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Andy Lutomirski , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Andi Kleen , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 09/12] x86/tdx: Wire up KVM hypercalls Message-ID: References: <20210804181329.2899708-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210804181329.2899708-10-sathyanarayanan.kuppuswamy@linux.intel.com> <8ccbf970-fd4f-b1ea-ac85-98acfe296b00@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8ccbf970-fd4f-b1ea-ac85-98acfe296b00@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 11:11:43AM -0700, Kuppuswamy, Sathyanarayanan wrote: > Since TDX code can be used by other hypervisor (non KVM case) we > want to have a config to differentiate the KVM related calls. You need to start explaining yourself better. WTH does "to differentiate the KVM related calls" even mean? Differentiate for what?! Our CONFIG space is a huuge mess. Adding another option better be properly justified. > Compiler raised version generation issue for __tdx_hypercall -ENOTENOUGHINFO. Try again. > Yes. I will fix this in next version. And here audit all your patchsets. All exports better be _GPL. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette