On Thursday 11 December 2014 09:15 PM, Arnd Bergmann wrote:
On Thursday 11 December 2014 19:27:03 Varad Gautam wrote:
I'm getting
arch/arm/kernel/efi_phys.S: Assembler messages: arch/arm/kernel/efi_phys.S:42: Error: selected processor does not support ARM mode `isb' arch/arm/kernel/efi_phys.S:50: Error: selected processor does not support ARM mode `isb' make[1]: *** [arch/arm/kernel/efi_phys.o] Error 1
when compiling the topic-leg-uefi kernel [1] with EFI_STUB support for omap2plus_defconfig (to run on a BeagleBone Black with AM335x SoC). I've checked that armv7 supports `isb`, and I've tried the kernel.org 4.6.3-nolibc toolchain [2] and the Linaro gcc-arm-none-eabi-4.8 release. The build goes fine without EFI support. I need some help figuring out what's wrong.
The code should be changed to use the instr_sync macro instead of using the isb instruction directly.
Arnd
Thanks, that did it. Should I send in a fix?