aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJerry Snitselaar <[email protected]>2022-10-22 15:23:52 +0000
committerArd Biesheuvel <[email protected]>2022-10-24 06:04:25 +0000
commitf4cd18c5b2000df0c382f6530eeca9141ea41faf (patch)
tree2ea05695858db910ac565ccaf9440d0474d54384 /lib/test-string_helpers.c
parentefi: runtime: Don't assume virtual mappings are missing if VA == PA == 0 (diff)
downloadkernel-f4cd18c5b2000df0c382f6530eeca9141ea41faf.tar.gz
kernel-f4cd18c5b2000df0c382f6530eeca9141ea41faf.zip
efi/tpm: Pass correct address to memblock_reserve
memblock_reserve() expects a physical address, but the address being passed for the TPM final events log is what was returned from early_memremap(). This results in something like the following: [ 0.000000] memblock_reserve: [0xffffffffff2c0000-0xffffffffff2c00e4] efi_tpm_eventlog_init+0x324/0x370 Pass the address from efi like what is done for the TPM events log. Fixes: c46f3405692d ("tpm: Reserve the TPM final events table") Cc: Matthew Garrett <[email protected]> Cc: Jarkko Sakkinen <[email protected]> Cc: Bartosz Szczepanek <[email protected]> Cc: Ard Biesheuvel <[email protected]> Signed-off-by: Jerry Snitselaar <[email protected]> Acked-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions