Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp40773pxb; Wed, 20 Apr 2022 15:29:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwexG6GopYHeVBsjjbNUMUR3PJml3VJjV3Qezy5yNNsXks2HLvsvRpmwc3P5zQffUxG9pTS X-Received: by 2002:a17:902:d88a:b0:156:1609:1e62 with SMTP id b10-20020a170902d88a00b0015616091e62mr22720480plz.143.1650493784131; Wed, 20 Apr 2022 15:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650493784; cv=none; d=google.com; s=arc-20160816; b=u7WghcWj5j5PgZulblM15ah10XL0xxqLFEvD2Sj2D61Cyd09Lg7PPCReKAsstvSdiE 2e8H1IhFwoToPssbs9BcCFMOufsW77wjY673Wx0bXavAUVMq6uPI1NxBEk0qz5Z54EwB bdL1palSh8ZtupAazN42unumbgBeJ4bknx/8JuwOygt0RB6AsPy28DPp5+vHNFBEcZFx bWs9VmaJCzMP19WLBJvX1MyG70Ko4rHBbEDT7865K4e1JsYqxKseSstkjVYp9DMSuZrG E02QMmXcdxXNQqobHUIDM/V9HXYGfFn5rrvVyZC/TkStE8uC6memigX7AUTUTPikOi31 8+qQ== 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=FTI0nvLkj3mQQgBgshh/GftzMREn/VptyZIk8yqNZsc=; b=Uq1Rf4ZTQWxOV1Qhju8COvhjDE1pas2dLlouCKq0W6rmbkGVb7xHKy25AJaOid8CGS xIDlsPwqJSboGfZ6+LvUn5XUSefM0bogwQLlSkX3sBPlHekQaMpEKtuI6d4w6X4XA1tY XxdJyfuqpDMfQKt8XgJ875u9TWgK/ncU6nz+xWnFXnoDs8l6skow0AOp1M0t/YMQyWK0 nAQJHSJi2y8UNwSW20aYyNUj++/c5OLMg1BNQPFM3xpxhjOHA1xI3xf7k73EN8nh+xC/ 3Ir8peMrl87Id+vrCOGucDEfoKCk9NnS9vMTGDOdfUqi7slEnZKbJEZwFnYmPTJbDZJq xffw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=gNN4FBtt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a170902c2c300b00153b2d164e1si3243860pla.233.2022.04.20.15.29.28; Wed, 20 Apr 2022 15:29:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=gNN4FBtt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1382752AbiDTWDV (ORCPT + 99 others); Wed, 20 Apr 2022 18:03:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345336AbiDTWDU (ORCPT ); Wed, 20 Apr 2022 18:03:20 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BB6B140E4; Wed, 20 Apr 2022 15:00:32 -0700 (PDT) Received: from zn.tnic (p200300ea971b58ed329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:971b:58ed:329c:23ff:fea6:a903]) (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 B112E1EC0373; Thu, 21 Apr 2022 00:00:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1650492026; 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=FTI0nvLkj3mQQgBgshh/GftzMREn/VptyZIk8yqNZsc=; b=gNN4FBttiA59A0dnHly31tuR0HGkjNXyMm+t1Z38iUySSuPy6BkNAXd2fEbUgJaWo8T4za 0/79kGFPzuNJmo+bhmB+bpcxoHlq/7ttYlef2BPlEi1iV4YmaABMCR1FkyLvzXdFgDwRYA WCTQJHNsYcVt5VEOPcMNJsqJoz8YmOo= Date: Thu, 21 Apr 2022 00:00:22 +0200 From: Borislav Petkov To: Sathyanarayanan Kuppuswamy Cc: Kai Huang , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, Hans de Goede , Mark Gross , "H . Peter Anvin" , "Kirill A . Shutemov" , Tony Luck , Andi Kleen , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH v3 4/4] platform/x86: intel_tdx_attest: Add TDX Guest attestation interface driver Message-ID: References: <20220415220109.282834-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20220415220109.282834-5-sathyanarayanan.kuppuswamy@linux.intel.com> <9198cc36-67d6-9365-5d18-f23ba4075151@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <9198cc36-67d6-9365-5d18-f23ba4075151@linux.intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 19, 2022 at 05:48:57AM -0700, Sathyanarayanan Kuppuswamy wrote: > Make sense. We can just go with CONFIG_INTEL_TDX_ATTESTATION. Sounds like you didn't read my mail. Kai was questioning the need for a Kconfig symbol at all. And me too. If this thing is not going to be used by anything else besides TDX guests, why does it need a Kconfig option at all?! > Boris, this is a simple platform driver which adds IOCTL interfaces to allow > user space to get TDREPORT and TDQuote support. > > So, would prefer to leave in platform/x86 or move it to arch/x86/coco/tdx/ ? See above. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette