Skip to content

Add TPM i2C TIS device

Klaus Heinrich Kiwi openbmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9tpm: Make read{16, 32}() and write32() in tpm_tis_phy_ops optionaldrivers/char/tpm/tpm_tis_core.h drivers/char/tpm/tpm_tis_spi.h drivers/char/tpm/tpm_tis_spi_cr50.c +1 more+35 -510 replies
2/9tpm: tpm_tis: Fix expected bit handling and send all bytes in one shot without last byte in exceptiondrivers/char/tpm/tpm_tis_core.c+26 -440 replies
3/9tpm: tpm_tis: Add retry in case of protocol failure.drivers/char/tpm/tpm_tis_core.c drivers/char/tpm/tpm_tis_core.h+41 -220 replies
4/9tpm: tpm_tis: Add verify_data_integrity handle to tpm_tis_phy_opsdrivers/char/tpm/tpm_tis_core.c drivers/char/tpm/tpm_tis_core.h+16 -00 replies
5/9tpm: tpm_tis: Rewrite "tpm_tis_req_canceled()"drivers/char/tpm/tpm_tis_core.c+2 -40 replies
6/9tpm: Handle an exception for TPM Firmware Update mode.drivers/char/tpm/tpm2-cmd.c include/linux/tpm.h+5 -00 replies
7/9tpm: Add YAML schema for TPM TIS I2C optionsDocumentation/devicetree/bindings/security/tpm/tpm-tis-i2c.yaml+50 -00 replies
8/9tpm: tpm_tis: add tpm_tis_i2c driverdrivers/char/tpm/Kconfig drivers/char/tpm/Makefile drivers/char/tpm/tpm_tis_i2c.c+305 -00 replies
9/9Add TPM device to Rainier Device-Treearch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts+6 -00 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchJarkko SakkinenRob HerringEddie JamesJoel Stanley
1/9R-b T-b
2/9R-b
3/9
4/9
5/9
6/9
7/9R-b
8/9T-b T-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH linux dev-5.8 0/9] Add TPM i2C TIS device

Add the tpm_tis_i2c driver, which was submitted / discussed here[1] but not yet accepted. I decided to not include '[v12,7/9] tpm: tpm_tis:
verify TPM_STS register is valid after locality request' since I don't think it's correct or necessary (and it breaks compilation).

Additionally, add the Nuvoton NPCT750A device (which uses the aforementioned driver) to IBM's Rainier's Device-Tree (opted to not send this upstream yet until we have the actual driver merged)

Tested on an Rainier (probes ok) + ibm tpm2 tss packages (used for sanity test only).

-Klaus

[1] - https://patchwork.kernel.org/project/linux-integrity/cover/[email protected]/