Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4028408pxv; Mon, 26 Jul 2021 19:05:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/nBmDzraBwvB5Cjnv+RCVn5kdreQOJWvllJQBm5Ggm/MHjRTmgPD4rOpTrTR0+pAFGaTp X-Received: by 2002:a92:c64a:: with SMTP id 10mr15071640ill.159.1627351518501; Mon, 26 Jul 2021 19:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627351518; cv=none; d=google.com; s=arc-20160816; b=ZDKnVkYTMWUnMbT4mUYw6uvRuSxqzoco3fqOUuPORylClwufhDmtUK4ME/bnwh9ii1 CIoNw9SM4UFdKRRYYVBBM6BQ/LBc/dVhvGFsg+kdGxmxkqdF5gqEXnCPU86dZaaYVIHR nvAgTHvjOEgvncXPsYh6XIW3hEJQHpiYcEViYpz2GsP7wrPDPdUKG146t/UZOI4VuwKY zpxSU1FtPNkcTDOT37EQu4yzWhlChPV0CRhPCnM9waH7WR2GpvyoCo5mQl0PIzRyd/Yw 0AUrMQlIjQPj+9kgG+frxXxg2EvNRm6QlYFpICq1a3TRoLS25lwIgpeYAdmGq8bccFjj lo8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=yBtlH0ifVNWRHBkmv9rYmSKG0zARuLGqChmwK00zkVE=; b=fJzGRBNbHJ18HWkxP3M39cykHr9GvhIhwfJfCnB75ePLc+VttuBoyqUmV2NsNQjmDe Pu0L/CICbb1rKiR84K3SV43t8W53kEVT1lUiCMLhgPzM2i71mi7HoSgjUgQc2qVCVpck y3VNvroo3vwNMfvBZwai6LYSvBlv8CC5ubIbn53hzJfpIyNR7hzjEbEWAya2Ezyi6lP3 jlHMwFaGz4Z3tf7vn3ZvRBywRbZn2A9W802dQdC/ntMVajU3Z3pjbg9aEeP0zwvjXoOG Pml0J99elpldrKTiqHMHe66EvNVBNn7PaQKMBUSa/X6zWAAElkw5MWadnFqx+DclyBeL m8fw== 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 c8si1855585ilq.88.2021.07.26.19.05.05; Mon, 26 Jul 2021 19:05:18 -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 S233731AbhG0BX5 (ORCPT + 99 others); Mon, 26 Jul 2021 21:23:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:19867 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbhG0BX4 (ORCPT ); Mon, 26 Jul 2021 21:23:56 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10057"; a="212339159" X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="212339159" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2021 19:04:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="455950254" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga007.jf.intel.com with ESMTP; 26 Jul 2021 19:04:24 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 26 Jul 2021 19:04:24 -0700 Received: from irsmsx605.ger.corp.intel.com (163.33.146.138) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 26 Jul 2021 19:04:22 -0700 Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by IRSMSX605.ger.corp.intel.com ([163.33.146.138]) with mapi id 15.01.2242.010; Tue, 27 Jul 2021 03:04:21 +0100 From: "Sakkinen, Jarkko" To: "Luck, Tony" , "Hansen, Dave" , "seanjc@google.com" CC: "linux-kernel@vger.kernel.org" , "x86@kernel.org" Subject: Re: [PATCH v2 1/6] x86/sgx: Provide indication of life-cycle of EPC pages Thread-Topic: [PATCH v2 1/6] x86/sgx: Provide indication of life-cycle of EPC pages Thread-Index: AQHXfMq64ck9iKFqFES93kMgbxNbPqtWDRMA Date: Tue, 27 Jul 2021 02:04:21 +0000 Message-ID: References: <20210708181423.1312359-1-tony.luck@intel.com> <20210719182009.1409895-1-tony.luck@intel.com> <20210719182009.1409895-2-tony.luck@intel.com> In-Reply-To: <20210719182009.1409895-2-tony.luck@intel.com> Accept-Language: fi-FI, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.253.164] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIxLTA3LTE5IGF0IDExOjIwIC0wNzAwLCBUb255IEx1Y2sgd3JvdGU6DQo+IFNH WCBFUEMgcGFnZXMgZ28gdGhyb3VnaCB0aGUgZm9sb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