From patchwork Tue Apr 9 18:49:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 10891917 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EB33E1708 for ; Tue, 9 Apr 2019 18:50:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D96692870D for ; Tue, 9 Apr 2019 18:50:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC0912897D; Tue, 9 Apr 2019 18:50:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 768382897A for ; Tue, 9 Apr 2019 18:50:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726716AbfDISuO (ORCPT ); Tue, 9 Apr 2019 14:50:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:57402 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726517AbfDISuO (ORCPT ); Tue, 9 Apr 2019 14:50:14 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D084B20833; Tue, 9 Apr 2019 18:50:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554835813; bh=9MrHQIijW73YISreYdB1PQIpmzdT8BcWHEhjf7B25rk=; h=From:To:Cc:Subject:Date:From; b=mhKBNPSnjoTOYun4ZO1znbSBAmVjvTxZBzYNsUU5F+TKvajMHAl0zRbgyiwKCS7W7 8Kzty4jOPE9/OL+G8fFYVPF++FIF+PYJ2eAoD12yo7iXkwfulvPHkOnL4rKDuhy7WF 90MWvJXpm9Sj9qv72ZFAqjN/KKYna2J0tHaL6Gvc= From: Sasha Levin To: peterhuewe@gmx.de, jarkko.sakkinen@linux.intel.com, jgg@ziepe.ca Cc: mark.rutland@arm.com, corbet@lwn.net, robh+dt@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@microsoft.com, thiruan@microsoft.com, bryankel@microsoft.com, Sasha Levin Subject: [PATCH v2 0/3] ftpm: a firmware based TPM driver Date: Tue, 9 Apr 2019 14:49:55 -0400 Message-Id: <20190409184958.7476-1-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Changes since v1: - Code nits (remove flags, debug statements, close up leaks, etc) - Add docs under Documentation/ Sasha Levin (3): ftpm: dt-binding: add dts documentation for fTPM driver ftpm: firmware TPM running in TEE ftpm: add documentation for ftpm driver .../bindings/security/tpm/tpm_ftpm_tee.txt | 13 + .../devicetree/bindings/vendor-prefixes.txt | 1 + Documentation/security/tpm/index.rst | 1 + Documentation/security/tpm/tpm_ftpm_tee.rst | 31 ++ drivers/char/tpm/Kconfig | 5 + drivers/char/tpm/Makefile | 1 + drivers/char/tpm/tpm_ftpm_tee.c | 346 ++++++++++++++++++ drivers/char/tpm/tpm_ftpm_tee.h | 52 +++ 8 files changed, 450 insertions(+) create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_ftpm_tee.txt create mode 100644 Documentation/security/tpm/tpm_ftpm_tee.rst create mode 100644 drivers/char/tpm/tpm_ftpm_tee.c create mode 100644 drivers/char/tpm/tpm_ftpm_tee.h