On 9 December 2014 at 11:07, Pranavkumar Sawargaonkar <pranavku...@linaro.org> wrote: > Thanks for the patch. > I have applied this patch and called cpu_synchronize_state() to get > sctlr_el1 value in env->cp15.c1_sys during virtio endianness > determination while ARM64 guest was booting , but value getting read > is 0. > Do I need to do anything else ?
Hmm, on a 64 bit host that should work. (There's an issue with 32-bit hosts that means we won't sync registers properly which I'm working on, but it shouldn't affect 64-bit.) I suggest you debug further to see why the sync doesn't get the right SCTLR value across. -- PMM