[PATCH v8 0/3] Enable PPI sysfs interface for TPM 2.0

DORMANTno replies SUPERSEDED

From: Jarkko Sakkinen <hidden>
Date: 2015-07-03 14:26:30
Also in: lkml
Subsystem: driver core, kobjects, debugfs and sysfs, filesystems (vfs and infrastructure), the rest, tpm device driver · Maintainers: Greg Kroah-Hartman, "Rafael J. Wysocki", Danilo Krummrich, Johan Hovold, Alexander Viro, Christian Brauner, Linus Torvalds, Peter Huewe, Jarkko Sakkinen

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
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
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help