Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp863583ybt; Wed, 17 Jun 2020 16:16:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoat//VrWev/1zlfAbePmqhHArlSmLtmV3qMxWub4fyRxnwTmvSSGgz4EjFbppgz6yaydc X-Received: by 2002:a17:906:5595:: with SMTP id y21mr1417178ejp.61.1592435815196; Wed, 17 Jun 2020 16:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592435815; cv=none; d=google.com; s=arc-20160816; b=w9YnvcZgIL9N6/6tmbcylVWGl1hO0V0pC0JJaQ0hEFHMbRHEo8xmbBuw9hj+N1hOPw zHYapyvkA7IF64beOHhiWF4/TExjuvUkJQiRzoXXnwwKinE5yQqiiiXvQctLfzEDkRcm 4C7ka0SurUDu66xv1p7GfQmsTlv/nUtP9ZNlAPIGK377AqNc9HI2EnwYv1b8XdfiMf+6 3M6CVQyz7BWAJnJI8/cNrPfWoIJj0SyZo11HHHnO3BIblXbc1eTdspLORZAjPh3u6H/H HJd0OFAN1iomjjzSXic4/gceWLRENcxFN6neb+E5e3Drn7xLxDmKbC2BZYPKpUoj0o7/ uv5A== 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=1ArblFTMOrQEihCc6YXcZtDBYak1AWA0EPRtMZSyvBY=; b=JfRJjOqpNb8yAZxJ3gsZWb5r1mpk4krwnn43l1a/j4pYD1/3EWMvTykKXQr+A000go 24oi8WctYhqnMhp9XCmdWO2n6ZL7F/4SHBeio4T7BuwxUjIm4iYC5s+r5fiAPLNbzwFX 10f324EZ1JtkNVFpf8Ae8eEU9EvBOB/xb1l+gWRrvWCpf3wIxjytSXCs5uoc9guSFA4F N0qtEpAvTRtJJbhFpgsoNCmwwHVponhVN5x8SRgDlmm3oFYNBJ6sk84CSeKvwqGPn7+5 UMPP6Q8HwelVez/rlWCiLS6FYdvaN6cqaLyBH1170rx2862OxO156ZgWXoCP79+bYDi6 FPEQ== 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 lj6si768930ejb.108.2020.06.17.16.16.32; Wed, 17 Jun 2020 16:16:55 -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 S1726980AbgFQXOp (ORCPT + 99 others); Wed, 17 Jun 2020 19:14:45 -0400 Received: from mga05.intel.com ([192.55.52.43]:56051 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726835AbgFQXOo (ORCPT ); Wed, 17 Jun 2020 19:14:44 -0400 IronPort-SDR: RpIp8TgRl7Wb5cpD03NNonoE2Nt1ttN9oR7NpwR7uGdiLcBnm8IuKt1Vm6AdY9vXnlguhWFgg/ ii4O9NBBERPQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2020 16:14:43 -0700 IronPort-SDR: xYhJJOFwfFkEbqi1RPAcBFZIgp3FcLNJR7J86i2/7dF1EoRXvTAKgcViEW3ziaXxCkLuN5WVMp CrsTU31DELRQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,523,1583222400"; d="scan'208";a="277434089" Received: from kleeve-mobl.ger.corp.intel.com (HELO localhost) ([10.252.50.166]) by orsmga006.jf.intel.com with ESMTP; 17 Jun 2020 16:14:30 -0700 Date: Thu, 18 Jun 2020 02:14:29 +0300 From: Jarkko Sakkinen To: Sumit Garg Cc: Mimi Zohar , James Bottomley , David Howells , Jens Wiklander , Jonathan Corbet , James Morris , "Serge E. Hallyn" , Casey Schaufler , Janne Karhunen , Daniel Thompson , Markus Wamser , "open list:ASYMMETRIC KEYS" , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, Linux Doc Mailing List , Linux Kernel Mailing List , linux-arm-kernel , op-tee@lists.trustedfirmware.org, "tee-dev @ lists . linaro . org" , Luke Hinds Subject: Re: [PATCH v5 1/4] KEYS: trusted: Add generic trusted keys framework Message-ID: <20200617231429.GD62794@linux.intel.com> References: <1591107505-6030-1-git-send-email-sumit.garg@linaro.org> <1591107505-6030-2-git-send-email-sumit.garg@linaro.org> <20200615182457.GB5416@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Jun 16, 2020 at 07:02:37PM +0530, Sumit Garg wrote: > + Luke > > Hi Jarkko, > > Prior to addressing your comments below which seems to show your > preference for compile time selection of trust source (TPM or TEE), I > would just like to hear the reasons for this preference especially if > it makes distro vendor's life difficult [1] to make opinionated > selection which could rather be achieved dynamically based on platform > capability. > > [1] https://lkml.org/lkml/2020/6/3/405 > > -Sumit Hmm... I do get the distribution kernel point. OK, lets revert to dynamic then. Thanks for the remark. /Jarkko