boards/qemu_cortex_a53: enable qemu icount mode

This is a single-CPU board that would normally be expected to have
icount enabled, but doesn't.  So it sees a ton of false positive test
failures due to timing skew, which (for still-poorly-understood
reasons) have recently become much worse in CI.

It looks like this got held back by a qemu bug where the emulator
would ignore SIGTERM, but that can be worked around in twister.

Turn it on.  The SHIFT value of 4 matches the 62.5 MHz simulated
clock exactly, which is pleasing.

Signed-off-by: Andy Ross <andyross@google.com>
This commit is contained in:
Andy Ross 2022-08-10 11:37:23 -07:00 committed by Carles Cufí
parent e05d0132fd
commit 5f70091dbb

View File

@ -1,7 +1,9 @@
CONFIG_SOC_QEMU_CORTEX_A53=y
CONFIG_BOARD_QEMU_CORTEX_A53=y
CONFIG_ARM_ARCH_TIMER=y
CONFIG_QEMU_ICOUNT=n
CONFIG_QEMU_ICOUNT=y
CONFIG_QEMU_ICOUNT_SHIFT=4
CONFIG_QEMU_ICOUNT_SLEEP=y
# Cache management
CONFIG_CACHE_MANAGEMENT=y