From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org,
jarkko.sakkinen@linux.intel.com, linux-acpi@vger.kernel.org,
linux-security-module@vger.kernel.org
Cc: Stefan Berger <stfeanb@linux.ibm.com>
Subject: [PATCH v5 0/2] tpm2: Make TPM2 logs accessible for non-UEFI firmware
Date: Tue, 23 Jun 2020 08:06:34 -0400 [thread overview]
Message-ID: <20200623120636.1453470-1-stefanb@linux.vnet.ibm.com> (raw)
From: Stefan Berger <stfeanb@linux.ibm.com>
This series of patches extends the existing TPM2 ACPI table with additional
fields found in the TPM2 TCG ACPI specification (reference is in the patch)
that allow access to the log's address and its size. We then modify the
code that so far only enables access to a TPM 1.2's log for a TPM2 as well.
This then enables access to the TPM2's log on non-UEFI system that for example
run SeaBIOS.
Stefan
v4->v5:
- Added R-bs and A-bs.
v3->v4:
- Repost as one series
v2->v3:
- Split the series into two separate patches
- Added comments to ACPI table fields
- Added check for null pointer to log area and zero log size
v1->v2:
- Repost of the series
Stefan Berger (2):
acpi: Extend TPM2 ACPI table with missing log fields
tpm: Add support for event log pointer found in TPM2 ACPI table
drivers/char/tpm/eventlog/acpi.c | 56 ++++++++++++++++++++------------
drivers/char/tpm/tpm_crb.c | 13 ++++++--
drivers/char/tpm/tpm_tis.c | 4 ++-
include/acpi/actbl3.h | 5 +--
4 files changed, 51 insertions(+), 27 deletions(-)
--
2.26.2
next reply other threads:[~2020-06-23 12:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-23 12:06 Stefan Berger [this message]
2020-06-23 12:06 ` [PATCH v5 1/2] acpi: Extend TPM2 ACPI table with missing log fields Stefan Berger
2020-06-25 0:00 ` Jarkko Sakkinen
2020-06-25 0:38 ` Stefan Berger
2020-06-25 2:34 ` Jarkko Sakkinen
2020-06-25 2:52 ` Jarkko Sakkinen
2020-06-25 2:54 ` Jarkko Sakkinen
2020-06-25 12:10 ` Stefan Berger
2020-06-23 12:06 ` [PATCH v5 2/2] tpm: Add support for event log pointer found in TPM2 ACPI table Stefan Berger
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=20200623120636.1453470-1-stefanb@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=stfeanb@linux.ibm.com \
/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.