Enable PPI sysfs interface for TPM 2.0

Started by Jarkko Sakkinen on Jul 3, 2015

Series

3 patches, 6 files

+99 −49

Subsystems (4)

Show 1 more

Maintainers (9)

Show 5 more
DORMANTno replies SUPERSEDED

Status: Superseded by v9 (posted 2015-08-12). [go to v9]

Revision v8 (7 revisions archived).

Revisions (7)
  1. v3
  2. v4 [diff against previous] re-posted go to this post
  3. v5 [diff against previous] re-posted go to this post
  4. v6 [diff against previous]
  5. v7 [diff against previous]
  6. v8 current [diff against previous] re-posted go to this post
  7. v9 [diff against previous] re-posted go to this post

open the first message on its own page

Message details and related content
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 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                      | 10 +++++++
 6 files changed, 99 insertions(+), 49 deletions(-)

-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help