All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
To: 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] tpmdd update for Linux v5.9
Date: Fri, 24 Jul 2020 09:42:27 +0300	[thread overview]
Message-ID: <20200724064212.GA1871046@linux.intel.com> (raw)

Hi

An issue was fixed with the TPM space buffer size. The buffer is used to
store in-TPM objects while swapped out of the TPM for a /dev/tpmrm0
session. The code incorrectly used PAGE_SIZE, which obviously can vary.
With v5.9 changes the buffer has a fixed size of 16 kB.

In addition, the PR contains support for acquiring TPM even log from
TPM2 ACPI table. This method is used by QEMU in particular.

/Jarkko

The following changes since commit f37e99aca03f63aa3f2bd13ceaf769455d12c4b0:

  Merge tag 's390-5.8-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux into master (2020-07-23 13:42:46 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 85467f63a05c43364ba0b90d0c05bb89191543fa:

  tpm: Add support for event log pointer found in TPM2 ACPI table (2020-07-24 09:29:21 +0300)

----------------------------------------------------------------
tpmdd updates for Linux v5.9

----------------------------------------------------------------
Jarkko Sakkinen (1):
      tpm: Unify the mismatching TPM space buffer sizes

Stefan Berger (2):
      acpi: Extend TPM2 ACPI table with missing log fields
      tpm: Add support for event log pointer found in TPM2 ACPI table

Tyler Hicks (1):
      tpm: Require that all digests are present in TCG_PCR_EVENT2 structures

 drivers/char/tpm/eventlog/acpi.c | 63 ++++++++++++++++++++++++++--------------
 drivers/char/tpm/tpm-chip.c      |  9 ++----
 drivers/char/tpm/tpm.h           |  5 +++-
 drivers/char/tpm/tpm2-space.c    | 26 ++++++++++-------
 drivers/char/tpm/tpmrm-dev.c     |  2 +-
 include/acpi/actbl3.h            |  7 +++++
 include/linux/tpm.h              |  1 +
 include/linux/tpm_eventlog.h     | 11 +++++--
 8 files changed, 82 insertions(+), 42 deletions(-)

             reply	other threads:[~2020-07-24  6:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24  6:42 Jarkko Sakkinen [this message]
2020-08-03 17:55 ` [GIT PULL] tpmdd update for Linux v5.9 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=20200724064212.GA1871046@linux.intel.com \
    --to=jarkko.sakkinen@linux.intel.com \
    --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.