Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1550007ybt; Thu, 25 Jun 2020 08:33:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9lwOFpNjPa3aBs38J7jtmZjtdajsaczmR2E2fC4QAwsDs5wg/PJ8R1Sg2LXYXpYYF4vka X-Received: by 2002:a50:fd07:: with SMTP id i7mr14682785eds.221.1593099190601; Thu, 25 Jun 2020 08:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593099190; cv=none; d=google.com; s=arc-20160816; b=ErQWkq7O0UgGleki9Uz8cAOR6u9inhbxMNSeC8AiQLNtUU9vgAEf243LHlK+f0KvJ0 4fZAQvh1x7qhMNRLNfu4++k+BZfoQcWR66Y5SUGjJZI4Tzj1owq3SFo2gwqfYCt8s57U N/iTT6BJpx3m2TxkpINhpRm8uAWHm4GgrjB5V5YDq5yRMYLr+KpNvY2h41OI1TcLXNhC JrKNa8Q6euTBvoSuClLF/vIPxF6+cNiAzzC1rqBQ6zInyBliK6Z4XY6M48+M2OVyTSgv XRlz3YT8jk0PdNeGCe10GrpLQGpFkr9vOWhdcld9wY3SSe48H1/t0CSP0ohduPq50iPS 4CLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=1d1NDHziB2+Z4wmOF87q1mDb9V/Ga/3Nh2+lEySJ0oM=; b=FyxTtUQBXVcSUVgOtst9MwTlejcVv5kyqMBHljuFTsNall/ntIZ3hbvxbQY9r8sfmM 0dDtpp0U12d4BRP+UTJ9twaKZmci22nZfGVSVNjDLWizlRvVxOyINi6DMSoJ8/Oe/xmk LYggJzqRHorX6xrv7iLd9Jw2pmLIQ9EGVLg9ou8cpe91AsNbK/YrFxSeKFNoGv4+kHZS ozP28g/uGZivhVHyxglm8hofrglFdDjW+oF2LLFsdwKex9mVlDkuWmGBzdZPRGC4OgfY QVRaXPk6WKPBo8uhEpLgmI18ztsMsuaxhb4DUtJkarS9MMigq/bXhPz+/oL64xLZ+zCj 9orw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cs.unc.edu header.s=google header.b=bEpzzfX5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc21si5349955edb.51.2020.06.25.08.32.47; Thu, 25 Jun 2020 08:33:10 -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=@cs.unc.edu header.s=google header.b=bEpzzfX5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405815AbgFYPa5 (ORCPT + 99 others); Thu, 25 Jun 2020 11:30:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405780AbgFYPa5 (ORCPT ); Thu, 25 Jun 2020 11:30:57 -0400 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E268C08C5C1 for ; Thu, 25 Jun 2020 08:30:57 -0700 (PDT) Received: by mail-qv1-xf43.google.com with SMTP id a14so2956521qvq.6 for ; Thu, 25 Jun 2020 08:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.unc.edu; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1d1NDHziB2+Z4wmOF87q1mDb9V/Ga/3Nh2+lEySJ0oM=; b=bEpzzfX5ovYKTLDfG8FDmcha3pVIaMAvsWsN2XSoEhpaxvgMT6s0MatgMF0SHR3Ca4 nSrOA9eTQ5oru48OqNngYtOaezX8NXn2KTOhEIT+0B7MoUHoK/U/Ec+7nLGVHuP7C174 mnFYFscNBvV9r5R04SPiCADbe9GLiLiH2vSIk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1d1NDHziB2+Z4wmOF87q1mDb9V/Ga/3Nh2+lEySJ0oM=; b=oZwa7V+75VdsGjW8ELRNcCsILUdG9P6fPJ+MdJaRf5oZecT5vPeYGzh5VHg38Cspfq gh/qRG4hYvFZgZQLfBJQHwFLWbD93tkA6a15m9s2XYTT4ujaVRCH8JOemHvRZd4MD6pI 5lzRob+H52q+14cKj2aqUQnD/TQb6TulVSdLaPyPLgilzLaPIoVm1679ZsMV5z64+V0f UATFZcTPLX6QJ93gKchI9QqZxwwE0Ul9nUvTsXF2e2LuPNfy69ejA8FVZ9aRqsVNG6Dv IUxOM5gV+rOM0h1mhIlkTP+0vw0poyHlQloJv3bhhsjye8pN8OWdla0/xdaCqAtXRATu drcw== X-Gm-Message-State: AOAM531uIbTfxG4M0Ym2oicWQ9LqLF9RIZEAIR46dNOfQWz2mZNZupa7 nve40iI21Urv69SHiQWnXN+Wkg== X-Received: by 2002:ad4:4687:: with SMTP id bq7mr20652440qvb.12.1593099056536; Thu, 25 Jun 2020 08:30:56 -0700 (PDT) Received: from pepe.local (71-142-124-255.lightspeed.rlghnc.sbcglobal.net. [71.142.124.255]) by smtp.gmail.com with ESMTPSA id u58sm6896432qth.77.2020.06.25.08.30.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jun 2020 08:30:55 -0700 (PDT) Subject: Re: [PATCH v12 00/18] Enable FSGSBASE instructions To: Jarkko Sakkinen , Sasha Levin Cc: 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 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> <20200529031016.GB6182@linux.intel.com> From: Don Porter Message-ID: Date: Thu, 25 Jun 2020 11:30:54 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200529031016.GB6182@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/28/20 11:10 PM, Jarkko Sakkinen wrote: > On Fri, May 29, 2020 at 06:07:23AM +0300, Jarkko Sakkinen wrote: >> >> 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 > In re-reading, I realized you didn't get a clear answer. We are merging the changes to Graphene to run a patched 5.7 kernel with these patches, so it should work for you (or anyone else) once all of the changes are merged. I'd be happy to talk, perhaps off this thread, about how we can help you with any other SGX-related kernel testing in the future, or issues with running Graphene. -Don