Linux-Security-Module Archive on lore.kernel.org
 help / Atom feed
* [GIT PULL] tpmdd updates for Linux v4.21
@ 2018-12-17 13:20 Jarkko Sakkinen
  2018-12-17 19:33 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jarkko Sakkinen @ 2018-12-17 13:20 UTC (permalink / raw)
  To: jmorris; +Cc: linux-kernel, linux-security-module

Hi James,

v4.21 updates:

* Support for partial reads of /dev/tpm0.
* Clean up for TPM 1.x code: move the commands to tpm1-cmd.c and make
  everything to use the same data structure for building TPM commands
  i.e. struct tpm_buf.

/Jarkko

The following changes since commit 26b76320a8a550472bbb8f42257df83fcb8d8df6:

  Merge tag 'v4.20-rc2' into next-general (2018-11-12 09:07:41 -0800)

are available in the Git repository at:

  git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-20181217

for you to fetch changes up to 9488585b21bef0df1217e510c7134905d1d376a7:

  tpm: add support for partial reads (2018-12-17 13:45:10 +0200)

----------------------------------------------------------------
tpmdd updates for Linux v4.21

----------------------------------------------------------------
Tadeusz Struk (1):
      tpm: add support for partial reads

Tomas Winkler (24):
      tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
      tpm2: add new tpm2 commands according to TCG 1.36
      tpm: sort objects in the Makefile
      tpm: factor out tpm 1.x duration calculation to tpm1-cmd.c
      tpm: add tpm_calc_ordinal_duration() wrapper
      tpm: factor out tpm_get_timeouts()
      tpm: move tpm1_pcr_extend to tpm1-cmd.c
      tpm: move tpm_getcap to tpm1-cmd.c
      tpm: factor out tpm1_get_random into tpm1-cmd.c
      tpm: move tpm 1.x selftest code from tpm-interface.c tpm1-cmd.c
      tpm: factor out tpm 1.x pm suspend flow into tpm1-cmd.c
      tpm: factor out tpm_startup function
      tpm: add tpm_auto_startup() into tpm-interface.c
      tpm: tpm-interface.c drop unused macros
      tpm: tpm-space.c remove unneeded semicolon
      tpm: tpm1: rewrite tpm1_get_random() using tpm_buf structure
      tpm1: implement tpm1_pcr_read_dev() using tpm_buf structure
      tpm1: rename tpm1_pcr_read_dev to tpm1_pcr_read()
      tpm1: reimplement SAVESTATE using tpm_buf
      tpm1: reimplement tpm1_continue_selftest() using tpm_buf
      tpm: use u32 instead of int for PCR index
      tpm: tpm_try_transmit() refactor error flow.
      tpm: fix kdoc for tpm2_flush_context_cmd()
      tpm: tpm_ibmvtpm: fix kdoc warnings

 drivers/char/tpm/Makefile            |  16 +-
 drivers/char/tpm/st33zp24/st33zp24.c |   2 +-
 drivers/char/tpm/tpm-chip.c          |  11 +-
 drivers/char/tpm/tpm-dev-common.c    |  52 ++-
 drivers/char/tpm/tpm-dev.h           |   5 +-
 drivers/char/tpm/tpm-interface.c     | 832 +++--------------------------------
 drivers/char/tpm/tpm-sysfs.c         |  52 +--
 drivers/char/tpm/tpm.h               |  97 ++--
 drivers/char/tpm/tpm1-cmd.c          | 781 ++++++++++++++++++++++++++++++++
 drivers/char/tpm/tpm2-cmd.c          | 308 +++++++------
 drivers/char/tpm/tpm2-space.c        |   2 +-
 drivers/char/tpm/tpm_i2c_nuvoton.c   |  11 +-
 drivers/char/tpm/tpm_ibmvtpm.c       |   6 +-
 drivers/char/tpm/tpm_tis_core.c      |  10 +-
 include/linux/tpm.h                  |  11 +-
 security/integrity/ima/ima_crypto.c  |   5 +-
 16 files changed, 1133 insertions(+), 1068 deletions(-)
 create mode 100644 drivers/char/tpm/tpm1-cmd.c

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] tpmdd updates for Linux v4.21
  2018-12-17 13:20 [GIT PULL] tpmdd updates for Linux v4.21 Jarkko Sakkinen
@ 2018-12-17 19:33 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2018-12-17 19:33 UTC (permalink / raw)
  To: Jarkko Sakkinen; +Cc: linux-kernel, linux-security-module

On Mon, 17 Dec 2018, Jarkko Sakkinen wrote:

> Hi James,
> 
> v4.21 updates:
> 
> * Support for partial reads of /dev/tpm0.
> * Clean up for TPM 1.x code: move the commands to tpm1-cmd.c and make
>   everything to use the same data structure for building TPM commands
>   i.e. struct tpm_buf.

Pulled to next-tpm and next-testing.

-- 
James Morris
<jmorris@namei.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-17 13:20 [GIT PULL] tpmdd updates for Linux v4.21 Jarkko Sakkinen
2018-12-17 19:33 ` James Morris

Linux-Security-Module Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-security-module/0 linux-security-module/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-security-module linux-security-module/ https://lore.kernel.org/linux-security-module \
		linux-security-module@vger.kernel.org linux-security-module@archiver.kernel.org
	public-inbox-index linux-security-module


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-security-module


AGPL code for this site: git clone https://public-inbox.org/ public-inbox