Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp473901pxk; Wed, 23 Sep 2020 07:54:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygIKNf52WgoxG1AtGJL/CxSyVMJqDGxo8f8P9H7WxJM3oGbYlvcLiH2f0iGJQDDqm2ikJG X-Received: by 2002:a17:906:5509:: with SMTP id r9mr67616ejp.12.1600872878172; Wed, 23 Sep 2020 07:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600872878; cv=none; d=google.com; s=arc-20160816; b=PJpYNZ4+9JQP9I1RwrKFGmKOwirWc56SZo1EeQP+IgXeFJY/PCFRGj0LJVqLOgN0iF vldyVRWTHdu0ZdzBEdrshd/DXeM/3SeQd+WGsd8gK6405WEXm5WC7dh4Nd7LV+6b4sf2 E83ScX7UsO/vJgE8pw7cClOYdH4M7qi+WQzJVUupQvSZ4IDqTkDQa1z+vS0X/9bRs9Nt lsDoRfCVXuqvNscONgYCatW5/mA0tVkPGIkSzL+rW0FKapJufrAFwFStBoTNBPvNXxc9 wvK9UfOb4oo0rDMSdPcMAAhsCqAUiQMPYf5svjqSlC2s5Mjjv97bKVT9DWYMFLdUO9ig b4fg== 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=C6+m4fKHmYUne+IuEFpbmtMTiIYRiRXQAiTCnobsNcc=; b=Z8sK5LT4FeVteVAqfOLXaioqJN3qj1f1cq8IMoCXJciw67QKs8hOkkG9wh+yLYjEkR o8P4iFPg8LOfWq7y6/DRkQbV9+xB3YNuMkZKYKx1ymeutFFtNl1ux9lbwRsm3d/fknWL cIx5F0SgJ1GRVe1lwqdM8TsXCvyJOZ67glqUMjw5CLM9now07WXAdHHv0+csxzJ4f3y7 u5zb6jy7ulSvCVKjzK/mG9KKhTMCqhBPBlXUSSedXpOWuei6a0bf+kop/xMD9yW9s6xB /Mu2RG5SVOyop33WrNJuqfpVGXbF1u+Di1mara5fzDmWJMNwV4Va4QNsnrO5iVCREJ08 n2iA== 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 x11si14375edl.498.2020.09.23.07.54.13; Wed, 23 Sep 2020 07:54:38 -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 S1726760AbgIWOwt (ORCPT + 99 others); Wed, 23 Sep 2020 10:52:49 -0400 Received: from mga14.intel.com ([192.55.52.115]:49825 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726553AbgIWOws (ORCPT ); Wed, 23 Sep 2020 10:52:48 -0400 IronPort-SDR: Y+ygIClWD4BlRCvAL+Fq+crQCbqbA2n8k5dohAK1H56KpSspecam0BQqBERZXNwIScPGzBjenk CUghlYtGlVLw== X-IronPort-AV: E=McAfee;i="6000,8403,9753"; a="160184157" X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="160184157" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 07:52:48 -0700 IronPort-SDR: qUEm5QxgpAGCO2aoV1LrsO9HLm2WX4293w5KKnf3PN5TibQgf0JORYfs5oszLqHtNlN85SD23M 9XHvO4GE2EAA== X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="486466005" Received: from linortne-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.49.223]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 07:52:41 -0700 Date: Wed, 23 Sep 2020 17:52:39 +0300 From: Jarkko Sakkinen To: Borislav Petkov Cc: x86@kernel.org, linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Jethro Beekman , Jordan Hand , Nathaniel McCallum , Chunyang Hui , Seth Moore , Sean Christopherson , 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, puiterwijk@redhat.com, rientjes@google.com, tglx@linutronix.de, yaozhangx@google.com Subject: Re: [PATCH v38 16/24] x86/sgx: Add a page reclaimer Message-ID: <20200923145239.GG5160@linux.intel.com> References: <20200915112842.897265-1-jarkko.sakkinen@linux.intel.com> <20200915112842.897265-17-jarkko.sakkinen@linux.intel.com> <20200922104538.GE22660@zn.tnic> <20200922140314.GA164527@linux.intel.com> <20200922142413.GH22660@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200922142413.GH22660@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 Tue, Sep 22, 2020 at 04:24:13PM +0200, Borislav Petkov wrote: > On Tue, Sep 22, 2020 at 05:03:23PM +0300, Jarkko Sakkinen wrote: > > On Tue, Sep 22, 2020 at 12:45:38PM +0200, Borislav Petkov wrote: > > > > + * %SGX_ENCL_PAGE_VA_OFFSET_MASK: Holds the offset in the Version Array > > > > + * (VA) page for a swapped page. > > > > * %SGX_ENCL_PAGE_ADDR_MASK: Holds the virtual address of the page. > > > > * > > > > * The page address for SECS is zero and is used by the subsystem to recognize > > > > > > ... > > > > So what's wrong over here? > > Nothing - that's just an ellipsis: https://en.wikipedia.org/wiki/Ellipsis > > I do that because otherwise you'd have to scroll through pages of quoted > mail for no good reason and that ain't friendly at all. And I notice > people not trimming their replies and not quoting only the text they > reply to. They should not wonder if their emails remain unread. > > Thx for the rest. OK, I'm just almost paranoic in not addressing all feedback, thanks for the explanation :-) Like in this version, I'll try to xref all changes so it will be at least easier spot if something is missing. > > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette /Jarkko