Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3787298ybi; Fri, 5 Jul 2019 14:04:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLhTDXhLZh2vgw3gHdXkOFNOEyhT6PxrN2pluiHSSrcUngLpMPFgvu1iG0YWnBF08v2pn4 X-Received: by 2002:a63:5c15:: with SMTP id q21mr7763656pgb.248.1562360647312; Fri, 05 Jul 2019 14:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562360647; cv=none; d=google.com; s=arc-20160816; b=Zzr0o3edKkUQMygINJqIN9s5e0YN8ryBfDjh+0BOfjJloGKvcWfw0s2LMfqFVRgkmG 0L/oDAVY5QxIUApl6J9VLlm6PwVy7sYYTAPBR2AlRwY8dBgbcpZwRqFkgLk6eoXMu8tf gZYhuK3xm/M984HFCHSXxvl3V7TdWFeBh/7+DdbI6oKhYGmm9WodFLLFjnfdVvq3fEjG uqjqEWQej5JjWaChZayCYeJP4/kVaEB+4fy3RujN3FOYHRgXOEcaPryOoGIihe0rEUYN 6sjKnZKT+BFhcQy5Uh1HyicVtvpPD7OUR9nKccTRtbI2IILwZc/ICgUKkxWy5+8Ug6Xp odnA== 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=8MrJ+EYwOr7Q6UOuph1aA10lLey48JdvJnSuNncidmQ=; b=ybvn5nxbEm1HqteKADkNJ+oxwR2kpVIOZrxCveX6G0bIfD5J36sRc8m4CQ0Sb+4UH7 NP6ueDKfqXyT+9v1YrgDsvbGprVYc9SxgEXFNdaadZ8lCeOuqSi3Cfud7MwTQnPrd+tW g/vbZsLQXgH1gr04/SiJ7k55QMj8Sb9Ux0ri3YnW7oCljdNs1T/wrOrMt7/m7N5r53MP 96vuzG2ir6PbAgdASosPw6L6R+2rBy9sX0FKok6vNruZXApgIMYWvy4JoJsDM68Odsn6 BrXzhmAOJQoekRIidOPtQCNhIhCZJHSF5M1hxQEWbi+4fLndLfl1yC6bvt3N16kwlx+7 ChzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yXP9LZw3; 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 j31si9819832pgm.339.2019.07.05.14.03.52; Fri, 05 Jul 2019 14:04:07 -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=yXP9LZw3; 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 S1728226AbfGEUr5 (ORCPT + 99 others); Fri, 5 Jul 2019 16:47:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:45016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727983AbfGEUr5 (ORCPT ); Fri, 5 Jul 2019 16:47:57 -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 8A3BE216E3; Fri, 5 Jul 2019 20:47:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562359676; bh=K7he3rQq49BWkAT4cEC8Z1CZZtq44KtExCY3OnjReBc=; h=From:To:Cc:Subject:Date:From; b=yXP9LZw3GDXY4+pZb14RV1l6/SKpaLXq2EFuqpgQm5ZH5NcimfHu3P8TiXzqQvtjQ kbo+ipZjmWWULJBZVCA9dOWV0IkAfJqzXjxi4vB0TKbR+wSoz7n/O9zF/ylRYTQjQ2 XYIsEC0f8eJDfp1aN7KgMDZDEW6mCrZy7Cz2kacw= 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 v8 0/2] fTPM: firmware TPM running in TEE Date: Fri, 5 Jul 2019 16:47:44 -0400 Message-Id: <20190705204746.27543-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 from v7: - Address Jarkko's comments. 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 | 27 ++ drivers/char/tpm/Kconfig | 5 + drivers/char/tpm/Makefile | 1 + drivers/char/tpm/tpm_ftpm_tee.c | 350 ++++++++++++++++++++ drivers/char/tpm/tpm_ftpm_tee.h | 40 +++ 6 files changed, 424 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