public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode
@ 2016-07-27  3:35 Keerthy
  2016-07-27  3:35 ` [U-Boot] [PATCH 1/2] " Keerthy
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Keerthy @ 2016-07-27  3:35 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: Introduces a weak function which can be overridden specific to
SoCs to switch to hypervisor mode.

Patch 2: 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.

Based on top of http://patchwork.dal.design.ti.com/patch/24937/.

Keerthy (2):
  ARM: Introduce function to switch to hypervisor mode
  ARM: OMAP5+: Override switch_to_hypervisor function

 arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 21 +++++++++++++++++++++
 arch/arm/cpu/armv7/start.S                     | 15 +++++++++++++++
 arch/arm/include/asm/system.h                  |  1 +
 3 files changed, 37 insertions(+)

-- 
1.9.1

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

end of thread, other threads:[~2016-07-29  6:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-27  3:35 [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode Keerthy
2016-07-27  3:35 ` [U-Boot] [PATCH 1/2] " Keerthy
2016-07-28 13:44   ` Tom Rini
2016-07-27  3:35 ` [U-Boot] [PATCH 2/2] ARM: OMAP5+: Override switch_to_hypervisor function Keerthy
2016-07-28 13:44   ` Tom Rini
2016-07-27  3:37 ` [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode Keerthy
2016-07-28 12:08   ` Marek Vasut
2016-07-28 12:42     ` Keerthy
2016-07-28 13:44     ` Tom Rini
2016-07-29  6:21       ` Keerthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox