Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp4054469ybd; Tue, 25 Jun 2019 13:14:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaUPxt5FnR9H2KigTsp6ueGAgIyWGKGjufoGSL3QiHzJAVH4m5Zfrz9nx84eG0lOI7MU3G X-Received: by 2002:a63:60cc:: with SMTP id u195mr5932442pgb.13.1561493653078; Tue, 25 Jun 2019 13:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561493653; cv=none; d=google.com; s=arc-20160816; b=IQz1nAcwrV5WHoKxpVSyl5wJM7K6W9RUicR7UZEcO/KdFaOyp7EojX9kv90Ots73Pu T0+/Ba404umCPBGgRjppBM3YOscvMktVsV1EuI4TyAxEie+F9bS0ZcrK5L794muB+l4I ylZ9cP1Udy43WJHyPB6YVrVXA1a7F3yU/aEa4CYy6IVkTH5tB9Fs2U6YsZXFXYNYMamh nHa6W2nce31oYaLkYIzaghYNQheZGogdrw/b/rmGH2koyKOoIJn+ztpBxqzHRToC2YK1 03KOE+AcL+LfpCwVoAL/mkWEmdQfvowj+CIeuynV32hUSlJvwtTVsHC9poHblAD2dsPB ei5A== 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=e1V/fJZqfokF1il5APSz1aieWJTIjzNF1jraqT/Jpgs=; b=nytX8W0VI4S7Ja9z4f13wXWxa85PEj5dh0exOO7yTGXEQHLMTeSzb03Y0dL3NgpOf8 iilyfcuntpxNxC8jdBp2vRX5H4yjX8eNDha/PxI+8DMxN+mWZ+R+2uIQDUVXZlzl+xqa DwJrN+R2uUjecEXLwE9vBJjDmzWOdFMryC2A4sxtDbOba+ziPrhy9QRvwc9I9nH88ggf gv5YnS6mC0Rxa2BUy7kD/01XsUtu73OTkge5GY9tWtAfnOJp7WSQF7k0h2OQntGj2KoR hCrNfEVJqiZiVJcIVEqBgVECMx9uTVc2c2aXSfrxta+PCPZnIZRXCfEgYZEbXTSoRDrc MvFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z34MIAS2; 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 y21si1025884plp.332.2019.06.25.13.13.57; Tue, 25 Jun 2019 13:14: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=z34MIAS2; 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 S1726777AbfFYUNq (ORCPT + 99 others); Tue, 25 Jun 2019 16:13:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:42570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726274AbfFYUNq (ORCPT ); Tue, 25 Jun 2019 16:13:46 -0400 Received: from sasha-vm.mshome.net (unknown [167.220.24.221]) (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 B5D55208CA; Tue, 25 Jun 2019 20:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561493625; bh=QHq6Uqdvm22k5lzupX6xiKZGNlRkC7j+eJhBVbRDCw8=; h=From:To:Cc:Subject:Date:From; b=z34MIAS2crMhcrbYGXjA1NgfHxkM+oyFT7Zazvmmg22iAsZszQp/HN/SqHB96kcHk wcfR7/O/dC297UFMvpvWkVebBoPsiOWZTPu9Gp3/EQKzAL+dOMOIdHe6HtsBi4Mkru Au49VfKdQhf0W6sAIwLEJhGMHb9f7k7BgP9Zj1+E= From: Sasha Levin To: peterhuewe@gmx.de, jarkko.sakkinen@linux.intel.com, jgg@ziepe.ca Cc: corbet@lwn.net, 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, tee-dev@lists.linaro.org, ilias.apalodimas@linaro.org, sumit.garg@linaro.org, rdunlap@infradead.org, Sasha Levin Subject: [PATCH v7 0/2] fTPM: firmware TPM running in TEE Date: Tue, 25 Jun 2019 16:13:39 -0400 Message-Id: <20190625201341.15865-1-sashal@kernel.org> X-Mailer: git-send-email 2.20.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 in v6: - Address comments from Randy Dunlap Sasha Levin (2): fTPM: firmware TPM running in TEE fTPM: add documentation for ftpm driver 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 | 356 ++++++++++++++++++++ drivers/char/tpm/tpm_ftpm_tee.h | 40 +++ 6 files changed, 434 insertions(+) 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.20.1