Hello, On 04.10.24 12:14, Ahmad Fatoum wrote: > On 02.10.24 10:17, Ahmad Fatoum wrote: >> I am building for MACHINE = "qemuarm64" already, but something else catches >> my eye: QEMU_USE_KVM = 'True' >> >> I wasn't aware that I need to manually set this. I do this now and it fails >> for other reasons: qemu-system-aarch64: KVM does not support GICv3 emulation >> >> I'll look into how to resolve this and maybe I am lucky and can reproduce >> this issue, once KVM is enabled. > > Good news: I managed to reproduce this issue and write a few lines long > reproducer > that I sent in a bug report to the KVM/QEMU development mailing lists: > > > https://lore.kernel.org/all/[email protected]/
TL;DR: Turns out this is not a bug, but a known quirk of KVM and software that wishes to run under KVM needs to adapt the instructions it uses to access MMIO regions accordingly. For barebox, I sent a series adding KVM compatibility here: https://lore.kernel.org/barebox/[email protected] For U-Boot, I reported the issue here: https://lore.kernel.org/u-boot/[email protected] > As far as this series here is concerned, both barebox and U-Boot function > correctly > with KVM disabled, so could we just disable KVM for only the U-Boot/barebox > runqemu tests > to unblock merge of this series? I am more certain now that we should disable KVM for bootloader testing. Full system tests with Linux are much more demanding, so KVM absolutely makes sense there. In the bootloader however, normal emulation should suffice, especially when their upstream isn't KVM-compatible yet anyway. Cheers, Ahmad -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#205341): https://lists.openembedded.org/g/openembedded-core/message/205341 Mute This Topic: https://lists.openembedded.org/mt/108760082/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
