linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* efi_tpm_eventlog_init question
@ 2022-06-23  4:26 Jerry Snitselaar
  2022-10-07 16:50 ` Is efi_tpm_eventlog_init calling memblock_reserve correctly for the TPM final log? Jerry Snitselaar
  0 siblings, 1 reply; 3+ messages in thread
From: Jerry Snitselaar @ 2022-06-23  4:26 UTC (permalink / raw)
  To: linux-integrity, Matthew Garrett, Jarkko Sakkinen

Is this calling memblock_reserve() correctly for the final events log?

For the tpm events log it does:

memblock_reserve(efi.tpm_log, tbl_size);

For the final events log it does:

          memblock_reserve((unsigned long)final_tbl,
                           tbl_size + sizeof(*final_tbl));


which ends up with something like:

[    0.000000] memblock_reserve:
[0x000000005d7b5018-0x000000005d7b958a]
efi_tpm_eventlog_init+0x82/0x370
[    0.000000] memblock_reserve:
[0xffffffffff2c0000-0xffffffffff2c00e4]
efi_tpm_eventlog_init+0x324/0x370


Regards,
Jerry


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

end of thread, other threads:[~2022-10-12  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-23  4:26 efi_tpm_eventlog_init question Jerry Snitselaar
2022-10-07 16:50 ` Is efi_tpm_eventlog_init calling memblock_reserve correctly for the TPM final log? Jerry Snitselaar
2022-10-12  8:12   ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).