Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp752996ybh; Wed, 11 Mar 2020 10:06:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvUyVw7iGudTYMGwTSRpJ3UUyxT3f3XhPFFo7BghMLF53IpnNrmZJmQhbmVp9jn2McLx1+G X-Received: by 2002:aca:a997:: with SMTP id s145mr2584559oie.140.1583946372330; Wed, 11 Mar 2020 10:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583946372; cv=none; d=google.com; s=arc-20160816; b=pmMYrq0hdHieBkwrz9EMTGpzp8Z5wVS9NXTmb8gEroUr//7yakdBItsPdsw8TOwjza 66nvxxkkWCjxwgcHy1fBn/MbXldKSZEbF13c/4oXWfVHipTuf3F2Ps7kRZEE2mlbAhpm pKlyZpEEoLo8v09nqbMjASjbO0L+vqBUF4wFZtglZWVi46YjqqHTqRPBs9vYlB+L4hEw OVj2F0foaaajR8YMabRS4tq/Uk9i+NCO0oiDcC+TalJe3Idn921jF99iW2yMjvYXHvwR FpIvkXP7K/cieqcoR4w8Jt7NLD1axLHzt/P55KfO0WT4J8x8tZWCOXU98ObPgV9shJvY c7PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+SgKvGWaTNh7uA9taCJ4b0JLYo6S8j+x/w1oBnmU2h8=; b=JRcVhbxFXV9Jd+EK/5iOiNscPplRPhNqVCEj5JtZQh+n1F0/QEw6mzjvOo4PEX5jnP lhTd3Qt79buS0URl4JCzK9xTocAcQZbPK2b7Ut9y5liDkKuU/Yvq/vb90MO3okrRbkj/ nYHXlDtuIVr4sIaj1V3Mm1pPxTVrj4ghmYlsxiXWWEHMsL8cEsLBAfrECOW/vkt8fn8I EPbn9qDNUnp+5KoLzsaUkdeCEe27AeZcNhGeskVs8k6RZdcAjAxxIvK9382oyxjF9J+1 dLXZUEwzu8C4qvlCXqVDR8RMqgzH5sXUiDUW2CeXmZu120fITvMTqvPMnYP2+uAEKh8f jGvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id v9si1456255ota.239.2020.03.11.10.05.48; Wed, 11 Mar 2020 10:06:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1730235AbgCKRDw (ORCPT + 99 others); Wed, 11 Mar 2020 13:03:52 -0400 Received: from mga12.intel.com ([192.55.52.136]:49786 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729734AbgCKRDv (ORCPT ); Wed, 11 Mar 2020 13:03:51 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Mar 2020 10:03:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,541,1574150400"; d="scan'208";a="322196229" Received: from arudd-mobl.ger.corp.intel.com (HELO localhost) ([10.252.15.152]) by orsmga001.jf.intel.com with ESMTP; 11 Mar 2020 10:03:42 -0700 Date: Wed, 11 Mar 2020 19:03:40 +0200 From: Jarkko Sakkinen To: Sean Christopherson Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linux-sgx@vger.kernel.org, akpm@linux-foundation.org, dave.hansen@intel.com, nhorman@redhat.com, npmccallum@redhat.com, haitao.huang@intel.com, andriy.shevchenko@linux.intel.com, tglx@linutronix.de, kai.svahn@intel.com, bp@alien8.de, josh@joshtriplett.org, luto@kernel.org, kai.huang@intel.com, rientjes@google.com, cedric.xing@intel.com, puiterwijk@redhat.com Subject: Re: [PATCH v28 07/22] x86/cpu/intel: Detect SGX supprt Message-ID: <20200311170340.GA5835@linux.intel.com> References: <20200303233609.713348-1-jarkko.sakkinen@linux.intel.com> <20200303233609.713348-8-jarkko.sakkinen@linux.intel.com> <20200309215622.GC19235@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200309215622.GC19235@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 09, 2020 at 02:56:22PM -0700, Sean Christopherson wrote: > s/supprt/support Summary: * Selftest: document FCW and MXCSR settings in the XSAVE template. * Use WARN_ONCE() in ENCLS_WARN() instead of WARN(). * Use ENCLS_WARN() instead of WARN() in sgx_reclaimer_write(). * Clean up SGX detection and explicitly check SGX1 support. to address the findings. The GIT tree is in sync with these updates. /Jarkko