From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA02FC433E0 for ; Tue, 19 May 2020 07:10:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CAC572075F for ; Tue, 19 May 2020 07:10:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wuRONm/b" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728421AbgESHKK (ORCPT ); Tue, 19 May 2020 03:10:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726893AbgESHKH (ORCPT ); Tue, 19 May 2020 03:10:07 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18D41C05BD09 for ; Tue, 19 May 2020 00:10:06 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id y22so13618156qki.3 for ; Tue, 19 May 2020 00:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KOdUPiJQ4WMqd6TPu6I+f5NnqoqhJlnMM8IsOlYOcQM=; b=wuRONm/bmI6Xof3evItK3OQkI85RpeckZCfeMrVvpIWPGdlygwUVgDf/H++0PqYKzb DwEmBVzYh0S3suh0WysnWyan/jKgqFLUTyIG/pZ6SofXgyXvQdblJbqWtR/Gizaz8BjJ l9iRzqJCoI67rHe8+nobhO/SHuMRnuWqoS04k69mc/UClmtY7GIUdCgTg9MCWmoQ8ZFI lDrJV+qu4yicaWnZvVNSom5E7i66XAJuPStMZhQWqGEAsOVtr0kE0I9IWpfVGm/7D3VH kfRoMjEmOWUkhnC56/TtBBPVbZ967i5BFEOi5dFq7PDvTzMPmi/EKUU4ra6OgNWMUx2g ObDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KOdUPiJQ4WMqd6TPu6I+f5NnqoqhJlnMM8IsOlYOcQM=; b=FrgXADdwIRspB53Ad/5Zmi1uV4NxSb2r2rGYu8TRnJhtWdlKe0K7zxyk6r4gj0iIvK Z5ppLuqUKMGOLpXAQcdE0rqp1BXMgKu3XqsvGtAo+9yJu81JZ1IRZAJ8JCekSdHinXIo /ixeeD6ntXwXItCEG53VLQVzfybP8AtOQwrg/qKdqKasZwzoDf6y+rdl28QTMx4aNHJ3 +7iP4ZoD6CbKHcSk8xEeeZImsYAlpGUYvmPfgNXI9J/a6LbW9l2txFI81xgNXvNDVIUq 5VnOphq6RqJnhpUa9Ghtgy8UxQ8Fek6cAUqT3e+ZSjhAQLpSudOk3TprBd/vRSNcTOJa 7ITQ== X-Gm-Message-State: AOAM5310mIeBPigN9J8faJ9hHwhqrXVixou2slBnwoZ6RolhS61+dff2 dEdLgf5+iJQcErDp1EFdbB15t8Zd66IrEMB0uhYyrQ== X-Google-Smtp-Source: ABdhPJxNzWQXkolQlTKJQWuG+a8ny2E36b0nRIXkHwT3uWPnIdVF2upQrgI4ZZ3t9j/23d/3d5MC9QWo/vFaTrDI8is= X-Received: by 2002:a25:bd10:: with SMTP id f16mr28718795ybk.125.1589872205139; Tue, 19 May 2020 00:10:05 -0700 (PDT) MIME-Version: 1.0 References: <20200518133459.28019-1-maxim.uvarov@linaro.org> <20200518133459.28019-3-maxim.uvarov@linaro.org> In-Reply-To: From: Maxim Uvarov Date: Tue, 19 May 2020 10:09:54 +0300 Message-ID: Subject: Re: [PATCH 2/2] tpm_ftpm_tee: register driver on tee bus To: Jarkko Sakkinen Cc: linux-kernel@vger.kernel.org, tee-dev@lists.linaro.org, peterhuewe@gmx.de, jgg@ziepe.ca, gregkh@linuxfoundation.org, Jens Wiklander , linux-integrity@vger.kernel.org, Arnd Bergmann , Sumit Garg Content-Type: text/plain; charset="UTF-8" Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Mon, 18 May 2020 at 22:38, Jarkko Sakkinen wrote: > > On Mon, 2020-05-18 at 16:34 +0300, Maxim Uvarov wrote: > > Register driver on tee bus. module tee registers bus, > > and module optee calls optee_enumerate_devices() to scan > > all devices on the bus. This TA can be Early TA's ( can be > > compiled into optee-os). In that case it will be on optee > > bus before linux booting. Also optee-suplicant application > > is needed to be loaded between optee module and ftpm module to > > to maintain functionality for ftpm driver. > > Please use proper casing in the commit message e.g. tee to TEE > and so forth. Ok. Will do in v2. > What is TA? TA there is Trusted Application. I.e. application which runs in a secure world (arm trust zone.). This also fixes the Microsoft ftpm driver which has a corresponding application for secure world. Maxim. > > /Jarkko >