Created attachment 158252 [details] Call get_cachetype_cp15() before cpu_idcache_wbinv_all() In elf_trampoline.c, we call cpu_idcache_wbinv_all() after kernel decompression. For CortexA (and KRAIT) processors, this call is mapped to armv7_idcache_wbinv_all(). armv7_idcache_wbinv_all() itself does reference to "coherency_level" and "cache_type" variables. These variables should have been initialized by get_cachetype_cp15() which is not called in our case. The attached patch fix it.
ARMv6/ARMv7 support for ELF trampoline was removed in base r325439. Closing as OBE.