Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2304797yba; Mon, 15 Apr 2019 08:57:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBjwtDIFEYTuNCSpDk7qTWiIiXqM7iCHDTQP7kGcsRI4YG/dtlaXWOvLDGlpFg/jk0+zhq X-Received: by 2002:a65:6295:: with SMTP id f21mr65775233pgv.129.1555343872327; Mon, 15 Apr 2019 08:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555343872; cv=none; d=google.com; s=arc-20160816; b=L/jvM332OLPXopFoY/5aBV93OkDXm3Hvv50HJW7bfCYg9rwvnWl/YayfmFC5BcNxqe /ZVXFE27mXMx4rQ/L6cEOgAURQ6ln4zFEn4nG5dfkUrJ4AOkLWvUIgl2QM9SnUHkzvG9 wtZDpBiLQKvytbuEyYbnOa+dCo6h8mEzzagWJxawbJwYewOZFffMasJSd/H+oDJ09oRo Fq7jLSUorQ8hOFcacTRCn0p+EX95z63UDWu/dXn9sXw+Sr0/JSdpf1RewB5YF6krvhrD ifJARXfFBb3DO059ENp+jiET7Jg/8pSDFKIyUvOm6X06frP+Kf0X21e7ekcSH/193Vwn Oq6g== 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=BL/5N9UhNQ4hiOd3LLh1b1rXuu2IEspBGHwfMs/LPVg=; b=zfov4WyJpQcEksjb9dxDEBPxxAw8LH4RYqXxlJlWTAb7Kw588TRvNm/AMH6pFu2xNx 6MWuqhjlERG0/AiR7Xaz7t/ypj643FVJ4Az4oFRYu6xoF0857nIXv8DtGQoZYvk3hmNV 1zNrf/v6bRh7kE/oqMWr45pgVDbSYFNEm+FvpkCLPV73TIgmRxOnWE2bpuk5A8fsBo/V N6n0SlSCnar+WAl/BTo9uv6Y73tpzLTz2yHnb/UEBwQ8/rCu9Bx+GgxFHVsh430VWkb0 UhYGaQTLRUjy4YtyNAlnvg/aInJrvwOGZwrCt94ZIkwnmokZsrlcNYu22LmW1YYR45wl gIug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dZQzykW+; 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 r13si19946706pgj.413.2019.04.15.08.57.36; Mon, 15 Apr 2019 08:57:52 -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=dZQzykW+; 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 S1727763AbfDOP4x (ORCPT + 99 others); Mon, 15 Apr 2019 11:56:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:37308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726522AbfDOP4w (ORCPT ); Mon, 15 Apr 2019 11:56:52 -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 0BEFB20825; Mon, 15 Apr 2019 15:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555343812; bh=7dOXUAHOrd3stZI8oiR/bmI+G1sgcngs4onAY15LRN4=; h=From:To:Cc:Subject:Date:From; b=dZQzykW+EP6CePtAcXFlY00NsSzcHwvX/lZbyZ2b9TNDXoHeIEt7L0iFu1Bqp1CnM x7MdapdWbJOFyvCeEg67PbBlTme6TT/veuXotTHhMbj8G4F/Ud0jMy+5kuxypMqiHN Qq/H3Frlj2lYnFyjsCbZd6n0YDlnSl2fBloFykmo= 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, "Sasha Levin (Microsoft)" Subject: [PATCH v3 0/2] ftpm: a firmware based TPM driver Date: Mon, 15 Apr 2019 11:56:34 -0400 Message-Id: <20190415155636.32748-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 From: "Sasha Levin (Microsoft)" Changes since v2: - Drop the devicetree bindings patch (we don't add any new ones). - More code cleanups based on Jason Gunthorpe's review. 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 | 366 ++++++++++++++++++++ drivers/char/tpm/tpm_ftpm_tee.h | 47 +++ 6 files changed, 451 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.19.1