[PATCH 04/10] ARM: add file for HYP mode related setup

Sascha Hauer s.hauer at pengutronix.de
Tue Feb 6 04:37:11 PST 2018


On Mon, Jan 29, 2018 at 05:29:58PM +0100, Lucas Stach wrote:
> This adds routines to add hyp mode vectors and switch back to HYP
> mode from SVC. This is needed in both the PBL and Barebox proper.
> 
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

This patch breaks the various PXA defconfigs:

arch/arm/cpu/hyp.S: Assembler messages:
arch/arm/cpu/hyp.S:5: Error: architectural extension `sec' is not allowed for the current base architecture
arch/arm/cpu/hyp.S:6: Error: architectural extension `virt' is not allowed for the current base architecture
arch/arm/cpu/hyp.S:86: Error: selected processor does not support ARM mode `isb'
arch/arm/cpu/hyp.S:87: Error: selected processor does not support ARM mode `hvc #0'
make[1]: *** [arch/arm/cpu/hyp.o] Error 1

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list