Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp189553ybm; Thu, 28 May 2020 20:11:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxozYTi10CN9T1raboC9KXvfmXpsSbN84u1tB1tbB/cXXBQShCb4XJhXgb62Zf1CI4UA1R9 X-Received: by 2002:a50:c60a:: with SMTP id k10mr6015943edg.326.1590721883665; Thu, 28 May 2020 20:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590721883; cv=none; d=google.com; s=arc-20160816; b=zF0XRLIsz1TkAYZS4CEU+XqWn7GepcxXhlEaZMkKPOOlmCigL6Dhjg7DlHn6l5xUky bbB3krlYmHd8ZAQITq50imcCGOlPa+4MxXpjfPxJzHSrB9vRTvRBxAvbuWUzkcSYhZ+0 0Xq99Jl+0VybJyTZZ3+gQKDxQsKNJJyIRo7q68Gfd4wzJtSLRckO5pZCQh1GFt4xuMjV YlRtVQ2vqqgNdVSlOYEdR8bDW2PSOeIOiZr/3TSPOfAM+4Wh3OtAQ/vyZpWNunSzXa9c qpuzC4EpavwZd4KE/v81vR8a640dj7Fj8rdQBcgihQS1SFSLUPg+XvDPLZROGCsFqWgV sTlg== 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=NET8eAY/JZrGtKz3TE9rr1vKh6Z0s1KIEUq+xPIkpqY=; b=U50AUfOU3W6XznYaKyid8j6NRTw7HeaXdOszoXVaDfYkQjj1j8a4VysHkzLndE5+xY hRRXaWwUqRJJaonyO9blqJ/tU/gSZ2SgJga10uKH9R5tS+Ogf4ZTLNy0mGZhL7fUFfYG WakSyJUVk9QrD7CeZoSP9+bGAD4on3mDVneSPyfjyzct1SxvAE+15CXWEB6wYEPY7B0n r9qyu/dPRNc7doISrMpuQAK1hAYNRGu0Qk7p8+vbtuyBZrhbQTnwajatss2afGGqY1u6 +vjX6dm3o4v1yoVtk7QfyUq619rg5L1JqvkUsL78yYjleUmekM51B6g63pcYbSsqStx3 UE3w== 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 ds15si514547ejc.14.2020.05.28.20.11.00; Thu, 28 May 2020 20:11:23 -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 S2390190AbgE2DHZ (ORCPT + 99 others); Thu, 28 May 2020 23:07:25 -0400 Received: from mga18.intel.com ([134.134.136.126]:31221 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388995AbgE2DHY (ORCPT ); Thu, 28 May 2020 23:07:24 -0400 IronPort-SDR: 1jaDAuDHW+m/6ZhTACgeZmyA/H5o+qirJxAcI7KWtepVxvRbVKwbwU1bG2XFKoxgLoHqr2kqiv 6UMzyywQWAhw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2020 20:07:22 -0700 IronPort-SDR: PXJWubHD+el8TpiOoc9RTLD3jc6/9puBjQMTCNdo+xX+rU3NhHks6NDyWlkKGbLbi3oKwXqspD 2h8qtc3pdjZA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,447,1583222400"; d="scan'208";a="271076377" Received: from pratuszn-mobl.ger.corp.intel.com (HELO localhost) ([10.252.58.65]) by orsmga006.jf.intel.com with ESMTP; 28 May 2020 20:07:16 -0700 Date: Fri, 29 May 2020 06:07:15 +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: <20200529030715.GA6182@linux.intel.com> References: <371e6a92cad25cbe7a8489785efa7d3457ecef3b.camel@linux.intel.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200528194157.GB1407771@sasha-vm> 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 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. /Jarkko