summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Drivers/TimerDxe
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-03-15 10:13:01 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-04-19 10:15:37 +0200
commit411a373ed6426fb1bff253905b6a59ada44e18ad (patch)
tree0d976b3546fbde17bab3f43a31971c90552ef536 /ArmPkg/Drivers/TimerDxe
parent3378782691af1158560579444a23bdd2f0a7d154 (diff)
downloadedk2-411a373ed6426fb1bff253905b6a59ada44e18ad.tar.gz
edk2-411a373ed6426fb1bff253905b6a59ada44e18ad.tar.bz2
edk2-411a373ed6426fb1bff253905b6a59ada44e18ad.zip
ArmPkg/TimerDxe: remove workaround for KVM timer handling
When we first ported EDK2 to KVM/arm, we implemented a workaround for the quirky timer handling on the KVM side. This has been fixed in Linux commit f120cd6533d2 ("KVM: arm/arm64: timer: Allow the timer to control the active state") dated 23 June 2014, which was incorporated into Linux release 4.3. So almost 4 years later, it should be safe to drop this workaround on the EDK2 side. This reverts commit b1a633434ddc. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'ArmPkg/Drivers/TimerDxe')
-rw-r--r--ArmPkg/Drivers/TimerDxe/TimerDxe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ArmPkg/Drivers/TimerDxe/TimerDxe.c b/ArmPkg/Drivers/TimerDxe/TimerDxe.c
index a3202fa056..bd616d2efc 100644
--- a/ArmPkg/Drivers/TimerDxe/TimerDxe.c
+++ b/ArmPkg/Drivers/TimerDxe/TimerDxe.c
@@ -337,7 +337,6 @@ TimerInterruptHandler (
// Set next compare value
ArmGenericTimerSetCompareVal (CompareValue);
- ArmGenericTimerEnableTimer ();
ArmInstructionSynchronizationBarrier ();
}