[PATCH v2] arm64: rsi: Correct type of realm_config::hash_algo

Catalin Marinas catalin.marinas at arm.com
Wed Oct 14 04:27:27 PDT 2026


On Wed, 14 Oct 2026 11:43:23 +0900, Kohei Enju wrote:
> The RMM specification defines RsiHashAlgorithm as an 8-bit type, but
> realm_config::hash_algo is currently declared as unsigned long.
> 
> There are currently no upstream users of this field, so the mismatch
> does not cause an observable issue today. However, a proposed series
> adding support for Realm measurement registers uses this field and
> exposes a bug caused by the incorrect type.
> 
> [...]

Applied to arm64 (for-next/smccc-bus), thanks!

[1/1] arm64: rsi: Correct type of realm_config::hash_algo
      https://git.kernel.org/arm64/c/c83237edf0ad



More information about the linux-arm-kernel mailing list