Home
last modified time | relevance | path

Searched hist:"950 effd33f368018742f45f991b6760109e53f2a" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/kernel/
H A Dtpm.c950effd33f368018742f45f991b6760109e53f2a Tue Aug 12 08:34:49 UTC 2025 Joseph Lo <josephl@nvidia.com> core: tpm: fix TPM log address parsing to use full 64-bit address

Remove ARM32-specific address parsing that only used the lower 32 bits
of the TPM event log address. ARM32 systems can have 64-bit physical
addresses, so the full 64-bit address from the device tree property
should be parsed regardless of architecture.

The fix ensures both ARM32 and ARM64 architectures use the same
64-bit address construction: (property[0] << 32) | property[1],
preventing potential address truncation issues on ARM32 systems
with 64-bit physical address spaces.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>