All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/6] ARM: Introduce function to switch to hypervisor mode and enable LPAE
@ 2016-09-14  5:13 Keerthy
  2016-09-14  5:13 ` [U-Boot] [PATCH 1/6] omap: Remove hardcoding of mmu section shift to 20 Keerthy
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Keerthy @ 2016-09-14  5:13 UTC (permalink / raw)
  To: u-boot

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.

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(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-10-08 17:05 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14  5:13 [U-Boot] [PATCH 0/6] ARM: Introduce function to switch to hypervisor mode and enable LPAE Keerthy
2016-09-14  5:13 ` [U-Boot] [PATCH 1/6] omap: Remove hardcoding of mmu section shift to 20 Keerthy
2016-09-16 11:16   ` Tom Rini
2016-10-08 17:05   ` [U-Boot] [U-Boot, " Tom Rini
2016-09-14  5:13 ` [U-Boot] [PATCH 2/6] omap: Set appropriate cache configuration for LPAE and non-LAPE cases Keerthy
2016-09-16 11:16   ` Tom Rini
2016-10-08 17:05   ` [U-Boot] [U-Boot, " Tom Rini
2016-09-14  5:13 ` [U-Boot] [PATCH 3/6] configs: am57xx_evm_defconfig: Enable LPAE mode Keerthy
2016-09-16 11:17   ` Tom Rini
2016-10-08 17:05   ` [U-Boot] [U-Boot, " Tom Rini
2016-09-14  5:13 ` [U-Boot] [PATCH 4/6] configs: dra7xx_evm_defconfig: " Keerthy
2016-09-16 11:17   ` Tom Rini
2016-10-08 17:05   ` [U-Boot] [U-Boot, " Tom Rini
2016-09-14  5:13 ` [U-Boot] [PATCH 5/6] ARM: Introduce function to switch to hypervisor mode Keerthy
2016-09-16 11:17   ` Tom Rini
2016-10-08 17:05   ` [U-Boot] [U-Boot, " Tom Rini
2016-09-14  5:13 ` [U-Boot] [PATCH 6/6] ARM: OMAP5+: Override switch_to_hypervisor function Keerthy
2016-09-16 11:17   ` Tom Rini
2016-10-08 17:05   ` [U-Boot] [U-Boot, " Tom Rini
2016-10-07  4:39 ` [U-Boot] [PATCH 0/6] ARM: Introduce function to switch to hypervisor mode and enable LPAE Keerthy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.