Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4132069yba; Tue, 9 Apr 2019 11:51:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwRVPMZkv8WgnfoFNDEBeDBkRRY/gQXsyXKLyJ5cS9CeyC4fjTRSH9Iphxt+I4B1YNamIT X-Received: by 2002:a62:b418:: with SMTP id h24mr38213314pfn.145.1554835873228; Tue, 09 Apr 2019 11:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554835873; cv=none; d=google.com; s=arc-20160816; b=uuiw97UG3qyBnNE09O3SMHxgOBD7MvUSb1cMr4HfOLlGtT6m1f+VkrKqOPMfxF5Hq9 +ym8eJ+ygORdinqDuMHqFGJrH+oS1KbZZaaxR0GF8/hKpAYB/5acYWa2cc3HxAHQ48hp /AWvgtOKn4M96s/ezsBgXtJ6QHYGTUzPXIPZC7DYhrpdD2cEuir/svEtdTG9eYyofk/7 mfqVq0HB48AakqCroHHnFvi6n5wj/YUYLvedxiZEe2+FOcDvA4sD98ppqsoAo7Enk5R0 /FqiKfkezDVJJddBisBbbMwx7OZOUi7GoCemz16G4Ewzjs9Twjl2P772x2eXVb0XIpNX Z2Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nNrkGoq5BNMC6smatjln3U82FApjdZdiA/eXDvX0OLk=; b=j/hobVQ75MKYhaaYxvBM1KS/r8Cu82idP1JYiu/ssf1pcWnvOtfz3h6sjkp6+mDe7u 8cFZnQBfGFBwWqumHNPEkmS7itgcEu8pGd0/ae6kJTz5ArH4s+ryXpR7Ra0Wufcjbjs1 eoxIJG0AphwrIgyB+ktCVkp97nAjzwoQ2/J/CheL9yIgU97Mjg+4IXWRxQBf+5Riu3Qh p0Rt7jPxNkRxt0VuXEVcgiHf6Y+iFL9v7WqWCjF9L7sVdg1/E4ErKuGgeambWdSUYRyk jjdBkJjM4b48uAjHWgBfwUNagXrcETeFIgTb20QqLMc+Ito7+n+0saRWDIVg/fvNIuvq VhXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mhKBNPSn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61si14675322plq.2.2019.04.09.11.50.57; Tue, 09 Apr 2019 11:51:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mhKBNPSn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726774AbfDISuO (ORCPT + 99 others); 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.19.1