Re: [Linaro-uefi] UEFI on KVM fails to start on juno on cortex-a57 cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 March 2015 at 17:14, Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> wrote:
> On 25 March 2015 at 17:14, Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> wrote:
>> On 25 March 2015 at 07:59, Riku Voipio <riku.voipio@xxxxxxxxxx> wrote:
>>> Hi,
>>>
>>> It appears on juno, I can start kvm with UEFI only on cortex-a53 cores:
>>>
>>>
>>> taskset -c 0 qemu-system-aarch64 -m 1024 -cpu host -M virt -bios
>>> QEMU_EFI.fd -enable-kvm -nographic
>>> -> works:
>>> UEFI Interactive Shell v2.0
>>> taskset -c 1 qemu-system-aarch64 -m 1024 -cpu host -M virt -bios
>>> QEMU_EFI.fd -enable-kvm -nographic
>>> -> hangs at cpu spinning 100%
>>> ...
>>>
>>
>> I can reproduce the hang, both with your UEFI binary and my own release build.
>> The debug build works fine, unfortunately...
>>
>
> Tianocore built from master as of today, that is.
>

OK, it appears that we were missing some cache maintenance. It is not
obvious how that should affect A57 only, but with these patches, I can
now reliably run the release version on my Seattle A57

https://git.linaro.org/people/ard.biesheuvel/uefi-next.git/shortlog/refs/heads/qemu-xen-cache-maintenance


>>> Qemu and kernel are latest mainline, kvm from last months Ĺinaro
>>> release. According to cpuinfo cores 0 and 3-5 are a53 and 1-2 are a57.
>>> Details:
>>>
>>> # wget http://releases.linaro.org/15.01/components/kernel/uefi-linaro/release/qemu64-intelbds/QEMU_EFI.fd
>>> uname -a
>>> # Linux linaro-nano 4.0.0-rc5-linaro-juno #1 SMP PREEMPT Tue Mar 24
>>> 10:46:53 UTC 2015 aarch64 aarch64 aarch64 GNU/Linux
>>> # qemu-system-aarch64 --version
>>> QEMU emulator version 2.2.91 (Debian 2.3.0~rc1-185linaro+utopic),
>>> Copyright (c) 2003-2008 Fabrice Bellard
>>> # grep -E '(processor|part)' /proc/cpuinfo
>>> processor       : 0
>>> CPU part        : 0xd03
>>> processor       : 1
>>> CPU part        : 0xd07
>>> processor       : 2
>>> CPU part        : 0xd07
>>> processor       : 3
>>> CPU part        : 0xd03
>>> processor       : 4
>>> CPU part        : 0xd03
>>> processor       : 5
>>> CPU part        : 0xd03
>>>
>>> _______________________________________________
>>> Linaro-uefi mailing list
>>> Linaro-uefi@xxxxxxxxxxxxxxxx
>>> http://lists.linaro.org/mailman/listinfo/linaro-uefi
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm





[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux