Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1024995pxk; Fri, 25 Sep 2020 04:23:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4owh70A8WX2WrmX784BEt3hTYv1P9txLUHPcEhNueWSPKOVSqJMmG5/jg1ngOaodCjF9v X-Received: by 2002:a17:906:2985:: with SMTP id x5mr2190777eje.136.1601033011709; Fri, 25 Sep 2020 04:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601033011; cv=none; d=google.com; s=arc-20160816; b=K5pWcMKhBRX1JzHeNQhTI921FxkEQ3cPco2y7Xwg218HzpX/VC0tAoSitGa1VbyaHZ o69jCZU8I+H4FWQDSebsqLuqxqMYvxtaW+VvgBprkEdSzc6zHPl91mHY4bqNmR/DGF7V 0pDFaOkhvO7XI4Ln27I2KfMoporJD5u8xQEIWaaAO/LFbZDnqmJeTeSjXRO8hqgcFQw/ DG9OrXyMNyo8RTfvt1FFGIsHQQLATJMCTRopNjDPr1ylcEvJUmfkcjOFVHoQtv5u6YmR QF/J3t91SdZ4OYkw7PwYwulbmGTf4JxIWvdKYFCAqPa8+45BeaU6KtKTpGWGh0RRCaqm gnJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=9lEkHPFEBuD9uTzGEmI/euK/5jOZ4fqcAeRNGuX3lLw=; b=QD0/ZoONnfPhqMHqMAvenDjQTiCY9q5yTlW/2UK7+b4h1+w0Wvszn0pmFiBUYI+e+j o+nD+wzjhcZJDiEzHQZybhBtptrmw/w2Pj0imrY9UL9jVsZH6Q1oUFHZrqFcdUGAgpE6 v3p1FtL2I2Hy7tKDeBTd/gUlJJWAYuSwDrFxXtBNmsTElGinOmH8u9vmWpJD4c4vqcot XI0Js9Mg2HbxuddFzYIKKulDrL7Unpyv2FUJwP6ysDHm9YsAqZKNG9zQFB53fOQRAnsB yAzBhe/hQzrz+hY+Zg28IYAjeMzQ7XiFxFqKFu8xcTFTTFoukgVYHc0cmZVjuBWFs8yj SsaQ== 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 p18si1611126ejd.537.2020.09.25.04.23.07; Fri, 25 Sep 2020 04:23:31 -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 S1727970AbgIYLWK (ORCPT + 99 others); Fri, 25 Sep 2020 07:22:10 -0400 Received: from mga06.intel.com ([134.134.136.31]:33464 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbgIYLWI (ORCPT ); Fri, 25 Sep 2020 07:22:08 -0400 IronPort-SDR: p+K8xe557GJ0N+KoybFzeujBwXJzNkxu2gs+eMegwXvmaXBlr4CvmBt0Ggcm959w5icWAoQG4Q W5xmsMOcRnOQ== X-IronPort-AV: E=McAfee;i="6000,8403,9754"; a="223098903" X-IronPort-AV: E=Sophos;i="5.77,301,1596524400"; d="scan'208";a="223098903" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2020 04:22:08 -0700 IronPort-SDR: RVgYCnDXpS/kjEbVcAk1SEXoqK2sQu4HPShIb/MCHMdJBrYsGgTT0GG4+ewDbCMIKxfe1fQeye kh+84xcBuQEA== X-IronPort-AV: E=Sophos;i="5.77,301,1596524400"; d="scan'208";a="487431745" Received: from tjhenson-mobl.amr.corp.intel.com (HELO localhost) ([10.252.48.117]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2020 04:22:01 -0700 Date: Fri, 25 Sep 2020 14:21:59 +0300 From: Jarkko Sakkinen To: Borislav Petkov Cc: x86@kernel.org, linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org, Jethro Beekman , akpm@linux-foundation.org, andriy.shevchenko@linux.intel.com, asapek@google.com, cedric.xing@intel.com, chenalexchen@google.com, conradparker@google.com, cyhanish@google.com, dave.hansen@intel.com, haitao.huang@intel.com, josh@joshtriplett.org, kai.huang@intel.com, kai.svahn@intel.com, kmoy@google.com, ludloff@google.com, luto@kernel.org, nhorman@redhat.com, npmccallum@redhat.com, puiterwijk@redhat.com, rientjes@google.com, sean.j.christopherson@intel.com, tglx@linutronix.de, yaozhangx@google.com Subject: Re: [PATCH v38 17/24] x86/sgx: ptrace() support for the SGX driver' Message-ID: <20200925112159.GE180915@linux.intel.com> References: <20200915112842.897265-1-jarkko.sakkinen@linux.intel.com> <20200915112842.897265-18-jarkko.sakkinen@linux.intel.com> <20200922154424.GL22660@zn.tnic> <20200923132037.GA5160@linux.intel.com> <20200923161733.GP28545@zn.tnic> <20200924115119.GD56811@linux.intel.com> <20200924155751.GJ5030@zn.tnic> <20200924203859.GD108958@linux.intel.com> <20200925075104.GD16872@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200925075104.GD16872@zn.tnic> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 25, 2020 at 09:51:04AM +0200, Borislav Petkov wrote: > On Thu, Sep 24, 2020 at 11:38:59PM +0300, Jarkko Sakkinen wrote: > > I assume this is a rethorical question > > Of course - our text should not be write-only. > > > and I notice what I suggested > > looks as bad as my earlier commit message :-) > > > > So, I gave it some thought that and decided to "open code" the paragraph > > as > > > > "Add sgx_vma_access() function that implements 'access' virtual function > > of struct vm_operations_struct. Use formentioned leaf instructions to > > "aforementioned" Ugh, that the was worst spelling I've done for a while. > > achieve read and write primitives for the enclave memory." > > I'd say "to provide read and write access to enclave memory." Sound better yes, thanks. > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette Updated the commit message accordingly. I also rebased now to x86 tip (and yes, merge conflicts were trivial to sort out). /Jarkko