aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-04-30 12:00:09 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-05-02 16:10:40 +0200
commite9088adda13cd23249d4b0abb97ff8a81bf5573a (patch)
tree87bf8d8f03ab0bc833130e5e7b42c7a08b8aa51e /kernel/time
parentLinux v4.17-rc3 (diff)
downloadlinux-dev-e9088adda13cd23249d4b0abb97ff8a81bf5573a.tar.xz
linux-dev-e9088adda13cd23249d4b0abb97ff8a81bf5573a.zip
x86/tsc: Always unregister clocksource_tsc_early
Don't leave the tsc-early clocksource registered if it errors out early. This was reported by Diego, who on his Core2 era machine got TSC invalidated while it was running with tsc-early (due to C-states). This results in keeping tsc-early with very bad effects. Reported-and-Tested-by: Diego Viola <diego.viola@gmail.com> Fixes: aa83c45762a2 ("x86/tsc: Introduce early tsc clocksource") Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: len.brown@intel.com Cc: rjw@rjwysocki.net Cc: diego.viola@gmail.com Cc: rui.zhang@intel.com Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20180430100344.350507853@infradead.org
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions