Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532385

Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change

From Robin Murphy <robin.murphy@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change
Date 2016-11-29 16:10 +0100
Message-ID <sIScG-1DN-13@gated-at.bofh.it> (permalink)
References (1 earlier) <sIPy9-8o8-3@gated-at.bofh.it> <sIQXh-F4-67@gated-at.bofh.it> <sIRqh-17H-21@gated-at.bofh.it> <sIRJE-1es-35@gated-at.bofh.it> <sIS30-1lb-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29/11/16 14:51, Alexander Kochetkov wrote:
> 
>> 29 нояб. 2016 г., в 17:32, Thomas Gleixner <tglx@linutronix.de> написал(а):
>>
>> Can we just disable that global timer on affected SoCs and use something
>> else instead?
> 
> I’ve sent patch series for fixing that on rockchip SoC.
> http://lists.infradead.org/pipermail/linux-rockchip/2016-November/013217.html
> 
> But the series contain fix only for rk3188, because I don’t have another rockchip
> SoC. rk3288 and other could be easy fixed with dts files.

3288 (and probably anything newer) is irrelevant to this discussion, as
it has the arch timer interface - that may be busted in other ways (such
as not being correctly set up by firmware and not being always-on as it
should), but frequency is not one of them. This only affects
Cortex-A9/A5 based parts.

> There are a lot of other platforms what probably use shed_clock and
> clocksource form global-timer.

Presumably it's only an issue if they also have cpufreq?

> alexander@ubuntu:dts$ grep arm,cortex-a9-global-timer *
> am4372.dtsi:		compatible = "arm,cortex-a9-global-timer";
> artpec6.dtsi:		compatible = "arm,cortex-a9-global-timer";
> bcm5301x.dtsi:			compatible = "arm,cortex-a9-global-timer";
> bcm63138.dtsi:			compatible = "arm,cortex-a9-global-timer";
> bcm-cygnus.dtsi:			compatible = "arm,cortex-a9-global-timer";
> bcm-nsp.dtsi:			compatible = "arm,cortex-a9-global-timer";
> hip01.dtsi:			compatible = "arm,cortex-a9-global-timer";
> rk3xxx.dtsi:		compatible = "arm,cortex-a9-global-timer";
> stih407-family.dtsi:		compatible = "arm,cortex-a9-global-timer";
> stih41x.dtsi:		compatible = "arm,cortex-a9-global-timer";
> uniphier-common32.dtsi:			compatible = "arm,cortex-a9-global-timer";
> uniphier-ph1-sld3.dtsi:			compatible = "arm,cortex-a9-global-timer";
> vexpress-v2p-ca5s.dts:		             "arm,cortex-a9-global-timer";

I can tell you that one, for one, is never used, because it depends on
an input clock provided by the vexpress-osc driver which cannot be
probed sufficiently early.

Robin.

> vf500.dtsi:				compatible = "arm,cortex-a9-global-timer";
> zx296702.dtsi:			compatible = "arm,cortex-a9-global-timer";
> zynq-7000.dtsi:			compatible = "arm,cortex-a9-global-timer»;
> 
> Regards,
> Alexander.
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-29 13:20 +0100
  [PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-29 13:20 +0100
    Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents  after cpufreq change Thomas Gleixner <tglx@linutronix.de> - 2016-11-29 14:50 +0100
      Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-29 15:10 +0100
        Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents  after cpufreq change Thomas Gleixner <tglx@linutronix.de> - 2016-11-29 15:20 +0100
      Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents  after cpufreq change Marc Zyngier <marc.zyngier@arm.com> - 2016-11-29 15:20 +0100
        Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents  after cpufreq change Thomas Gleixner <tglx@linutronix.de> - 2016-11-29 15:40 +0100
          Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-29 16:00 +0100
            Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents  after cpufreq change Robin Murphy <robin.murphy@arm.com> - 2016-11-29 16:10 +0100
          Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents  after cpufreq change Marc Zyngier <marc.zyngier@arm.com> - 2016-11-29 16:00 +0100
            Re: [PATCH] clocksource/arm_global_timer: reconfigure clockevents after cpufreq change Alexander Kochetkov <al.kochet@gmail.com> - 2016-11-29 16:10 +0100

csiph-web