From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keerthy Date: Fri, 29 Jul 2016 17:32:42 +0530 Subject: [U-Boot] [PATCH v2 0/2] ARM: Introduce function to switch to hypervisor mode In-Reply-To: <1469773745-11888-1-git-send-email-j-keerthy@ti.com> References: <1469773745-11888-1-git-send-email-j-keerthy@ti.com> Message-ID: <579B45E2.3030605@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 29 July 2016 11:59 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: 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. Hi Tom, I request you to hold on merge of this series. I am doing some performance measurements. I see some drop. So analyzing and root causing. Thanks, Keerthy > > Changes in v2: > > * Fixed a compile time error on older defconfigs due to #ifdef > issue. > > Boot tested on DRA7-EVM and DRA72-EVM. > > 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(+) >