Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1694652pxb; Fri, 20 Aug 2021 11:32:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLjXiiGf69WqUibbbCr6U0eMBDm1og2UdLna33sIWeSJxJi7LP9aUgrPSMJFKzuyajmRW9 X-Received: by 2002:a05:6e02:2199:: with SMTP id j25mr14725878ila.97.1629484338066; Fri, 20 Aug 2021 11:32:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629484338; cv=none; d=google.com; s=arc-20160816; b=D4GvVK7YSBj2ds+o3Tf0Ae/War3YyG1ROFYbwzW8qJkwmcYY7sZuvgghzex6V+QUrK 59tG4E8C3y4x/7dxY64j/88Grj4dPl79XPaltU3OB7xzYa8Ke4t04QX/4rMhhFSAfadI tqjQEVNjz8c0Bl3G8dgAgBuUVjJYEiZQtnOLlzYUxrimWuCz7NLidLLP3a/5pGdntJdK xBm5sjJqElDHbKZiD0Jywzv/bsObXzI2GbzrzRoLLPTP8iwAe3GxmbTcIciFetEGwJM6 2KBShmjAD6Fs33wSYvt/OaKuOGHtCiftVjcL8u+cGZdpSyF8Omh6RSqNOfYoyPJZGzWO kXqQ== 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=qHy+bga82ZXkhOdns6vJ4Thu0pGpot1a2GusyKeF480=; b=Xg/WKdP218hN30WZ/Fu16UpfqN9cpX5l1bchh5BWFuIn6lR/QJpMuZhUyHYwbYVkmc caLw+8E3f6jRH6MfuEQO10G6qU3H6REkFj1V8+JCW/X5bgpsl5bC1NYFmIX2Ut1SNHdE nO5wneyF2dtK7aBTXYrOgS1PsNLR2nrXU+gfXOxZVZL6o+PzCXy6a7BB5Z0OkuIQsyeK RB0w+kZqbXImN1rzUeNngv5mKuHIy+YRWqA5JKwO2flFlolGSD1gGuIYqKlQkf6hy4ko om4FanVtxaSifATwOKA37fZgiZUfxNGbPA7yu4pD4d6bmIzF+FBYFlUPHqiyRhlcyGaO cybg== 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 x6si8554449ilu.80.2021.08.20.11.32.05; Fri, 20 Aug 2021 11:32:18 -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 S238377AbhHTS34 (ORCPT + 99 others); Fri, 20 Aug 2021 14:29:56 -0400 Received: from mga14.intel.com ([192.55.52.115]:18683 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238667AbhHTS3m (ORCPT ); Fri, 20 Aug 2021 14:29:42 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10082"; a="216548891" X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="216548891" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 11:29:03 -0700 X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="506572106" Received: from jmorauga-mobl.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.209.135.55]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 11:29:02 -0700 Subject: Re: [PATCH v5 06/12] x86/tdx: Get TD execution environment information via TDINFO To: Borislav Petkov 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 References: <20210804181329.2899708-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210804181329.2899708-7-sathyanarayanan.kuppuswamy@linux.intel.com> From: "Kuppuswamy, Sathyanarayanan" Message-ID: <174d5062-3618-4343-bdfb-22b5cd2662f8@linux.intel.com> Date: Fri, 20 Aug 2021 11:29:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.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 8/20/21 10:35 AM, Borislav Petkov wrote: > Ok, put that as a comment above it to explain why it cannot continue. > Also, make sure you issue an error message before it explodes so that > the user knows. Ok. I will fix this in next version. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer