From: ahaslam@baylibre.com
To: linux-sh@vger.kernel.org
Subject: [RFC/RFT 1/6] ARM: shmobile: r8a7790: configure arch timer at boot
Date: Mon, 12 Oct 2015 17:41:09 +0000 [thread overview]
Message-ID: <1444671674-19275-2-git-send-email-ahaslam@baylibre.com> (raw)
From: Axel Haslam <ahaslam@baylibre.com>
it seems that the A7 arch timer is incorrectly configured and gives
wrong random timestamps at boot. This can be seen by enabling kernel
timestamps for dmesg. By adding the cpu-registers-not-fw-configured
property on the device tree for the arch timer, only the physical arch
timer is used and configured giving coherent timestamps for all cpu's.
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
---
arch/arm/boot/dts/r8a7790.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index a0b2a79..91b0eb0 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -212,6 +212,7 @@
timer {
compatible = "arm,armv7-timer";
+ arm,cpu-registers-not-fw-configured;
interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
--
2.4.5
reply other threads:[~2015-10-12 17:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444671674-19275-2-git-send-email-ahaslam@baylibre.com \
--to=ahaslam@baylibre.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.