arm: Add support for HYP mode and LPAE page tables
We currently always modify the SVC versions of registers and only support the short descriptor PTE format. Some boards however (like the RPi2) run in HYP mode. There, we need to modify the HYP version of system registers and HYP mode only supports the long descriptor PTE format. So this patch introduces support for both long descriptor PTEs and HYP mode registers. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
@@ -31,4 +31,12 @@ config ARMV7_VIRT
|
||||
---help---
|
||||
Say Y here to boot in hypervisor (HYP) mode when booting non-secure.
|
||||
|
||||
config ARMV7_LPAE
|
||||
boolean "Use LPAE page table format" if EXPERT
|
||||
depends on CPU_V7
|
||||
default n
|
||||
---help---
|
||||
Say Y here to use the long descriptor page table format. This is
|
||||
required if U-Boot runs in HYP mode.
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user