Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3677077imm; Mon, 25 Jun 2018 02:45:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKInNBv6wfQGVJw/5OKaNG3ysXN7hZf2OwpHga3hOhBQ+h5fXcrgNuRwq+NkvaMytMQoNayV X-Received: by 2002:a17:902:8a94:: with SMTP id p20-v6mr10419793plo.258.1529919954680; Mon, 25 Jun 2018 02:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529919954; cv=none; d=google.com; s=arc-20160816; b=caZMpuw2Ds2m7hK/bzdKGQn6HY11NTUroemqJHD8jpnZkiZktUaY9ew52lVtTA4pAQ IJHN1wBxmGtFBt0KjR3PpeN5+q3jGNWW0MplD1giuHvQOgDDMsSWT5nMEtmLxGFwWJLd PNlZTgo1k97smS5pHIN3LHgyGq/3B7G6HZvIJBy4j+Sq7G5T+vS5QXTru5gwtCaqFap1 YuqFxuIFu2gnKP4I2mpvlF6ycSarDdXKZZJN34pN2T8eWnN6QJrDceqPJsyHRiIVkalW GF38tPqPllFcYHuBgHBA0tGzPWRpj9A4OGjB4t2SduZsRn3XiJtH5K7laLo+I4qdu3nY du4A== 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:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=1byVFA+IUVWUQfSa27BBhSsXcKXDfKVd/lvO5p1RLKM=; b=R9X53aHpj74uOeurq7clSkDBNWViQSXcRoY9eHeCV3wMKLkjH5SX5mGKTARny9/93m Xu9sZw5T9krO73BDWEHjemHIZvb0ZW4CYVddTyl1Cs8cLWViF4WxjgMcLm81NAfhD0HT 4UTyiVDaBLjFzmKo0Fyj/ylfe1RuaHLCRJU9JI+9Rim/6A3vbhshdltFjzM1SB4s7/DH jurKnL7tcx4urBR6VAk+B5PGD9waISCYKUIoZr6t8OAsl2BArTWUZIahb3tXVYLMD5kr 4GzYDObAIVTuG/YODneObR5y08779TjYqChwn9qewuxVLeh4TjfL7ea13edhd4Z3tx6J DuZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id h126-v6si13999043pfg.126.2018.06.25.02.45.40; Mon, 25 Jun 2018 02:45:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1755048AbeFYJoR (ORCPT + 99 others); Mon, 25 Jun 2018 05:44:17 -0400 Received: from mga05.intel.com ([192.55.52.43]:44020 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754839AbeFYJoO (ORCPT ); Mon, 25 Jun 2018 05:44:14 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2018 02:44:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,269,1526367600"; d="scan'208";a="59953095" Received: from jsakkine-mobl1.tm.intel.com ([10.237.50.42]) by FMSMGA003.fm.intel.com with ESMTP; 25 Jun 2018 02:44:04 -0700 Message-ID: <0a639f45119451143be8d8cf9c7f0041d8436b47.camel@linux.intel.com> Subject: Re: [PATCH v11 00/13] Intel SGX1 support From: Jarkko Sakkinen To: Ingo Molnar Cc: x86@kernel.org, platform-driver-x86@vger.kernel.org, dave.hansen@intel.com, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, Alexei Starovoitov , Andi Kleen , Andrew Morton , Andy Lutomirski , Borislav Petkov , "David S. Miller" , David Woodhouse , Greg Kroah-Hartman , "H. Peter Anvin" , "open list:INTEL SGX" , Janakarajan Natarajan , "Kirill A. Shutemov" , Konrad Rzeszutek Wilk , "open list:KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86)" , Len Brown , Linus Walleij , "open list:CRYPTO API" , "open list:DOCUMENTATION" , open list , "open list:SPARSE CHECKER" , Mauro Carvalho Chehab , Peter Zijlstra , "Rafael J. Wysocki" , Randy Dunlap , Ricardo Neri , Thomas Gleixner , Tom Lendacky , Vikas Shivappa Date: Mon, 25 Jun 2018 12:44:04 +0300 In-Reply-To: <20180621125511.GA4287@gmail.com> References: <20180608171216.26521-1-jarkko.sakkinen@linux.intel.com> <20180621125511.GA4287@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-06-21 at 14:55 +0200, Ingo Molnar wrote: > Just some quick feedback: these are core kernel functionality and should be > in > arch/x86/, not in drivers/platform/. We have in core what is used by both KVM and the driver right now (EPC management, SGX detection and some other bits). The driver uses this functionality to launch enclaves. > Thanks, > > Ingo /Jarkko