Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp406961pxb; Wed, 6 Oct 2021 07:30:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1uw4eIei24kFtKZSJ+PxK/PTreGhnFi08yS7QGZilJdd57ImaAhNUEA6zat4LH6S1OO70 X-Received: by 2002:a17:907:7785:: with SMTP id ky5mr33395100ejc.247.1633530621728; Wed, 06 Oct 2021 07:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633530621; cv=none; d=google.com; s=arc-20160816; b=yc9mFZ/r7nasTyex//qd7Hapl7PGHgjoqhTK6rx5L7JmYGRhSw+22A8YKNdiLGQ1HK DFlb644U8OmJs0zRd3ICmKgWkf4Aq0bxxlzYaWMpSUuit8Ueh+gGpr3D0JGl1TlZaIaG Nfgj6Ulg2GGeX7fQLJzMV2y++u9gj+F/PXvh5pstRKRvXOvlGjeK2GosTQE/KTiLGw/G x/cBsXxlAwbRG0Fo61f6fDdWHt+VHKK0rjYS+AuCviuXmYqXwPh7fUk8n/vegxzwtxP4 VCatovdsckqiKmI7Uny3xDI+9HqLXb3rSTJrSRnbqsvHOBAibhLIIb4pOoD05j8UFuIU K33Q== 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=c8HncWWjkOCJNcpjE65wOxQUt6zKO4hMGVTQYopo1WA=; b=CDwQFCI4dC6dQt/SodjZWnNEOaBpMvuW3+btx0ojDXwmRsAn7x+rpJ+5GCtANHysRR vOU6CjegOvgETnzLcZlWlqGyAXNJtZDHj7IBx5Nbl/eHEgpCJc5JG7SldKtn9NiJdrkS C45T+c7bDqUKyQat2KuWMRiuzNVJL81MvLIxg6MQtRe9zrS8Kvumrxzl21/Ohna78fh8 WYgDMe8LJw5D0W4r9QLnXEFAMhfXbantsTwgteWQ046AVrbx2+upxFkvyOUv0tDpFQSk j7GH/8etQRw1vYEE5Te5pJtOKYaK5sKKKPFDHKOxfpo+m9+2px42BYKq53CS8GqXct4T aK3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=Jxm0jSgA; 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 c10si15733878edm.262.2021.10.06.07.29.56; Wed, 06 Oct 2021 07:30:21 -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=Jxm0jSgA; 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 S238996AbhJFO2d (ORCPT + 99 others); Wed, 6 Oct 2021 10:28:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238875AbhJFO2c (ORCPT ); Wed, 6 Oct 2021 10:28:32 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99A7CC061749 for ; Wed, 6 Oct 2021 07:26:40 -0700 (PDT) Received: from zn.tnic (p200300ec2f0d3600bd612f435519a27c.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:3600:bd61:2f43:5519:a27c]) (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 2DE4A1EC0298; Wed, 6 Oct 2021 16:26:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1633530399; 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=c8HncWWjkOCJNcpjE65wOxQUt6zKO4hMGVTQYopo1WA=; b=Jxm0jSgA1kXDGfU8E47pMjxPbBEAEcwhGDbMaVK6xXqoBuHo0g0+wZliN9SfAaNjIqCch+ ClMv885IY4Wt8sjnmfunh1w8z2l814pjsgc2RB7BHnLWWN/TDDpUpN+k7nWJ60HVG/2c9M u0yLCuBeAiUJO5TGXN5l2zvJFwJWFok= Date: Wed, 6 Oct 2021 16:26:33 +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> <15a07997-2659-6be1-b8a3-da57e72562b5@linux.intel.com> <20211006034218.ynamwigsvpgad7sr@treble> <20211006050309.ldn5myznmpurnomm@treble> <20211006141105.offh3fqhyupzqs7v@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211006141105.offh3fqhyupzqs7v@treble> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 06, 2021 at 07:11:05AM -0700, Josh Poimboeuf wrote: > Ok. At least it sounds like cc_platform_has() needs a comment stating > that caps can't be relied on, and why. I thought about turning the hunk here: https://lkml.kernel.org/r/YVL4ZUGhfsh1QfRX@zn.tnic into a patch. But since we won't be using caps there, it would look weird so I guess a comment's fine. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette