commit | 0c03a0572bf12ee94b42eb32e820a9788d9731b7 | [log] [tgz] |
---|---|---|
author | Jaxson Han <jaxson.han@arm.com> | Thu Jun 03 15:51:11 2021 +0800 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed Jun 09 23:40:03 2021 -0500 |
tree | 5843ee503422ef6ea4690b0e75d967c6fcc21f55 | |
parent | 8875340db4dd55ad89e174e7124b7cfb2b3db717 [diff] |
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: Jaxson Han <jaxson.han@arm.com>