Skip to content

Enable PPI sysfs interface for TPM 2.0

Jarkko Sakkinen linux-api lkml 13 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest posting 2/23 patches 1 replyIn review
  2. v9 posting 1/23 patches 3 repliesSuperseded
  3. v8 posting 2/23 patches 2 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v8 posting 1/20 of 3 patches0 repliesSuperseded
v73 patches7 repliesSuperseded
v63 patches1 replySuperseded
v5 posting 2/22 patches0 repliesSuperseded
v5 posting 1/22 patches6 repliesSuperseded
v4 posting 2/22 patches0 repliesSuperseded
v4 posting 1/22 patches0 repliesSuperseded
v32 patches0 repliesSuperseded
v21 patch10 repliesSuperseded
v11 patch1 replySuperseded

Changes in v9 from the cover letter

* Fixed naming for __compat_only_sysfs_link_entry_to_kobj()

Patches in v9 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sysfs: added __compat_only_sysfs_link_entry_to_kobj()fs/sysfs/group.c include/linux/sysfs.h+55 -00 replies
2/3tpm: move the PPI attributes to character device directory.drivers/char/tpm/tpm-chip.c drivers/char/tpm/tpm.h drivers/char/tpm/tpm_ppi.c+33 -421 reply
3/3tpm: update PPI documentation to address the location change.Documentation/ABI/testing/sysfs-driver-ppi+12 -70 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJason Gunthorpe
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH v9 0/3] Enable PPI sysfs interface for TPM 2.0

v9:
* Fixed naming for __compat_only_sysfs_link_entry_to_kobj()

v8:
* Renamed sysfs_link_entry_to_kobj() to
__compat_only_sysfs_link_entry_to_kobj()

v7:
* Fixed compile error when CONFIG_SYSFS is not enabled.

v6:
* Updated documentation.

v5:
* Removed dangling export of kernfs_remove_by_name_ns() from the sysfs patch.

v4:
* Use sysfs_remove_link()

v3:
* Fixed to_tpm_chip() macro.
* Split into two patches.
* Renamed sysfs_link_group_to_kobj to sysfs_link_entry_to_kobj
* Only create the "backwards compatibility" symlink for TPM 1.x devices.

Jarkko Sakkinen (3):
sysfs: added __compat_only_sysfs_link_entry_to_kobj()
tpm: move the PPI attributes to character device directory.
tpm: update PPI documentation to address the location change.

 Documentation/ABI/testing/sysfs-driver-ppi | 19 ++++++++-----
 drivers/char/tpm/tpm-chip.c                | 24 ++++++++++------
 drivers/char/tpm/tpm.h                     | 17 ++++--------
 drivers/char/tpm/tpm_ppi.c                 | 34 ++++++++---------------
 fs/sysfs/group.c                           | 44 ++++++++++++++++++++++++++++++
 include/linux/sysfs.h                      | 11 ++++++++
 6 files changed, 100 insertions(+), 49 deletions(-)
Signature · 1 line
2.5.0