Enable PPI sysfs interface for TPM 2.0
v8 cover Enable PPI sysfs interface for TPM 2.0
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(-)
Signature · 1 line
2.1.4