[PATCH v2 3/6] armv8: Add ARMv8 MPU configuration logic

Tom Rini trini at konsulko.com
Fri Sep 3 00:41:56 CEST 2021


On Thu, Aug 19, 2021 at 04:53:11PM +0100, Peter Hoyes wrote:

> From: Peter Hoyes <Peter.Hoyes at arm.com>
> 
> Armv8r64 is the first Armv8 platform that only has a PMSA at the
> current exception level. The architecture supplement for Armv8r64
> describes new fields in ID_AA64MMFR0_EL1 which can be used to detect
> whether a VMSA or PMSA is present. These fields are RES0 on Armv8a.
> 
> Add logic to read these fields and, for the protection of the memory
> used by U-Boot, initialize the MPU instead of the MMU during init, then
> clear the MPU regions before transition to the next stage.
> 
> Provide a default (blank) MPU memory map, which can be overridden by
> board configurations.
> 
> Signed-off-by: Peter Hoyes <Peter.Hoyes at arm.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210902/b32f592a/attachment.sig>


More information about the U-Boot mailing list