[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] Add support for TPM devices over I2C bus
From: |
Ninad Palsule |
Subject: |
[PATCH 0/3] Add support for TPM devices over I2C bus |
Date: |
Wed, 22 Mar 2023 22:01:16 -0500 |
This drop adds support for the TPM devices attached to the I2C bus. It
only supports the TPM2 protocol. You need to run it with the external
TPM emulator like swtpm. I have tested it with swtpm.
I have refered to the work done by zhdaniel@meta.com but at the core
level out implementation is different.
https://github.com/theopolis/qemu/commit/2e2e57cde9e419c36af8071bb85392ad1ed70966
Based-on: $MESSAGE_ID
---
V2:
Incorporated Stephan's comments.
Ninad Palsule (3):
docs: Add support for TPM devices over I2C bus
TPM TIS: Add support for TPM devices over I2C bus
New I2C: Add support for TPM devices over I2C bus
docs/specs/tpm.rst | 20 +-
hw/arm/Kconfig | 1 +
hw/tpm/Kconfig | 7 +
hw/tpm/meson.build | 1 +
hw/tpm/tpm_tis.h | 3 +
hw/tpm/tpm_tis_common.c | 32 +++
hw/tpm/tpm_tis_i2c.c | 440 ++++++++++++++++++++++++++++++++++++++++
include/sysemu/tpm.h | 3 +
8 files changed, 506 insertions(+), 1 deletion(-)
create mode 100644 hw/tpm/tpm_tis_i2c.c
--
2.37.2
- Re: [PATCH 1/3] Add support for TPM devices over I2C bus, (continued)
[PATCH 0/3] Add support for TPM devices over I2C bus,
Ninad Palsule <=
[PATCH 1/3] docs: Add support for TPM devices over I2C bus, Ninad Palsule, 2023/03/22
- Re: [PATCH 1/3] docs: Add support for TPM devices over I2C bus, Cédric Le Goater, 2023/03/23
- Re: [PATCH 1/3] docs: Add support for TPM devices over I2C bus, Ninad Palsule, 2023/03/23
- Re: [PATCH 1/3] docs: Add support for TPM devices over I2C bus, Ninad Palsule, 2023/03/23
- Re: [PATCH 1/3] docs: Add support for TPM devices over I2C bus, Ninad Palsule, 2023/03/24
- Re: [PATCH 1/3] docs: Add support for TPM devices over I2C bus, Cédric Le Goater, 2023/03/24
- Re: [PATCH 1/3] docs: Add support for TPM devices over I2C bus, Ninad Palsule, 2023/03/24