diff options
author | Jarkko Sakkinen <[email protected]> | 2015-04-14 17:56:48 +0300 |
---|---|---|
committer | Peter Huewe <[email protected]> | 2015-10-19 01:01:20 +0200 |
commit | 9b774d5cf2db4b27324784e8d2c95a06cdf82373 (patch) | |
tree | d1dc28f7780d6372238c907eedab83ac59f05eb3 /tools/perf/scripts/python/syscall-counts.py | |
parent | 37c1c04cca920de8a68285751b2c7b3d937ad50c (diff) |
tpm: move the PPI attributes to character device directory.
Moved PPI attributes to the character device directory. This aligns with
the sysfs guidelines and makes them race free because they are created
atomically with the character device as part of device_register().The
character device and the sysfs attributes appear at the same time to the
user space.
As part of this change we enable PPI attributes also for TPM 2.0
devices. In order to retain backwards compatibility with TPM 1.x
devices, a symlink is created to the platform device directory.
Signed-off-by: Jarkko Sakkinen <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Mimi Zohar <[email protected]> (on TPM 1.2)
Tested-by: Chris J Arges <[email protected]>
Tested-by: Colin Ian King <[email protected]>
Signed-off-by: Peter Huewe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions