Skip to content

ARM: Introduce function to switch to hypervisor mode

Keerthy u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode
Quoted 4 lines · Keerthy

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.

Quoted 8 lines

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/.

Please ignore the above link.

Based on:

http://lists.denx.de/pipermail/u-boot/2016-June/258300.html

Quoted 10 lines

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