Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2007440pxb; Thu, 16 Sep 2021 23:12:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaB5ygEmwTilfV+UOgaUzcAhblg91h8l3+PPbht/LWDgp4ln+H+0IhYZyUeMzfVarALq4F X-Received: by 2002:a92:d752:: with SMTP id e18mr6973061ilq.254.1631859161506; Thu, 16 Sep 2021 23:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631859161; cv=none; d=google.com; s=arc-20160816; b=CDSXXQJofOcF4AJAVNj80gVgnTxVsXWVSumKOYMet5M1xcnyrLG4aBCtNF/hkgXjbF MrLcoJYntprxl9a/MKvWCxplVbsAFEMreCs6xtVnVxtedysKk101bnR6VPOyXjeZtL8b SOwuqfG3L3u7OFjfkAaFEB0AUSZF+qHd9LAXWEE0AtfQRoFbsc7Gz2ZI+w+jADEi+woe xHE4XeieLFt9uWdgRqCK3nUTKzOQS8swxhTTlYukqgND2ngwva6kQXs64gzJp2XHwF9A UoBN9TcKI15vB+3tM0vUrEnJhMQYbQo2hhcOrsRdEe8CgCWQ2OFc0Sr8UIcMOwF3ge03 //Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=KkysDqnLidUe23DlWGjPi5xNsVg5Kv/88PttfF6Dhts=; b=pUgiLwdA3zyX7RwSIyDthlA6ISfQqJOms5rGSsyc9CuDsjobea2vCK7uRtc8lkCoPo 14y3qz67Np/Njashw33d4ELTT8+u5rA3FASQCUp41CKWeZTnIK514GAZR1HeqQP57E56 m1DW105O0zLqY5+dtTaFn1EzPJxirsVKSaJhROoGz5WWaJp/aNOEblnP+xtbEbWk89JY vFDA1X9721hMFSk6f65XANp2UdJDVwupMPmGs72lMYZ3dfVAfXYk7nHhvhA5dKdG2PTc njB3da0maxMhCn5gvFbgo3tEQgNB5JxBA0LOtOGb0850y/OBnXhYkZhURtoNhIpRB0Gk hOLA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si5006795ioz.59.2021.09.16.23.12.30; Thu, 16 Sep 2021 23:12: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346000AbhIPSjq (ORCPT + 99 others); Thu, 16 Sep 2021 14:39:46 -0400 Received: from mga04.intel.com ([192.55.52.120]:61035 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344129AbhIPSje (ORCPT ); Thu, 16 Sep 2021 14:39:34 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10109"; a="220749921" X-IronPort-AV: E=Sophos;i="5.85,299,1624345200"; d="scan'208";a="220749921" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 11:38:09 -0700 X-IronPort-AV: E=Sophos;i="5.85,299,1624345200"; d="scan'208";a="516866664" Received: from yunyizha-mobl2.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.212.124.4]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 11:38:07 -0700 Subject: Re: [PATCH v3 0/8] Implement generic cc_platform_has() helper function To: Borislav Petkov Cc: Tom Lendacky , linux-kernel@vger.kernel.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, linux-efi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-graphics-maintainer@vmware.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, Brijesh Singh , Joerg Roedel , Andi Kleen , Tianyu Lan , Christoph Hellwig , Andy Lutomirski , Ard Biesheuvel , Baoquan He , Benjamin Herrenschmidt , Christian Borntraeger , Daniel Vetter , Dave Hansen , Dave Young , David Airlie , Heiko Carstens , Ingo Molnar , Maarten Lankhorst , Maxime Ripard , Michael Ellerman , Paul Mackerras , Peter Zijlstra , Thomas Gleixner , Thomas Zimmermann , Vasily Gorbik , Will Deacon References: From: "Kuppuswamy, Sathyanarayanan" Message-ID: <9fee1cec-fc91-f87d-d590-5e606211f1b7@linux.intel.com> Date: Thu, 16 Sep 2021 11:38:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/16/21 8:02 AM, Borislav Petkov wrote: > On Wed, Sep 15, 2021 at 10:26:06AM -0700, Kuppuswamy, Sathyanarayanan wrote: >> I have a Intel variant patch (please check following patch). But it includes >> TDX changes as well. Shall I move TDX changes to different patch and just >> create a separate patch for adding intel_cc_platform_has()? > > Yes, please, so that I can expedite that stuff separately and so that it > can go in early in order for future work to be based ontop. Sent it part of TDX patch series. Please check and cherry pick it. https://lore.kernel.org/lkml/20210916183550.15349-2-sathyanarayanan.kuppuswamy@linux.intel.com/ > > Thx. > -- Sathyanarayanan Kuppuswamy Linux Kernel Developer