Skip to content
Commit 0c03a057 authored by Jaxson Han's avatar Jaxson Han Committed by Kumar Gala
Browse files

arch: arm64: mpu: Fix mpu init assertion fail

During mpu init, we check MSA_frac bits[55:52] and MSA bits[51:48] of
the ID_AA64MMFR0_EL1 register. Currently we only allow 1F to pass the
check. But according to Armv8-R AArch64 manual [1], both 1F and 2F
indicates the processor supports MPU. This commit aims at fixing this.

[1]: https://developer.arm.com/documentation/ddi0600/latest/



Signed-off-by: default avatarJaxson Han <jaxson.han@arm.com>
parent 8875340d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment