On 2/21/20 8:46 PM, Philippe Mathieu-Daudé wrote:
On 2/21/20 10:37 AM, Philippe Mathieu-Daudé wrote:
Cc'ing Igor & Drew.
On 2/21/20 7:28 AM, [email protected] wrote:
Patchew URL: https://patchew.org/QEMU/[email protected]/
>
=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-centos7 V=1 NETWORK=1
time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1
=== TEST SCRIPT END ===
[...]
TEST check-qtest-aarch64: tests/qtest/bios-tables-test
**
ERROR:/tmp/qemu-test/src/tests/qtest/acpi-utils.c:145:acpi_find_rsdp_address_uefi:
code should not be reached
ERROR - Bail out!
ERROR:/tmp/qemu-test/src/tests/qtest/acpi-utils.c:145:acpi_find_rsdp_address_uefi:
code should not be reached
make: *** [check-qtest-aarch64] Error 1
The virt machine is not happy, busy-looping?
$ QTEST_QEMU_BINARY=aarch64-softmmu/qemu-system-aarch64 \
tests/qtest/bios-tables-test
/aarch64/acpi/virt: ^C
So this test runs:
$ qemu-system-aarch64 -M virt -pflash pc-bios/edk2-aarch64-code.fd -pflash
pc-bios/edk2-arm-vars.fd -cdrom
tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2 -cpu cortex-a57
-serial stdio
.../...
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[email protected]:pl011_read addr 0x00000018 value 0x00000010
[keep looping]
Thanks, Phil. It seems there is some race, which causes the PL011_FLAG_TXFF
isn't cleared properly. It should be fixed in v2, which was just posted.
At least, I didn't see the error locally with v2 :)
# QTEST_QEMU_BINARY=aarch64-softmmu/qemu-system-aarch64
tests/qtest/bios-tables-test
:
# End of virt tests
# End of acpi tests
# End of aarch64 tests
Thanks,
Gavin