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=-10.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 57E3AC433E0 for ; Fri, 10 Jul 2020 08:54:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 22AD4207BC for ; Fri, 10 Jul 2020 08:54:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="o/pLjwmf"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ydtyon2y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 22AD4207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=lJL/4PB+fCsD7cHOFeta33IHPOdGkSc7VfR+GyfwNNQ=; b=o/pLjwmfqPLHSiznVJYnM9DPsK qYPm07ja09Hc07ui4Dc5EfcjfSdYDGI1WFoLs/xSF3rN024qjQQinpM4LyFeX4ryEBwHLiMq2jELs iA97oN936RYlqT2375Mjkcpg3P4z8eExpdOUvNW5yK9/zBPOqZoFprvizL4g4ATR/a/97Fv5tLxI7 24nXes5s+6gfA6bp0byQEbCgURk6kov6jwXiB9uXQM/wRe8SIyl2gkXoCtnN/oI1Xve2XafAw4+DR QWpuWqpcYByrlnBDcowUY2oosCUzY/j7BSiP7nVWSLkhgcQ3PI2E/9vXIvWEoReCWYQX3fPSsyu9C fMfi5z4Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtolq-0006lB-C8; Fri, 10 Jul 2020 08:52:38 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtoln-0006jy-Fi for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2020 08:52:36 +0000 Received: by mail-lj1-x242.google.com with SMTP id b25so5561955ljp.6 for ; Fri, 10 Jul 2020 01:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=SOf7VhktuFKx34ZBJi++opyzeaVIB9yGYq7CWp3mcyA=; b=Ydtyon2yZkRskjNRgg9ckcUMJhuBUZC9/N1BgTM9oRG5sHrjthBBFCoeMaYrSRRLl1 mbYBa9Mam9gU02NSM67e6IEf6o6Y6j7L8w8IGEXOmy0S1VSCP72clbky59RRtAR+279e KM0jAvq2C2H3s4E8CMrbxa4pyK/FR81uP0GTHU6RGsatBY1LQQLs34LJYEHjqFZjmb17 61bDBO7qWJ5XsIJFRZiH/f0nANLe6ZIJvMSf4m6EhxdbrdKrNKy/Zsi3wwy/tRAQ//DO WdZUP57cru6wQgwd/VC9Ihcx+oe+cFSQ7hAeICXCHFheCXRLFF4/Y3Y9rDMyQ2JoDMnX Vbfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=SOf7VhktuFKx34ZBJi++opyzeaVIB9yGYq7CWp3mcyA=; b=JX5vAkYjBFilPLqCrU0TnzW45NCdtYeoz6xFC41CzjX/xoRECxypR/KS6nYdtO0pCp JxJYeJ+W/eWFExDWe0pqcsPgx46sDmP87pj8e5VyTwjwwGwOK6C5GoJA7u53vUzNLWB4 CaVloQsiDyqNRB/blxsSikaWQtzAUYCR0vj6BkviIl9122vHhkTv4XSmzZQ3H/J2sBHb MpG+Jq6HOoAqP/kwMG9353BuLQCkq9xILRGAl84IaPkFg9JytYFDprPkkrohmCN0ZuoB WRI1e/yXYfl0CPnxr7NFgh45H32tg80Us6ptaN3OZMnwIu4QnqQ4/pmdV9YRUafhJ4t8 TJLg== X-Gm-Message-State: AOAM530TdkiXio9AdwwNukbXztQuL9XLNmMMUdfVs2fzRqTwmj/8nSwC DiQsooI/+tzhNZuF1CpIGPLUVA== X-Google-Smtp-Source: ABdhPJzsqEaYR4D2UhGTLMEzgTZ8UByj8LNtRq/174vcISNAaOMoiTIZUE7Ht2Hh67s5i3KuNIuqng== X-Received: by 2002:a2e:9619:: with SMTP id v25mr40788978ljh.324.1594371153084; Fri, 10 Jul 2020 01:52:33 -0700 (PDT) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id q13sm1919854lfb.55.2020.07.10.01.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 01:52:32 -0700 (PDT) Date: Fri, 10 Jul 2020 10:52:30 +0200 From: Jens Wiklander List-Id: To: arm@kernel.org, soc@kernel.org Subject: [GIT PULL] optee bus for v5.9 Message-ID: <20200710085230.GA1312913@jade> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200710_045235_607334_DA2C580F X-CRM114-Status: GOOD ( 12.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sumit Garg , Maxim Uvarov , Linux Kernel Mailing List , Jarkko Sakkinen , tee-dev@lists.linaro.org, op-tee@lists.trustedfirmware.org, Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello arm-soc maintainers, Please pull these patches enabling multi-stage OP-TEE bus enumeration and also adds a TPM driver for a OP-TEE based fTPM Trusted Application. The TPM driver depends on and takes advantage of the multi-stage OP-TEE bus enumeration by indicating that it should be probed after tee-supplicant has been started. Jarkko, one of the TPM maintainers, has been involved in reviewing these patches and agrees that I can include the TPM patch in the pull request. Thanks, Jens The following changes since commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162: Linux 5.7 (2020-05-31 16:49:15 -0700) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/optee-bus-for-v5.9 for you to fetch changes up to 9f1944c23c8cb1c033b73de80cf6c612a2a80a2b: tpm_ftpm_tee: register driver on TEE bus (2020-07-10 09:41:58 +0200) ---------------------------------------------------------------- Enable multi-stage OP-TEE bus enumeration Probes drivers on the OP-TEE bus in two steps. First for drivers which do not depend on tee-supplicant. After tee-supplicant has been started probe the devices which do depend on tee-supplicant. Also introduces driver which uses an OP-TEE based fTPM Trusted Application depends on tee-supplicant NV RAM implementation based on RPMB secure storage. ---------------------------------------------------------------- Maxim Uvarov (3): optee: use uuid for sysfs driver entry optee: enable support for multi-stage bus enumeration tpm_ftpm_tee: register driver on TEE bus Documentation/ABI/testing/sysfs-bus-optee-devices | 8 +++ MAINTAINERS | 1 + drivers/char/tpm/tpm_ftpm_tee.c | 70 +++++++++++++++++++---- drivers/tee/optee/core.c | 27 ++++++++- drivers/tee/optee/device.c | 38 ++++++------ drivers/tee/optee/optee_private.h | 10 +++- 6 files changed, 119 insertions(+), 35 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-optee-devices _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel