diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-06-13 14:57:00 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-06-13 14:57:00 +0100 |
commit | 1403f36447216775e701fdae8bc8f00d359ecf0a (patch) | |
tree | b77a1b40a8ee19da88f04be53513ba27d16ff38d /hw/intc/arm_gicv3_kvm.c | |
parent | a87e81b9b55e7a3979e9987761589517eb6c9dd9 (diff) |
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