Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp190250ybm; Thu, 28 May 2020 20:12:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwx7fLEbhjnaG4gNkyEeC2Ku8tO/raqrEaXwLnYLUxcpq6MqstRurSLupoVQ30xuEecj3me X-Received: by 2002:a17:906:1f09:: with SMTP id w9mr5769519ejj.486.1590721963697; Thu, 28 May 2020 20:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590721963; cv=none; d=google.com; s=arc-20160816; b=JUch8zOX23kRYp9w1TeigaxsHKMBYGp+pWG/+acH/HVlFhl0wlyC01tu5gs6niJT0x l6/ewRmDPqOjhs1F/HV2SLUXoKduSGJvh8eG8zxlPwWaHLQANTdtS0wO62yGeSuKIRyO lYCY3/7LzNYpBgxmKPX2olmQJ9nAuT54lngNv2MeRO/Dwh08jKxUSVCmWh0w/WIClMaJ VTDGqiqfP+tlqroEsNLXZQImBHo+d22xUoo0FGymAluVWsdxirK1Xrz4t8HUBJJl3KkL fesgr1tG+aC0aupCR9uUA6Uj8mByv+00IR8/kfq3UagvBp4NWasbyet9iyejHmqzvznn br9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=ZqCt9kHg6I8O2DTct+1UYmQqKeCdxgms6ZG7ISfZddU=; b=ZyvRNGNLKxtrkTAnyl9HDe6ZnFBk8PQ3cztErDPrQt7GRrmSSap9IA3zLmWMFGscXT 5shAe0BgxKXykBtItfaWF3PwLVR6bzvfz253nlPqHOcNMt6gt7tV7SMZqAE30FZ6YktC /XDkQl2nWlGFgoPEncIsU64BYt4Oj5baSFqLX2Mamb65Hd2OnBz1OX17U7RwAINqZiWQ +I0XORZjFOPXT/Z61wWNZwLn2D5+YZ9PH7Z8mh3twd3vFveeXMoA+BQCEHVuteeTXqUQ o1UPh4zKB0nzrPZolznh6g8kCIYMqGFR+FS/UQRHRT668eDG+sqq7uY63ylLYqU5Xg3F eFWQ== 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 u10si5332074edb.70.2020.05.28.20.12.19; Thu, 28 May 2020 20:12:43 -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 S2390172AbgE2DKZ (ORCPT + 99 others); Thu, 28 May 2020 23:10:25 -0400 Received: from mga09.intel.com ([134.134.136.24]:57880 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389625AbgE2DKZ (ORCPT ); Thu, 28 May 2020 23:10:25 -0400 IronPort-SDR: W4hmYNN/2SG64eNNlxdd8pGLnRpPHi8TIs1z1Wcb2927kvUXRwtQ3uBF+KuOksiydMl27BkgV8 wcoKrBja9Ttw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2020 20:10:24 -0700 IronPort-SDR: TU7MZtg/g8/iOt2imhchMtC7f0pwcqas8R4I6L3xVf9nrmRaoS1Go22KPfRfWmncpQlXUSTzhN VCNodJeQ3qNw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,447,1583222400"; d="scan'208";a="414832474" Received: from pratuszn-mobl.ger.corp.intel.com (HELO localhost) ([10.252.58.65]) by orsmga004.jf.intel.com with ESMTP; 28 May 2020 20:10:18 -0700 Date: Fri, 29 May 2020 06:10:16 +0300 From: Jarkko Sakkinen To: Sasha Levin Cc: Don Porter , Thomas Gleixner , Andi Kleen , linux-kernel@vger.kernel.org, bp@alien8.de, luto@kernel.org, hpa@zytor.com, dave.hansen@intel.com, tony.luck@intel.com, ravi.v.shankar@intel.com, chang.seok.bae@intel.com Subject: Re: [PATCH v12 00/18] Enable FSGSBASE instructions Message-ID: <20200529031016.GB6182@linux.intel.com> References: <87v9ksvoaq.fsf@nanos.tec.linutronix.de> <20200519164853.GA19706@linux.intel.com> <7eb45e02-03bf-0af0-c915-794bf49d66d7@cs.unc.edu> <87h7w7qy18.fsf@nanos.tec.linutronix.de> <87d06opd3a.fsf@nanos.tec.linutronix.de> <20200528191910.GC2147934@linux.intel.com> <20200528194157.GB1407771@sasha-vm> <20200529030715.GA6182@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200529030715.GA6182@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 29, 2020 at 06:07:23AM +0300, Jarkko Sakkinen wrote: > On Thu, May 28, 2020 at 03:41:57PM -0400, Sasha Levin wrote: > > On Thu, May 28, 2020 at 10:19:10PM +0300, Jarkko Sakkinen wrote: > > > On Thu, May 28, 2020 at 01:40:16PM -0400, Don Porter wrote: > > > > Hi Thomas, > > > > > > > > On 5/28/20 6:29 AM, Thomas Gleixner wrote: > > > > > > Until recently, we were doing proof-of-concept research, not product > > > > > > development, and there are limited hours in the day. I also hasten to > > > > > > say that the product of research is an article, the software artifact > > > > > > serves as documentation of the experiment. In contrast, the product of > > > > > > software development is software. It takes significant time and effort > > > > > > to convert one to the other. Upstreaming code is of little scientific > > > > > > interest. But things have changed for our project; we had no users in > > > > > > 2015 and we are now un-cutting corners that are appropriate for research > > > > > > but inappropriate for production. For a research artifact with an > > > > > > audience that knew the risks, we shipped a module because it was easier > > > > > > to maintain and install than a kernel patch. > > > > > > > > > > I understand that and with a big fat warning and documentation from > > > > > start I wouldn't have complained so vehemently. > > > > > > > > This is a fair point. We will fix this ASAP, and I will be more careful > > > > about this going forward. > > > > > > Are you going to experiment with this patch set and Graphene? Just > > > sanity checking so that I don't unnecessarily do duplicate work. > > > > > > I ignored most of the discussion since I came here only with the > > > motivation of testing Graphene together with this patch set. I'm > > > assuming that motivation is always good no matter which angle you come > > > from. Thus, I might have missed the part I'm asking. > > > > This series was heavily tested with Graphene-like workloads. > > Is there something then readily available to test such workload with SGX > enabled? Or should I go patching Graphene? Not sure what I should take > from that comment :-) > > For me the main point is that I need a tool to create arbitrary work > loads and run them inside enclave, once the SGX support reaches the > upstream. It's not just about testing this particular series. > > The reason why I've been passive with this work so far is that I've been > busy combining updating of SGX series for over two years and maintaining > work. Now is the first time when I have time for this. > > Actually I found this by searching lore.kernel.org whether anything has > happend with this. Have had a bullet in my backlog for ages. Just need the info if anyone else is going to do something to Graphene or not in near future. If not, I will do it myself. /Jarkko