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


Groups > linux.kernel > #1464781

Re: [PATCH v2] clocksource: Defer override invalidation unless clock is unstable

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] clocksource: Defer override invalidation unless clock is unstable
Date 2016-08-17 22:20 +0200
Message-ID <s7ftE-5TG-5@gated-at.bofh.it> (permalink)
References <s3gRp-2h2-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Aug 6, 2016 at 9:07 AM, Kyle Walker <kwalker@redhat.com> wrote:
> Clocksources don't get the VALID_FOR_HRES flag until they have been
> checked by a watchdog. However, when using an override, the
> clocksource_select logic will clear the override value if the
> clocksource is not marked VALID_FOR_HRES during that inititial check.
> When using the boot arguments clocksource=<foo>, this selection can
> run before the watchdog, and can cause the override to be incorrectly
> cleared.
>
> To address this condition, the override_name is only invalidated for
> unstable clocksources. Otherwise, the override is left intact until after
> the watchdog has validated the clocksource as stable/unstable.
>
> Signed-off-by: Kyle Walker <kwalker@redhat.com>

Queued for testing and targeting 4.9

thanks
-john

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


Thread

Re: [PATCH v2] clocksource: Defer override invalidation unless clock  is unstable John Stultz <john.stultz@linaro.org> - 2016-08-17 22:20 +0200

csiph-web