Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1570697
| From | Alexander Kochetkov <al.kochet@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v6 5/5] ARM: dts: rockchip: disable arm-global-timer for rk3188 |
| Date | 2017-01-31 13:50 +0100 |
| Message-ID | <t5G2K-Kr-27@gated-at.bofh.it> (permalink) |
| References | <t5G2J-Kr-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The clocksource and the sched_clock provided by the arm_global_timer
are quite unstable because their rates depend on the cpu frequency.
On the other side, the arm_global_timer has a higher rating than the
rockchip_timer, it will be selected by default by the time framework
while we want to use the stable rockchip clocksource.
Let's disable the arm_global_timer in order to have the rockchip
clocksource selected by default.
Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
---
arch/arm/boot/dts/rk3188.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi
index 0dc52fe..44da3d42 100644
--- a/arch/arm/boot/dts/rk3188.dtsi
+++ b/arch/arm/boot/dts/rk3188.dtsi
@@ -546,6 +546,7 @@
&global_timer {
interrupts = <GIC_PPI 11 0xf04>;
+ status = "disabled";
};
&local_timer {
--
1.7.9.5
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v6 0/5] Implement clocksource for rockchip SoC using rockchip timer Alexander Kochetkov <al.kochet@gmail.com> - 2017-01-31 13:50 +0100
[PATCH v6 4/5] ARM: dts: rockchip: add timer entries to rk3188 SoC Alexander Kochetkov <al.kochet@gmail.com> - 2017-01-31 13:50 +0100
Re: [PATCH v6 4/5] ARM: dts: rockchip: add timer entries to rk3188 SoC Heiko Stuebner <heiko@sntech.de> - 2017-02-01 10:50 +0100
[PATCH v6 3/5] clocksource/drivers/rockchip_timer: implement clocksource timer Alexander Kochetkov <al.kochet@gmail.com> - 2017-01-31 13:50 +0100
[PATCH v6 5/5] ARM: dts: rockchip: disable arm-global-timer for rk3188 Alexander Kochetkov <al.kochet@gmail.com> - 2017-01-31 13:50 +0100
Re: [PATCH v6 5/5] ARM: dts: rockchip: disable arm-global-timer for rk3188 Heiko Stuebner <heiko@sntech.de> - 2017-02-01 10:50 +0100
csiph-web