Searched hist:"15483 bdead8dd73e3849c2b66f2eb6de4e2579ca" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | tpm.c | 15483bdead8dd73e3849c2b66f2eb6de4e2579ca Thu Sep 21 13:35:44 UTC 2023 Balint Dobszay <balint.dobszay@arm.com> core: tpm: don't write to SPMC manifest
If "CFG_CORE_SEL1_SPMC=y" the TPM event log info is read from the SPMC manifest instead of the external DT. The TPM event log handler code is setting the event log's address to zero in the DT, which fails since the SPMC manifest is mapped as read-only. Remove this zeroing for the S-EL1 SPMC use case, it has no added security benefits since the SPMC manifest DT itself is always in secure memory anyways.
Fixes: 722c618f0dfa ("core: map manifest using MEM_AREA_MANIFEST_DT") Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
|