Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3974657pxk; Tue, 22 Sep 2020 07:25:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNn/P5DH9+Uj8ugKv9ivCNcwobxwvpE7UL8PWm2XcTMZLk0w21HxHy3P6tXq/E6Et8vEAT X-Received: by 2002:a17:906:170e:: with SMTP id c14mr5120310eje.275.1600784746884; Tue, 22 Sep 2020 07:25:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600784746; cv=none; d=google.com; s=arc-20160816; b=xT+4uZKrEhRk2lapE/ZnEtDSfEaeoPVjm7ls4miJMVEDm5wBjmz8N7OEBWdD4fAmPq INFTgxJEY5MVSh1vIw7MJmShHnob3CUF84K43ukwRG0hp/BfqD0mO0sR5p5g5W+K6Oww Ugowjufjk3iEFkbNPfwAfUYmxekGZ7bpCJ1fNjJI/0kHn5gf9FM8AbS34l+gMaE5dzEi cPfEDbj9FqDK95Rw6kgbdeLDQqW8YHCaNDYrnTTnYcVgGKJVMb2gwFs5J09bCr7YYEdo o1CaujRmdcbP2a0vfql4uct4RldWeXD/fdiMwWU7Dw9zY4kLa/R92Sc9b/eeSUdtiw0o 9DGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=b9ig+ASowjbt+g3pR0np+7iMxB15EFcK7NyuXShobS4=; b=Djvqs+UKgaEZ31j7lr55nPg2vM91wbyRaqTwKen020gmWTAkiRhreb4+p4TCuJ0/3E Or+A/A9AmZgOVjoedrDTYgXklzz1oHp/4YGQXmdo382pheUJPzNS/QRMlMCWRJuow4tj DX8ZWiPEbkAcBmHkBp48/7Si+WNPIC4qf6DPRpm9Svpj/MgH51pA2UzAO1UIBTegbr3i CI4yssqmpAifFXWyeknBpwVhry1vTfrjdUb68kb1+cC6+HOP3hIduopEvqc6vOWiC28D IBg89bzEj0CJcO3E0WmWKRM2p3L+QGWPTEh1Gt3PY5zd8ysfYTv2aPXq1KeHDQr8ckL1 CuVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=WY1KrOzh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si10669028ejv.149.2020.09.22.07.25.21; Tue, 22 Sep 2020 07:25:46 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=WY1KrOzh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726633AbgIVOYZ (ORCPT + 99 others); Tue, 22 Sep 2020 10:24:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726597AbgIVOYY (ORCPT ); Tue, 22 Sep 2020 10:24:24 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E609C0613CF; Tue, 22 Sep 2020 07:24:24 -0700 (PDT) Received: from zn.tnic (p200300ec2f0bfb00bac1eb742b9d4935.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:fb00:bac1:eb74:2b9d:4935]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id B217A1EC02E6; Tue, 22 Sep 2020 16:24:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1600784658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=b9ig+ASowjbt+g3pR0np+7iMxB15EFcK7NyuXShobS4=; b=WY1KrOzh7W306okwBE+M/OOizUawZqkQjJqwdw4AQL2SSroW3eZYNXNCLyhVMQRPkbai/V /slaQzT2ouhMBeVzLNFattqRo3ECXnphiXFTqWlDYUYgrnFcHXeiIVkmdSU4dz7ifvQLSa KAeNEAjmM89MsrSSFKSRmySfcdMekoI= Date: Tue, 22 Sep 2020 16:24:13 +0200 From: Borislav Petkov To: Jarkko Sakkinen 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: <20200922142413.GH22660@zn.tnic> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200922140314.GA164527@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette