[GIT PULL] tpmdd updates for v4.18
From: Jarkko Sakkinen
Date: Fri May 18 2018 - 02:12:38 EST
The following changes since commit 5859cdf55063943192f316b3d6c673fd6fcbee46:
smack: provide socketpair callback (2018-05-04 12:48:54 -0700)
are available in the Git repository at:
git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-20180518
for you to fetch changes up to 424eaf910c329ab06ad03a527ef45dcf6a328f00:
tpm: reduce polling time to usecs for even finer granularity (2018-05-18 10:00:01 +0300)
----------------------------------------------------------------
tpmdd updates for Linux 4.18
----------------------------------------------------------------
Colin Ian King (2):
tpm: st33zp24: remove redundant null check on chip
tpm/st33zp24: Fix spelling mistake in macro ST33ZP24_TISREGISTER_UKNOWN
Jerry Snitselaar (1):
tpm_tis: verify locality released before returning from release_locality
Ji-Hun Kim (2):
tpm: replace kmalloc() + memcpy() with kmemdup()
tpm: replace kmalloc() + memcpy() with kmemdup()
Nayna Jain (3):
tpm: move the delay_msec increment after sleep in tpm_transmit()
tpm: reduce poll sleep time in tpm_transmit()
tpm: reduce polling time to usecs for even finer granularity
Tadeusz Struk (1):
tpm: fix use after free in tpm2_load_context()
Thiebaud Weksteen (4):
tpm: Add explicit endianness cast
tpm: Move eventlog files to a subdirectory
tpm: Move shared eventlog functions to common.c
tpm: Move eventlog declarations to its own header
Winkler, Tomas (1):
tpm: tpm_crb: relinquish locality on error path.
drivers/char/tpm/Makefile | 10 +-
.../tpm/{tpm_eventlog_acpi.c => eventlog/acpi.c} | 3 +-
drivers/char/tpm/eventlog/common.c | 195 ++++++++++++++++++++
drivers/char/tpm/eventlog/common.h | 35 ++++
.../tpm/{tpm_eventlog_efi.c => eventlog/efi.c} | 6 +-
.../char/tpm/{tpm_eventlog_of.c => eventlog/of.c} | 11 +-
.../char/tpm/{tpm1_eventlog.c => eventlog/tpm1.c} | 200 ++-------------------
.../char/tpm/{tpm2_eventlog.c => eventlog/tpm2.c} | 3 +-
drivers/char/tpm/st33zp24/spi.c | 4 +-
drivers/char/tpm/st33zp24/st33zp24.c | 2 -
drivers/char/tpm/tpm-interface.c | 5 +-
drivers/char/tpm/tpm.h | 32 +---
drivers/char/tpm/tpm2-space.c | 3 +-
drivers/char/tpm/tpm_crb.c | 10 +-
drivers/char/tpm/tpm_tis_core.c | 58 +++++-
15 files changed, 331 insertions(+), 246 deletions(-)
rename drivers/char/tpm/{tpm_eventlog_acpi.c => eventlog/acpi.c} (98%)
create mode 100644 drivers/char/tpm/eventlog/common.c
create mode 100644 drivers/char/tpm/eventlog/common.h
rename drivers/char/tpm/{tpm_eventlog_efi.c => eventlog/efi.c} (91%)
rename drivers/char/tpm/{tpm_eventlog_of.c => eventlog/of.c} (91%)
rename drivers/char/tpm/{tpm1_eventlog.c => eventlog/tpm1.c} (58%)
rename drivers/char/tpm/{tpm2_eventlog.c => eventlog/tpm2.c} (99%)