[U-Boot] [PATCH 0/6] ARM: Introduce function to switch to hypervisor mode and enable LPAE

Keerthy
2016-10-07T04:39:50Z

On Wednesday 14 September 2016 10:43 AM, Keerthy wrote:
> On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the
> u-boot because the ROM code puts the chip to supervisor mode after it
> jumps to boot loader.
>
> Patch 1-4 enable LPAE.
>
> Patch 5: Introduces a weak function which can be overridden specific to
> SoCs to switch to hypervisor mode.
>
> Patch 6: overrides weak function in patch 1 switch cpu to hypervisor
> mode using the available ROM code hook early in the boot phase before
> the boot loader checks for hypervisor mode on OMAP5 based SoCs.
>
> Tested on AM57XX-EVM, DRA7XX-EVM.

Tom,

Can you pull this series please.

Regards,
Keerthy
>
> Keerthy (6):
> omap: Remove hardcoding of mmu section shift to 20
> omap: Set appropriate cache configuration for LPAE and non-LAPE cases
> configs: am57xx_evm_defconfig: Enable LPAE mode
> configs: dra7xx_evm_defconfig: Enable LPAE mode
> ARM: Introduce function to switch to hypervisor mode
> ARM: OMAP5+: Override switch_to_hypervisor function
>
> arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 24 +++++++++++++++++++++
> arch/arm/cpu/armv7/omap-common/omap-cache.c | 29 ++++++++++++++++++++++----
> arch/arm/cpu/armv7/start.S | 21 +++++++++++++++++++
> arch/arm/include/asm/system.h | 4 ++++
> configs/am57xx_evm_defconfig | 1 +
> configs/dra7xx_evm_defconfig | 1 +
> 6 files changed, 76 insertions(+), 4 deletions(-)
>