Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2743604ybt; Tue, 16 Jun 2020 14:02:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3cNaIAVnrI+jwu98zUsj9zw3Y+29q2lloQxfkdvMM+kLsZyfP8zrM89c36H4vFcmQOu2e X-Received: by 2002:a17:907:212b:: with SMTP id qo11mr4677046ejb.235.1592341370908; Tue, 16 Jun 2020 14:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592341370; cv=none; d=google.com; s=arc-20160816; b=AOqR4FSC0zjIb89DRc7qNrfi3ILSuoxkiPVomoIO4kawQEZYvBsAeEbCjllMAK7Bmc Y7D9iiXdHGDqfC/9nGONhgDQLj4HEZwejI5cD4Bm89Usq/68epwxWZ0T5esSE3jbMryY EBvJd/hIoz8AbV4eNe72D2p7PtdfgDlx7Oz0xZb6JR6JPVBrQ0XGFhfRi2lxpffTnIPO Z3G+P6uehUtNcCR3xF4uYdH8F1g+lgcMyfNXPBffILLHpkDKhqyCm6Xkrdk+E/WWllvI +rfn7st0v+kmuILv8EZfr5huw+EcLJyVRgdbj4af0g8FvO6b82mvfWion3ZkJ4n4Bxgt SqFg== 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=e8/tGx1eb978sKxzS9IsU/fO2nVLifFTRH7Mh7lVFzM=; b=lMX0mizjrKBtEGCE/Hmb7BmB86co+p5kT9mvjrkEtKWYqF5XFIfq1KZOzxk3i5lmyj US2FN/gkRTL42y24AAhyLdBg1zzsbVlY++sCq/t4PfUt6X7kLj5XLNSTc92sSnf/IlWL S8aeSqDGF0agC30Fau1LIQcbhR0AWFcUb/ZsrbgzwSYS+eOouDdiIts2g+ZOLXbqxZbk VimvJORyss8K6aWprjXbPraTv0V9bjaI3VTxAW2kMMqc4BveWfYxmw6/2eNhlEPTa3yL kKURUcCNFupmxHGrMjDFquMxQqco4uy8r1n5TSXetZK+Sx/VtZYNQOYACKBoxipO1jHR 9QDg== 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 r2si10815754edq.185.2020.06.16.14.02.28; Tue, 16 Jun 2020 14:02:50 -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 S1730421AbgFPU5k (ORCPT + 99 others); Tue, 16 Jun 2020 16:57:40 -0400 Received: from mga04.intel.com ([192.55.52.120]:61308 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbgFPU5k (ORCPT ); Tue, 16 Jun 2020 16:57:40 -0400 IronPort-SDR: 5gcjQoT+PNDZm1ek3QSQQOZNsAdC99jU8u0KEAd4Lr+Rx8i/VyOVgjA2btv4rEX4I82jZfp6Dc 8aW9wdD9bMXw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2020 13:57:39 -0700 IronPort-SDR: aGZvAOnGEPGr1XK59sU0e1rUzVAIi2qEubYftAwcjSgOjsPdRMfuaqjAYXdpgUOTMMJltunT/x 50mHfSwTvxmg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,519,1583222400"; d="scan'208";a="277052052" Received: from gosinald-mobl2.ger.corp.intel.com (HELO localhost) ([10.249.36.106]) by orsmga006.jf.intel.com with ESMTP; 16 Jun 2020 13:57:34 -0700 Date: Tue, 16 Jun 2020 23:57:32 +0300 From: Jarkko Sakkinen To: Maxim Uvarov Cc: linux-kernel@vger.kernel.org, tee-dev@lists.linaro.org, peterhuewe@gmx.de, jgg@ziepe.ca, gregkh@linuxfoundation.org, jens.wiklander@linaro.org, linux-integrity@vger.kernel.org, arnd@linaro.org, sumit.garg@linaro.org Subject: Re: [PATCHv8 3/3] tpm_ftpm_tee: register driver on TEE bus Message-ID: <20200616205732.GF20943@linux.intel.com> References: <20200604175851.758-1-maxim.uvarov@linaro.org> <20200604175851.758-4-maxim.uvarov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200604175851.758-4-maxim.uvarov@linaro.org> 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, Jun 04, 2020 at 08:58:51PM +0300, Maxim Uvarov wrote: > OP-TEE based fTPM Trusted Application depends on tee-supplicant to > provide NV RAM implementation based on RPMB secure storage. So this > dependency can be resolved via TEE bus where we only invoke fTPM > driver probe once fTPM device is registered on the bus which is only > true after the tee-supplicant is up and running. Additionally, TEE bus > provides auto device enumeration. > > Signed-off-by: Maxim Uvarov > Suggested-by: Sumit Garg > Suggested-by: Arnd Bergmann > Reviewed-by: Sumit Garg Reviewed-by: Jarkko Sakkinen /Jarkko