From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: u-boot@lists.denx.de
Cc: trini@konsulko.com,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Rick Chen <rick@andestech.com>, Sean Anderson <seanga2@gmail.com>,
Simon Glass <sjg@chromium.org>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Masahisa Kojima <masahisa.kojima@linaro.org>
Subject: [PATCH 0/6 v5] TPM cleanups and MMIO driver
Date: Fri, 5 Nov 2021 21:05:10 +0200 [thread overview]
Message-ID: <20211105190517.233079-1-ilias.apalodimas@linaro.org> (raw)
Hi!
This is the update for [1].
Changes since v4:
- renamed struct udevice *udev -> struct udevice *dev
- added comments on struct tpm_tis_phy_ops
- removed duplicate defines from tpm2_tis_spi driver (now in tpm_tis.h)
- moved API function description for the .c to the .h file
- added Reviewed-by tags from Simon and Heinrich
Changes since v3:
- Coverted SPI TPM to use the API as well
- moved some log_info to log_debug
- Added documentation on how to run QEMU and enabled TPM by default o
arm qemu builds
Changes since v2:
- Add myself as a maintainer on TPM drivers
Changes since v1:
- split off the tis core code into a different file
Ilias Apalodimas (6):
tpm2: Introduce TIS tpm core
tpm2: Add a TPMv2 MMIO TIS driver
tpm: Use the new API on tpm2 spi driver
configs: Enable tpmv2 mmio on qemu for arm/arm64
doc: qemu: Add instructions for swtpm usage
MAINTAINERS: Add entry for TPM drivers
[1] https://lore.kernel.org/u-boot/20211103150910.69732-1-ilias.apalodimas@linaro.org/
Ilias Apalodimas (6):
tpm2: Introduce TIS tpm core
tpm2: Add a TPMv2 MMIO TIS driver
tpm: Use the new API on tpm2 spi driver
configs: Enable tpmv2 mmio on qemu for arm/arm64
doc: qemu: Add instructions for swtpm usage
MAINTAINERS: Add entry for TPM drivers
MAINTAINERS | 5 +
configs/qemu_arm64_defconfig | 2 +
configs/qemu_arm_defconfig | 2 +
doc/board/emulation/qemu-arm.rst | 25 ++
drivers/tpm/Kconfig | 9 +
drivers/tpm/Makefile | 3 +-
drivers/tpm/tpm2_tis_core.c | 463 +++++++++++++++++++++++++++++++
drivers/tpm/tpm2_tis_mmio.c | 152 ++++++++++
drivers/tpm/tpm2_tis_spi.c | 447 +++--------------------------
drivers/tpm/tpm_tis.h | 128 +++++++++
include/tpm-v2.h | 1 +
11 files changed, 820 insertions(+), 417 deletions(-)
create mode 100644 drivers/tpm/tpm2_tis_core.c
create mode 100644 drivers/tpm/tpm2_tis_mmio.c
--
2.33.1
next reply other threads:[~2021-11-05 19:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 19:05 Ilias Apalodimas [this message]
2021-11-05 19:05 ` [PATCH 1/6 v5] tpm2: Introduce TIS tpm core Ilias Apalodimas
2021-11-05 19:05 ` [PATCH 2/6 v5] tpm2: Add a TPMv2 MMIO TIS driver Ilias Apalodimas
2021-11-05 19:05 ` [PATCH 3/6 v5] tpm: Use the new API on tpm2 spi driver Ilias Apalodimas
2021-11-05 19:05 ` [PATCH 4/6 v5] configs: Enable tpmv2 mmio on qemu for arm/arm64 Ilias Apalodimas
2021-11-05 19:05 ` [PATCH 5/6 v5] doc: qemu: Add instructions for swtpm usage Ilias Apalodimas
2021-11-05 19:05 ` [PATCH 6/6 v5] MAINTAINERS: Add entry for TPM drivers Ilias Apalodimas
2021-11-07 10:54 ` [PATCH 0/6 v5] TPM cleanups and MMIO driver Heinrich Schuchardt
2021-11-07 13:39 ` Ilias Apalodimas
2021-11-07 17:39 ` Heinrich Schuchardt
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=20211105190517.233079-1-ilias.apalodimas@linaro.org \
--to=ilias.apalodimas@linaro.org \
--cc=masahisa.kojima@linaro.org \
--cc=rick@andestech.com \
--cc=seanga2@gmail.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).