All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org,
	jmorris@namei.org, dhowells@redhat.com, peterhuewe@gmx.de
Subject: [GIT PULL] TPM DEVICE DRIVER changes for v5.12
Date: Thu, 18 Feb 2021 05:31:29 +0200	[thread overview]
Message-ID: <YC3fkU2pLncCkeps@kernel.org> (raw)

Hi Linus,

This now my "official" first PR for v5.12. There's still some known issues
in the tpm_tis driver *not& fixed in this first pull request, which trigger a
warning but do not overally collapse the kernel by any means.

The fixes are in good progress, but unfortunately there's still some fine
tuning required before I can include to a pull request. I'm sure we will
get them done around rc2/rc3. Better to make sure that the fixes do right
things right, rather than rush them to a PR.

That's also the reason why this comes so late. Sorry about that. I have
also kind of "reorg" going on with my maintainer workflows, given the
increased review activity in keyrings and SGX, which temporarily causes
a bit overhead until becoming "status quo".

New features
============

1. Cr50 I2C TPM driver.
2. Sysfs exports of PCR registers in TPM 2.0 chips.

Bug fixes
=========

*  This contains bug fixes for tpm_tis driver, which had a racy wait for
   hardware state change to be ready to send a command to the TPM chip. The
   bug has existed already since 2006, but has only made itself known in
   recent past. This is the same as the "last time" :-)
*  Otherwise there's bunch of fixes for not as alarming regressions. I
   think the list is about the same as last time, except I added fixes for
   some disjoint bugs in trusted keys that I found some time ago.

/Jarkko

The following changes since commit f40ddce88593482919761f74910f42f4b84c004b:

  Linux 5.11 (2021-02-14 14:32:24 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/ tags/tpmdd-next-v5.12-rc1-v2

for you to fetch changes up to 8c657a0590de585b1115847c17b34a58025f2f4b:

  KEYS: trusted: Reserve TPM for seal and unseal operations (2021-02-16 10:40:28 +0200)

----------------------------------------------------------------
tpmdd updates for Linux v5.12-rc1

----------------------------------------------------------------
Andrew Zaborowski (1):
      keys: Update comment for restrict_link_by_key_or_keyring_chain

Duncan Laurie (1):
      char: tpm: add i2c driver for cr50

Gustavo A. R. Silva (1):
      tpm: Fix fall-through warnings for Clang

James Bottomley (4):
      tpm_tis: Fix check_locality for correct locality acquisition
      tpm_tis: Clean up locality release
      tpm: add sysfs exports for all banks of PCR registers
      ABI: add sysfs description for tpm exports of PCR registers

Jarkko Sakkinen (3):
      KEYS: trusted: Fix incorrect handling of tpm_get_random()
      KEYS: trusted: Fix migratable=1 failing
      KEYS: trusted: Reserve TPM for seal and unseal operations

Rikard Falkeborn (1):
      tpm/ppi: Constify static struct attribute_group

Sebastian Andrzej Siewior (1):
      tpm: Remove tpm_dev_wq_lock

 Documentation/ABI/stable/sysfs-class-tpm  |  14 +
 crypto/asymmetric_keys/restrict.c         |   7 +-
 drivers/char/tpm/Kconfig                  |  10 +
 drivers/char/tpm/Makefile                 |   2 +
 drivers/char/tpm/eventlog/tpm1.c          |   1 +
 drivers/char/tpm/tpm-chip.c               |   2 +
 drivers/char/tpm/tpm-dev-common.c         |   1 -
 drivers/char/tpm/tpm-sysfs.c              | 179 +++++++
 drivers/char/tpm/tpm.h                    |   4 -
 drivers/char/tpm/tpm_ppi.c                |   2 +-
 drivers/char/tpm/tpm_tis_core.c           |  50 +-
 drivers/char/tpm/tpm_tis_i2c_cr50.c       | 790 ++++++++++++++++++++++++++++++
 include/linux/tpm.h                       |  14 +-
 security/keys/trusted-keys/trusted_tpm1.c |  22 +-
 security/keys/trusted-keys/trusted_tpm2.c |  22 +-
 15 files changed, 1054 insertions(+), 66 deletions(-)
 create mode 100644 drivers/char/tpm/tpm_tis_i2c_cr50.c

             reply	other threads:[~2021-02-18  3:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18  3:31 Jarkko Sakkinen [this message]
2021-02-22  1:21 ` [GIT PULL] TPM DEVICE DRIVER changes for v5.12 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YC3fkU2pLncCkeps@kernel.org \
    --to=jarkko@kernel.org \
    --cc=dhowells@redhat.com \
    --cc=jmorris@namei.org \
    --cc=linux-integrity@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterhuewe@gmx.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.