tpm + tpm_tis : Various fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 3 repliesIn review
- v18 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- following Rajiv's feedback. Splitting the durations and timeout patches in 3 parts.
- slightly rearranging the order of the patches
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | tpm: Use durations returned from TPMdrivers/ | +4 | 0 replies | |
| 2/12 | tpm: Adjust the durations if they are too smalldrivers/ | +11 | 0 replies | |
| 3/12 | tpm_tis: Introduce durations sysfs entrydrivers/ drivers/ drivers/ | +21 | 0 replies | |
| 4/12 | tpm: Use interface timeouts returned from the TPMdrivers/ | +4 | 0 replies | |
| 5/12 | tpm: Adjust interface timeouts if they are too smalldrivers/ | +9 | 0 replies | |
| 6/12 | tpm_tis: Add timeouts sysfs entrydrivers/ drivers/ drivers/ | +22 | 0 replies | |
| 7/12 | tpm: Fix display of data in pubek sysfs entrydrivers/ | +16 | 0 replies | |
| 8/12 | tpm_tis: Re-enable interrupts upon (S3) resumedrivers/ | +30 | 0 replies | |
| 9/12 | tpm_tis: Delay ACPI S3 suspend while the TPM is busydrivers/ | +23 | 0 replies | |
| 10/12 | tpm_tis: Fix the probing for interruptsdrivers/ drivers/ | +28 | 0 replies | |
| 11/12 | tpm_tis: Probing function for Intel iTPM bugdrivers/ | +73 | 0 replies | |
| 12/12 | tpm: Fix a typodrivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 12 patches has a Reviewed-by or Acked-by.
| Patch | Guillaume Chazarain |
|---|---|
| 1/12 | T-b |
| 2/12 | |
| 3/12 | T-b |
| 4/12 | |
| 5/12 | |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 00/12] tpm + tpm_tis : Various fixes
This patchset fixes various issues in the general TPM driver and the TPM TIS driver. Some of the patches were previously posted, and are being re-posted without change, while other patches were refactored. This patchset applies to the tip of the main git tree.
Patches 1-6 are related to using the timeouts that the TPM reports, along with work-arounds for TPMs that don't report the timeouts in microseconds but rather in milliseconds.
Patch 7 fixes the display of the public key of the TPM's Endorsement Key in sysfs.
Patch 8 re-enables the TPM's interrupts after resume from S3.
Patch 9 is useful if the TPM is run in interrupt mode and delays the S3 suspend until the TPM has finished processing a command.
Patch 10 fixes several aspects of the code around the probing for interrupts.
Patch 11 introduces automatic probing for the Intel iTPM flaw. The probing is useful in combination with the 'force' module parameter that enables the interrupt mode on some machines but then ends up circumventing ACPI to determine whether an Intel iTPM is present to activate the work-around. So, in that case we can rely on the probing.
Patch 12 fixes a typo.
I have tested these patches on four different types of machines. They worked fine there even though the TPM could not be used in interrupt mode on all of them (IRQ line not connected?).
V2:
- following Rajiv's feedback. Splitting the durations and timeout patches in 3 parts.
- slightly rearranging the order of the patches
Regards,
Stefan