From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60A85C4363D for ; Wed, 23 Sep 2020 15:07:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C1E0021D43 for ; Wed, 23 Sep 2020 15:07:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1E0021D43 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 15F146B0073; Wed, 23 Sep 2020 11:07:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 110576B0074; Wed, 23 Sep 2020 11:07:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F41AA6B0075; Wed, 23 Sep 2020 11:07:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0038.hostedemail.com [216.40.44.38]) by kanga.kvack.org (Postfix) with ESMTP id DF76C6B0073 for ; Wed, 23 Sep 2020 11:07:41 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 922A318464DE5 for ; Wed, 23 Sep 2020 15:07:41 +0000 (UTC) X-FDA: 77294655522.29.pen07_1302b5d27157 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 394E018631323 for ; Wed, 23 Sep 2020 14:52:53 +0000 (UTC) X-HE-Tag: pen07_1302b5d27157 X-Filterd-Recvd-Size: 3871 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf06.hostedemail.com (Postfix) with ESMTP for ; Wed, 23 Sep 2020 14:52:52 +0000 (UTC) IronPort-SDR: M2qyBnqn1vXCTZlyEej+iWnKFyxxzbUckpsKh7IkFtf7MXAEVh+m69FIGttDiNmC7f9Lcybv+h XQUJoPQm/y7w== X-IronPort-AV: E=McAfee;i="6000,8403,9753"; a="148647750" X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="148647750" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.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 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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