ARM: HYP/non-sec: enable ARMV7_LPAE if HYP mode is supported
ARMV7_LPAE is required in order to enable the MMU in HYP mode. And we really want to enable the MMU in HYP mode such that we can enable the the caches. Otherwise U-Boot code (such as the EFI implementation) that runs in HYP mode will run at a snils pace. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
		
							parent
							
								
									f17f2001eb
								
							
						
					
					
						commit
						d32e86bde8
					
				|  | @ -53,7 +53,7 @@ config ARMV7_PSCI_NR_CPUS | ||||||
| config ARMV7_LPAE | config ARMV7_LPAE | ||||||
| 	bool "Use LPAE page table format" if EXPERT | 	bool "Use LPAE page table format" if EXPERT | ||||||
| 	depends on CPU_V7A | 	depends on CPU_V7A | ||||||
| 	default n | 	default y if ARMV7_VIRT | ||||||
| 	---help--- | 	---help--- | ||||||
| 	Say Y here to use the long descriptor page table format. This is | 	Say Y here to use the long descriptor page table format. This is | ||||||
| 	required if U-Boot runs in HYP mode. | 	required if U-Boot runs in HYP mode. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue