LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Stephen Boyd <swboyd@chromium.org>
To: Peter Huewe <peterhuewe@gmx.de>,
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: linux-kernel@vger.kernel.org, Jason Gunthorpe <jgg@ziepe.ca>,
Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-integrity@vger.kernel.org,
Andrey Pronin <apronin@chromium.org>,
devicetree@vger.kernel.org, Duncan Laurie <dlaurie@chromium.org>,
Guenter Roeck <groeck@chromium.org>
Subject: [PATCH 0/8] tpm: Add driver for cr50
Date: Thu, 13 Jun 2019 11:09:23 -0700 [thread overview]
Message-ID: <20190613180931.65445-1-swboyd@chromium.org> (raw)
This patch series adds support for the the H1 secure microcontroller
running cr50 firmware found on various recent Chromebooks. This driver
is necessary to boot into a ChromeOS userspace environment. It
implements support for several functions, including TPM-like
functionality, and supports SPI and I2C interfaces.
The last time this was series sent looks to be [1]. I've looked over the
patches and review comments and tried to address any feedback that
Andrey didn't address (really minor things like newlines). The first
three patches add a couple pre-requisite core changes so that the
drivers can be merged. The last two patches add some sysfs attributes
and make symlinks so that ChromeOS userspace works.
[1] https://lkml.kernel.org/r/1469757314-116169-1-git-send-email-apronin@chromium.org
Andrey Pronin (7):
tpm: block messages while suspended
tpm_tis_core: add optional max xfer size check
tpm_tis_spi: add max xfer size
dt-bindings: tpm: document properties for cr50
tpm: add driver for cr50 on SPI
tpm: add sysfs attributes for tpm2
tpm: add legacy sysfs attributes for tpm2
Duncan Laurie (1):
tpm: Add driver for cr50 on I2C
.../bindings/security/tpm/cr50_spi.txt | 19 +
drivers/char/tpm/Kconfig | 26 +
drivers/char/tpm/Makefile | 3 +
drivers/char/tpm/cr50.c | 39 +
drivers/char/tpm/cr50.h | 30 +
drivers/char/tpm/cr50_i2c.c | 704 ++++++++++++++++++
drivers/char/tpm/cr50_spi.c | 450 +++++++++++
drivers/char/tpm/tpm-chip.c | 4 +-
drivers/char/tpm/tpm-interface.c | 16 +-
drivers/char/tpm/tpm-sysfs.c | 138 +++-
drivers/char/tpm/tpm.h | 29 +-
drivers/char/tpm/tpm_tis_core.c | 9 +-
drivers/char/tpm/tpm_tis_core.h | 1 +
drivers/char/tpm/tpm_tis_spi.c | 1 +
include/linux/tpm.h | 2 +
15 files changed, 1455 insertions(+), 16 deletions(-)
create mode 100644 Documentation/devicetree/bindings/security/tpm/cr50_spi.txt
create mode 100644 drivers/char/tpm/cr50.c
create mode 100644 drivers/char/tpm/cr50.h
create mode 100644 drivers/char/tpm/cr50_i2c.c
create mode 100644 drivers/char/tpm/cr50_spi.c
base-commit: f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a
--
Sent by a computer through tubes
next reply other threads:[~2019-06-13 18:09 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 18:09 Stephen Boyd [this message]
2019-06-13 18:09 ` [PATCH 1/8] tpm: block messages while suspended Stephen Boyd
2019-06-13 23:26 ` Jason Gunthorpe
2019-06-14 18:12 ` Stephen Boyd
2019-06-17 22:51 ` Jason Gunthorpe
2019-06-21 1:03 ` Stephen Boyd
2019-06-24 14:26 ` Herbert Xu
2019-07-16 18:28 ` Stephen Boyd
2019-06-14 15:27 ` Jarkko Sakkinen
2019-06-14 18:13 ` Stephen Boyd
2019-06-17 16:38 ` Jarkko Sakkinen
2019-06-13 18:09 ` [PATCH 2/8] tpm_tis_core: add optional max xfer size check Stephen Boyd
2019-06-14 15:24 ` Jarkko Sakkinen
2019-06-13 18:09 ` [PATCH 3/8] tpm_tis_spi: add max xfer size Stephen Boyd
2019-06-14 15:25 ` Jarkko Sakkinen
2019-06-13 18:09 ` [PATCH 4/8] dt-bindings: tpm: document properties for cr50 Stephen Boyd
2019-07-09 14:41 ` Rob Herring
2019-06-13 18:09 ` [PATCH 5/8] tpm: add driver for cr50 on SPI Stephen Boyd
2019-06-13 18:09 ` [PATCH 6/8] tpm: Add driver for cr50 on I2C Stephen Boyd
2019-06-13 18:09 ` [PATCH 7/8] tpm: add sysfs attributes for tpm2 Stephen Boyd
2019-06-13 23:30 ` Jason Gunthorpe
2019-06-14 15:31 ` Jarkko Sakkinen
2019-06-13 18:09 ` [PATCH 8/8] tpm: add legacy " Stephen Boyd
2019-06-13 23:44 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190613180931.65445-1-swboyd@chromium.org \
--to=swboyd@chromium.org \
--cc=apronin@chromium.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=dlaurie@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=groeck@chromium.org \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=jgg@ziepe.ca \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterhuewe@gmx.de \
--subject='Re: [PATCH 0/8] tpm: Add driver for cr50' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).