Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1081722imm; Wed, 4 Jul 2018 11:10:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf/aa6S/3CWtN/RT43NSyAbgmu+42wsgwFvcKnFDtEz58I1c/WZp2pHh9temQyJ19fGS6Vg X-Received: by 2002:a63:5143:: with SMTP id r3-v6mr2881306pgl.11.1530727813704; Wed, 04 Jul 2018 11:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530727813; cv=none; d=google.com; s=arc-20160816; b=k0nPBbq+joXFBoHY6SATRqXJbmw2Twhd8UAUVYvU1gmWg/bDVRl6zuDvLXSkMcMCCp T+kjvwLJVYnR2p8qCIrFLASSWSFUw1MqpUcJzks1rW90LyJW9Za5bbRkdjzLgUsKFgwp UUP1axYefII4vJ471JNRbswzfwIAslycv1RJR0yQiEdMNF5DKB+wc1Y8qf9NcPS1UVWL 2S/UQVo96H2qDiZZUASC8h7xj7uenBJgQVRMHHPS1IhHDVOO0uBiqvEy2Z0cfniTCPC5 4SR5KzJMJfkY6EVaP68IfASvLA79u2GJ2j/gT3Gh0nbWTDuf0APaHKdStLcDK4uTa6Ar H7VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Qm8x8Osaq4iTKhYFkygs2x2wgBQJWqojpfA6CEGKyV4=; b=QsY1ERGBSP9f4o9zVIZYa+J2iwFK+fuvw+HL+VQ0VdBNM8EdnHMP/KZO5Ptx4I7oNT cfmP5ghK+6CF4q23JSm8JuDj+SNsGTeIOAR5Q+2+R6mUBOEAjIaTRQOUaoBdmluxgYdR IRIcRP/4mptx4kGvm9RJzm3TLvHWU5krCX9n0iDbPeH/YUJJ2TiAlu7VLFdsA3xaWTwn JfzUBgKONpaTPh4laoo0ScgaIpfMO8UBW/3fvU7XcJpg4jcxGccWnqPM8WU9Nb4dSP8E QftzcrKp7bAXxk0lx4Gmkv8TTlYR23fCDgGOSzOHgZ9iXLncZCJ72VCnBEPZVB5GLGhr +z2w== 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 69-v6si4031512pla.288.2018.07.04.11.09.59; Wed, 04 Jul 2018 11:10:13 -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 S1752609AbeGDSJV (ORCPT + 99 others); Wed, 4 Jul 2018 14:09:21 -0400 Received: from mga01.intel.com ([192.55.52.88]:20993 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165AbeGDSJU (ORCPT ); Wed, 4 Jul 2018 14:09:20 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jul 2018 11:09:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,308,1526367600"; d="scan'208";a="68700229" Received: from saamir-mobl.ger.corp.intel.com (HELO localhost) ([10.252.34.242]) by fmsmga004.fm.intel.com with ESMTP; 04 Jul 2018 11:09:15 -0700 Date: Wed, 4 Jul 2018 21:09:13 +0300 From: Jarkko Sakkinen To: Dave Hansen Cc: x86@kernel.org, platform-driver-x86@vger.kernel.org, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, linux-sgx@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH v12 05/13] x86/sgx: architectural structures Message-ID: <20180704180913.GN6724@linux.intel.com> References: <20180703182118.15024-1-jarkko.sakkinen@linux.intel.com> <20180703182118.15024-6-jarkko.sakkinen@linux.intel.com> <5790d6a4-7d30-1ed8-0214-f68f1cb72294@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5790d6a4-7d30-1ed8-0214-f68f1cb72294@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 02:22:52PM -0700, Dave Hansen wrote: > On 07/03/2018 11:19 AM, Jarkko Sakkinen wrote: > > +enum sgx_cpuid { > > + SGX_CPUID_CAPABILITIES = 0, > > + SGX_CPUID_ATTRIBUTES = 1, > > + SGX_CPUID_EPC_BANKS = 2, > > +}; > > I made a review comment about these last time. I don't remember > receiving any kind of response from you on it, or seeing it addressed in > these patches in any kind of way. > > I've also seen comments from Thomas that sound really familiar such as > the lack of comments on the paging code or the use of a semaphore to > protect things that don't sleep. I made very, very similar comments on > the last posting. > > Is there a reason that those comments were not addressed? My sloppiness is the reason. The feedback has been awesome from you and Thomas for this version, which will help me to get these things right for the next version. Thank you. /Jarkko