qemu/tests
Jianzhou Yue 446e5e8b45 hw/core/ptimer: fix timer zero period condition for freq > 1GHz
The real period is zero when both period and period_frac are zero.
Check the method ptimer_set_freq, if freq is larger than 1000 MHz,
the period is zero, but the period_frac is not, in this case, the
ptimer will work but the current code incorrectly recognizes that
the ptimer is disabled.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2306
Signed-off-by: JianZhou Yue <JianZhou.Yue@verisilicon.com>
Message-id: 3DA024AEA8B57545AF1B3CAA37077D0FB75E82C8@SHASXM03.verisilicon.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-08-12 11:40:16 +01:00
..
avocado Docs & testing patch queue 2024-07-31 11:19:55 +10:00
bench tests/bench: Add bufferiszero-bench 2024-05-03 08:03:35 -07:00
data tests/acpi: Add expected ACPI AML files for RISC-V 2024-07-22 20:15:42 -04:00
decode tests/: spelling fixes 2023-09-08 13:08:52 +03:00
docker gitlab: record installed packages in /packages.txt in containers 2024-07-30 11:38:34 +01:00
fp tests/fp: Bump fp-test-mulAdd test timeout to 3 minutes 2024-01-12 13:23:48 +00:00
guest-debug tests: Gently exit from GDB when tests complete 2024-05-17 16:49:04 +02:00
image-fuzzer
include
keys
lcitool testing: bump to latest libvirt-ci 2024-07-22 09:06:17 +01:00
migration tests/qtest/migration-test: Use custom asm bios for ppc64 2024-06-14 14:01:23 -03:00
multiboot
perf/block/qcow2
qapi-schema qapi: remove "Example" doc section 2024-07-17 10:20:54 +02:00
qemu-iotests iotests/024: exclude 'backing file format' field from the output 2024-08-06 20:12:40 +02:00
qtest tests/qtest: Add pnv-spi-seeprom qtest 2024-07-26 09:21:06 +10:00
rocker
tcg Hexagon: fix F2_conv_* instructions for negative zero 2024-08-07 20:34:25 -07:00
tsan block: remove AioContext locking 2023-12-21 22:49:27 +01:00
uefi-test-tools tests/data/uefi-boot-images: Add RISC-V ISO image 2024-07-03 18:14:06 -04:00
unit hw/core/ptimer: fix timer zero period condition for freq > 1GHz 2024-08-12 11:40:16 +01:00
vm tests/vm/openbsd: Install tomli 2024-07-31 13:13:31 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include tests/avocado: Allow overwriting AVOCADO_SHOW env variable 2024-07-22 13:54:10 +02:00
meson.build tests/tcg: move test plugins into tcg subdir 2024-07-30 11:44:18 +01:00
test-qht-par.c
vhost-user-bridge.c