[PATCH v8 4/6] bootm: Support boot measurement

2023-03-03 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v6: - Added comment for bootm_measure - Fixed line length in bootm_measure boot

[PATCH v8 3/6] tpm: Support boot measurements

2023-03-03 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v8 1/6] tpm: Fix spelling for tpmu_ha union

2023-03-03 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2b6980e441..6684033deb 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -16

[PATCH v8 0/6] tpm: Support boot measurements

2023-03-03 Thread Eddie James
, and remove duplicate EFI functions. - Add test case - Drop #ifdefs for bootm - Add devicetree measurement config option - Update sandbox TPM driver Eddie James (6): tpm: Fix spelling for tpmu_ha union tpm: sandbox: Update for needed TPM2 capabilities tpm: Support boot measurements bootm

[PATCH v8 6/6] doc: Add measured boot documentation

2023-03-03 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst

Re: [PATCH v7 3/6] tpm: Support boot measurements

2023-03-03 Thread Eddie James
On 3/2/23 14:22, Ilias Apalodimas wrote: Hi Eddie, I found the issue. I still think we could squeeze things even more in our abstraction. Specifically the measure_event() tcg2_agile_log_append() contain some efi specific bits and I am trying to figure out if we can make those more generic.

Re: [PATCH v5 0/6] tpm: Support boot measurements

2023-02-22 Thread Eddie James
On 2/21/23 23:36, Joel Stanley wrote: On Thu, 2 Feb 2023 at 17:08, Eddie James wrote: This series adds support for measuring the boot images more generically than the existing EFI support. Several EFI functions have been moved to the TPM layer. The series includes optional measurement from

[PATCH v6 2/6] tpm: sandbox: Update for needed TPM2 capabilities

2023-02-22 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Remove the !SANDBOX dependency for EFI TCG2 as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since

[PATCH v6 1/6] tpm: Fix spelling for tpmu_ha union

2023-02-22 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2b6980e441..6684033deb 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -16

[PATCH v6 4/6] bootm: Support boot measurement

2023-02-22 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James --- boot/Kconfig| 23 boot/bootm.c| 70 + cmd/booti.c

[PATCH v6 0/6] tpm: Support boot measurements

2023-02-22 Thread Eddie James
. - Skip measurement for EFI images that should be measured Changes since v1: - Refactor TPM layer functions to allow EFI system to use them, and remove duplicate EFI functions. - Add test case - Drop #ifdefs for bootm - Add devicetree measurement config option - Update sandbox TPM driver Eddie

[PATCH v6 3/6] tpm: Support boot measurements

2023-02-22 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v6 5/6] test: Add sandbox TPM boot measurement

2023-02-22 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v5: - Only compile in the measurement u-boot command when CONFIG_MEASURED_BOOT is enabled arch/sandbox/dts/sandbox.dtsi | 13 +++ arch

[PATCH v6 6/6] doc: Add measured boot documentation

2023-02-22 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst diff --git a/doc/usage

[PATCH v7 3/6] tpm: Support boot measurements

2023-03-01 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v7 5/6] test: Add sandbox TPM boot measurement

2023-03-01 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since v5: - Only compile in the measurement u-boot command when CONFIG_MEASURED_BOOT is enabled arch/sandbox/dts

[PATCH v7 6/6] doc: Add measured boot documentation

2023-03-01 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst

Re: [PATCH v6 6/6] doc: Add measured boot documentation

2023-03-01 Thread Eddie James
On 2/22/23 14:26, Heinrich Schuchardt wrote: Am 22. Februar 2023 19:02:42 MEZ schrieb Eddie James : Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files

[PATCH v7 4/6] bootm: Support boot measurement

2023-03-01 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v6: - Added comment for bootm_measure - Fixed line length in bootm_measure boot

[PATCH v7 0/6] tpm: Support boot measurements

2023-03-01 Thread Eddie James
for EFI images that should be measured Changes since v1: - Refactor TPM layer functions to allow EFI system to use them, and remove duplicate EFI functions. - Add test case - Drop #ifdefs for bootm - Add devicetree measurement config option - Update sandbox TPM driver Eddie James (6): tpm: Fix

[PATCH v7 2/6] tpm: sandbox: Update for needed TPM2 capabilities

2023-03-01 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Remove the !SANDBOX dependency for EFI TCG2 as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since

[PATCH v7 1/6] tpm: Fix spelling for tpmu_ha union

2023-03-01 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2b6980e441..6684033deb 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -16

Re: [PATCH v5 0/6] tpm: Support boot measurements

2023-02-21 Thread Eddie James
to test this, have you? Thanks, Eddie Cheers /Ilias On Thu, Feb 02, 2023 at 11:05:25AM -0600, Eddie James wrote: This series adds support for measuring the boot images more generically than the existing EFI support. Several EFI functions have been moved to the TPM layer. The series includes

Re: [PATCH v6 3/6] tpm: Support boot measurements

2023-02-23 Thread Eddie James
On 2/23/23 03:47, Ilias Apalodimas wrote: On Thu, 23 Feb 2023 at 11:30, Ilias Apalodimas wrote: On Thu, 23 Feb 2023 at 11:02, Ilias Apalodimas wrote: Hi Eddie, final_event->number_of_events++; @@ -350,66 +142,6 @@ static efi_status_t tcg2_agile_log_append(u32 pcr_index, u32

Re: [PATCH v9 3/6] tpm: Support boot measurements

2023-04-10 Thread Eddie James
believed I had fixed at least some of the failures with patch 2 to update the sandbox driver. I also haven't figured out how to run the ci suite locally Thanks, Eddie Thanks /Ilias On Wed, 8 Mar 2023 at 23:25, Eddie James wrote: Add TPM2 functions to support boot measurement

[PATCH v5 2/6] tpm: Support boot measurements

2023-02-02 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v5 6/6] doc: Add measured boot documentation

2023-02-02 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James --- Changes since v4: - Use bullets for the requirements list doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode

[PATCH v5 5/6] test: Add sandbox TPM boot measurement

2023-02-02 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v4: - Drop u8 casting in measurement test Changes since v2: - Changed reserved memory address to the top of the RAM for sandbox dts. arch

Re: [PATCH v4 2/6] tpm: Support boot measurements

2023-02-02 Thread Eddie James
On 1/26/23 01:51, Ilias Apalodimas wrote: Hi Eddie, Thanks for the cleanup! Unfortunately this doesn't compile with EFI selected, but in general it looks pretty good. Thanks, yes I forgot to remove tcg2_pcr_read On Wed, Jan 25, 2023 at 11:18:06AM -0600, Eddie James wrote: Add TPM2

[PATCH v5 3/6] bootm: Support boot measurement

2023-02-02 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James --- Changes since v4: - Change PCR indexes for initrd and dtb Changes since v2: - Add measure state to booti and bootz. - Skip

[PATCH v5 0/6] tpm: Support boot measurements

2023-02-02 Thread Eddie James
that should be measured Changes since v1: - Refactor TPM layer functions to allow EFI system to use them, and remove duplicate EFI functions. - Add test case - Drop #ifdefs for bootm - Add devicetree measurement config option - Update sandbox TPM driver Eddie James (6): tpm: Fix spelling

[PATCH v5 4/6] tpm: sandbox: Update for needed TPM2 capabilities

2023-02-02 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- drivers/tpm/tpm2_tis_sandbox.c | 100

Re: [PATCH v4 2/6] tpm: Support boot measurements

2023-02-02 Thread Eddie James
On 2/2/23 11:12, Simon Glass wrote: Hi Eddie / Ilias, On Thu, 2 Feb 2023 at 09:24, Eddie James wrote: On 1/26/23 01:51, Ilias Apalodimas wrote: Hi Eddie, Thanks for the cleanup! Unfortunately this doesn't compile with EFI selected, but in general it looks pretty good. Thanks, yes I

[PATCH v5 1/6] tpm: Fix spelling for tpmu_ha union

2023-02-02 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 1c644f0048..84034c1559 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -16

[PATCH v10 07/10] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-08-07 Thread Eddie James
From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 5f0f4b5dd2..829bae7436 100644 --- a/lib/efi_loader/efi_tcg2.c +++

[PATCH v10 06/10] doc: Add measured boot documentation

2023-08-07 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst

[PATCH v10 04/10] bootm: Support boot measurement

2023-08-07 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8: - Added a configuration option to select to ignore any existing event log

Re: [PATCH v9 4/6] bootm: Support boot measurement

2023-08-07 Thread Eddie James
On 8/7/23 09:52, Ilias Apalodimas wrote: Hi, On Mon, 7 Aug 2023 at 17:43, Eddie James wrote: On 8/4/23 13:10, Sean Edmond wrote: On 2023-03-08 1:25 p.m., Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti

[PATCH v10 08/10] test: use a non system PCR for testing PCR extend

2023-08-07 Thread Eddie James
From: Ilias Apalodimas We currently use PCR 0 for testing the PCR read/extend functionality in our selftests. How ever those PCRs are defined by the TCG spec for platform use. For example if the tests run *after* the efi subsystem initialization, which extends PCRs 0 & 7 it will give a false

[PATCH v10 10/10] fix armv7 compilation warning

2023-08-07 Thread Eddie James
From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/tpm-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c index d22e21985b..bd0fb078dc 100644 --- a/lib/tpm-v2.c +++ b/lib/tpm-v2.c @@ -671,7 +671,7 @@ __weak int

Re: [PATCH v9 4/6] bootm: Support boot measurement

2023-08-07 Thread Eddie James
On 8/4/23 13:10, Sean Edmond wrote: On 2023-03-08 1:25 p.m., Eddie James wrote: Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since

[PATCH v10 03/10] tpm: Support boot measurements

2023-08-07 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v10 00/10] tpm: Support boot measurements

2023-08-07 Thread Eddie James
functions. - Add test case - Drop #ifdefs for bootm - Add devicetree measurement config option - Update sandbox TPM driver Eddie James (6): tpm: Fix spelling for tpmu_ha union tpm: sandbox: Update for needed TPM2 capabilities tpm: Support boot measurements bootm: Support boot measurement

[PATCH v10 02/10] tpm: sandbox: Update for needed TPM2 capabilities

2023-08-07 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Remove the !SANDBOX dependency for EFI TCG2 as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since

[PATCH v10 09/10] test/py: only run 'tpm2 autostart' to init the tpm

2023-08-07 Thread Eddie James
From: Ilias Apalodimas commit ("") replaced the forced and sandbox tpm2 initialization running 'tpm2 autostart' instead of the startup tpm sequence. The difference is that the new function handles the internal tpm_init state internally and doesn't return an error when trying to

[PATCH v10 01/10] tpm: Fix spelling for tpmu_ha union

2023-08-07 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2b6980e441..6684033deb 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -16

[PATCH v10 05/10] test: Add sandbox TPM boot measurement

2023-08-07 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since v5: - Only compile in the measurement u-boot command when CONFIG_MEASURED_BOOT is enabled. arch/sandbox/dts

Re: [PATCH v10 07/10] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-08-07 Thread Eddie James
On 8/7/23 10:56, Ilias Apalodimas wrote: Hi Eddie, On Mon, 7 Aug 2023 at 18:17, Eddie James wrote: From: Ilias Apalodimas We need a commit message for that. Something along the lines of efi_tcg2_get_active_pcr_banks() doesnt immediately call the EFI_ENTRY() wrappers once it enters

[PATCH v11 3/8] tpm: Support boot measurements

2023-08-07 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James --- Changes since

[PATCH v11 2/8] tpm: sandbox: Update for needed TPM2 capabilities

2023-08-07 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Remove the !SANDBOX dependency for EFI TCG2 as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since

[PATCH v11 5/8] test: Add sandbox TPM boot measurement

2023-08-07 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. Signed-off-by: Eddie James Reviewed-by: Simon Glass Acked-by: Ilias Apalodimas --- Changes since v5: - Only compile in the measurement u-boot command when CONFIG_MEASURED_BOOT is enabled. arch/sandbox/dts

[PATCH v11 8/8] test: use a non system PCR for testing PCR extend

2023-08-07 Thread Eddie James
From: Ilias Apalodimas We currently use PCR 0 for testing the PCR read/extend functionality in our selftests. How ever those PCRs are defined by the TCG spec for platform use. For example if the tests run *after* the efi subsystem initialization, which extends PCRs 0 & 7 it will give a false

[PATCH v11 1/8] tpm: Fix spelling for tpmu_ha union

2023-08-07 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 2b6980e441..6684033deb 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -16

[PATCH v11 0/8] tpm: Support boot measurements

2023-08-07 Thread Eddie James
be measured Changes since v1: - Refactor TPM layer functions to allow EFI system to use them, and remove duplicate EFI functions. - Add test case - Drop #ifdefs for bootm - Add devicetree measurement config option - Update sandbox TPM driver Eddie James (6): tpm: Fix spelling for tpmu_ha union

[PATCH v11 7/8] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-08-07 Thread Eddie James
From: Ilias Apalodimas efi_tcg2_get_active_pcr_banks doesn't immediately call the EFI_ENTRY() wrapper once it enters the function. Move the call a few lines above to cover the error cases properly as well. Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 4 ++-- 1 file changed,

[PATCH v11 6/8] doc: Add measured boot documentation

2023-08-07 Thread Eddie James
Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- doc/usage/index.rst | 1 + doc/usage/measured_boot.rst | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 doc/usage/measured_boot.rst

[PATCH v11 4/8] bootm: Support boot measurement

2023-08-07 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v8: - Added a configuration option to select to ignore any existing event log

Re: [PATCH v10 10/10] fix armv7 compilation warning

2023-08-07 Thread Eddie James
On 8/7/23 10:50, Ilias Apalodimas wrote: Hi Eddie, On Mon, 7 Aug 2023 at 18:18, Eddie James wrote: From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/tpm-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c index d22e21985b

Re: [PATCH v11 3/8] tpm: Support boot measurements

2023-08-09 Thread Eddie James
On 8/9/23 05:43, Ilias Apalodimas wrote: On Wed, 9 Aug 2023 at 13:42, Heinrich Schuchardt wrote: On 8/9/23 10:34, Ilias Apalodimas wrote: Hi Eddie On Mon, Aug 07, 2023 at 02:25:37PM -0500, Eddie James wrote: Add TPM2 functions to support boot measurement. This includes starting up

Re: [PATCH v11 3/8] tpm: Support boot measurements

2023-08-10 Thread Eddie James
On 8/10/23 02:44, Ilias Apalodimas wrote: On Wed, Aug 09, 2023 at 09:01:40AM -0500, Eddie James wrote: On 8/9/23 05:43, Ilias Apalodimas wrote: On Wed, 9 Aug 2023 at 13:42, Heinrich Schuchardt wrote: On 8/9/23 10:34, Ilias Apalodimas wrote: Hi Eddie On Mon, Aug 07, 2023 at 02:25:37PM

Re: tcg2_platform_get_log failing to read address and size of memory-region via ofnode_get_addr_size

2024-03-27 Thread Eddie James
On 3/26/24 11:15, Tim Harvey wrote: On Tue, Mar 26, 2024 at 2:24 AM Ilias Apalodimas wrote: Hi Tim, On Tue, 26 Mar 2024 at 03:15, Tim Harvey wrote: Greetings, I'm unable to understand why tcg2_platform_get_log is failing to read a memory region. For example the following diffs: I am

Re: tcg2_platform_get_log failing to read address and size of memory-region via ofnode_get_addr_size

2024-03-27 Thread Eddie James
On 3/26/24 11:15, Tim Harvey wrote: On Tue, Mar 26, 2024 at 2:24 AM Ilias Apalodimas wrote: Hi Tim, On Tue, 26 Mar 2024 at 03:15, Tim Harvey wrote: Greetings, I'm unable to understand why tcg2_platform_get_log is failing to read a memory region. For example the following diffs: I am

Re: [PATCH] tpm: measure DTB in PCR1 instead of PCR0

2024-06-14 Thread Eddie James
in there. There's no mention of ACPI in 3.3.4.2 PCR[1] – Host Platform Configuration. However, in Figure 6 -- PCR Mapping of UEFI Components ACPI is shown in PCR1. The general description also mentions PCR0 is for code and PCR1 is for data such as ACPI and SMBIOS. Thanks, looks correct. Reviewed-by: Eddie

<    1   2