diff options
author | Cédric Le Goater | 2017-06-13 15:57:00 +0200 |
---|---|---|
committer | Peter Maydell | 2017-06-13 15:57:00 +0200 |
commit | 1403f36447216775e701fdae8bc8f00d359ecf0a (patch) | |
tree | b77a1b40a8ee19da88f04be53513ba27d16ff38d /hw/intc/arm_gicv3_kvm.c | |
parent | aspeed: add a temp sensor device on I2C bus 3 (diff) | |
download | qemu-1403f36447216775e701fdae8bc8f00d359ecf0a.tar.gz qemu-1403f36447216775e701fdae8bc8f00d359ecf0a.tar.xz qemu-1403f36447216775e701fdae8bc8f00d359ecf0a.zip |
timer/aspeed: fix timer enablement when a reload is not set
When a timer is enabled before a reload value is set, the controller
waits for a reload value to be set before starting decrementing. This
fix tries to cover that case by changing the timer expiry only when
a reload value is valid.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1496739312-32304-1-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/intc/arm_gicv3_kvm.c')
0 files changed, 0 insertions, 0 deletions