Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4965372pxb; Tue, 5 Oct 2021 14:23:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLEJ28tBhnl7Yup7wvEYP/psE99Wh78yCGvJllqcFoGDcYrqvZ7BnzNCI6YK0oRQwfzW1W X-Received: by 2002:a17:906:3685:: with SMTP id a5mr27643597ejc.144.1633469021024; Tue, 05 Oct 2021 14:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633469021; cv=none; d=google.com; s=arc-20160816; b=j9GnUrcgmiL0sIoaaQW8pRTHndaGd80qf/V7XV0uww/Dyh28l5qQFLDpZw3V6t5TbX U0GFPp5Y/fPnbZKiPtoibt3f3e73+vgnkBeE/bnoZLjB2Bwuaq3OYIgT71Nvcf6ckeAV ZtY61QfvbKAOhtOffO1v9ycX/B16CneAP4Ed+QNdLtrXbNLL7WqA4KbH4KZrJMO9KssM yrkP9q6TkZ/XI6ESVVvOFVC0BX2nzDLv2kLIJhJWG43PxcL+OLYjw0b04rNN7JPNUyx2 veHJOwa75zz/PAnwJce7/SOyAY6K9LxiOaDv39m5CN4LrR6jv/949zJw8m92YzoI98dq B+OA== 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=C7vNPv9qxUKW9pQwmNcRNhYvKa4vCfzU3SkADMazk8M=; b=OJTTMVg0pu3LeE2IRFzKRK0UvlodLCaWoIOA14wK32K52/mfwn8nsnKYSPOWqXe3yt V1TPKH5mJaCBSeCjRxvu03wKLtCJ3KL8Ghhunopm7PPkW8vcnbuvmy0RrAVqqZ4fvX3w AcdjvMi5t0IO3lXIFZvUNVBfobN5ciBuSWVWMr6HSwsDQlOrLj9G+zRcTKwJjPZMShA2 pt3oqMpwhHcQ+/cCzrX7pEB2azdXC3xasJSdbyVrQvRWxrWezEiEdShrAPIH75jF9SXD uURoLBCvYdgYxh1a48r+VWEhPAJ48Y5yeYfdXvoiTMsjyFX9DMsNeiRorAe/XmWnjz97 eTMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=rcfI9eMX; 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 i10si27286809ejd.99.2021.10.05.14.23.17; Tue, 05 Oct 2021 14:23:41 -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=rcfI9eMX; 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 S236658AbhJEVVn (ORCPT + 99 others); Tue, 5 Oct 2021 17:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236590AbhJEVVm (ORCPT ); Tue, 5 Oct 2021 17:21:42 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E191C061749 for ; Tue, 5 Oct 2021 14:19:51 -0700 (PDT) Received: from zn.tnic (p200300ec2f0d200041aa61d88eaf7a6e.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:2000:41aa:61d8:8eaf:7a6e]) (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 9742D1EC04DA; Tue, 5 Oct 2021 23:19:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1633468789; 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=C7vNPv9qxUKW9pQwmNcRNhYvKa4vCfzU3SkADMazk8M=; b=rcfI9eMXeakIUn/rZEB6rWJ0kzBPP1m9Att0EgDAYd/A6fFh7vjz24OXsi6rzZM//Cfusq rt2Iimy3gY2MOyZekX3dg+MNwh3+0K30nNGp+4n2XjuFmk49icUV1P/g/v/gCwbHp5v50z mEvWKIrUncGPRfklMG024Sq60zBHzJo= Date: Tue, 5 Oct 2021 23:19:49 +0200 From: Borislav Petkov To: Josh Poimboeuf Cc: Kuppuswamy Sathyanarayanan , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Paolo Bonzini , David Hildenbrand , Andrea Arcangeli , Juergen Gross , Deep Shah , VMware Inc , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Andi Kleen , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 03/11] x86/cpufeatures: Add TDX Guest CPU feature Message-ID: References: <20211005025205.1784480-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20211005025205.1784480-4-sathyanarayanan.kuppuswamy@linux.intel.com> <20211005210423.yfftpxxmj3cjprtv@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211005210423.yfftpxxmj3cjprtv@treble> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 05, 2021 at 02:04:23PM -0700, Josh Poimboeuf wrote: > What's the point of having both 'is_tdx_guest' and > X86_FEATURE_TDX_GUEST? Are they not redundant? I think this should explain it: https://lkml.kernel.org/r/YVL4ZUGhfsh1QfRX@zn.tnic but I've yet to go through these here patches and see what's happening there. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette