From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760183AbcLPL4n (ORCPT ); Fri, 16 Dec 2016 06:56:43 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:49430 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757448AbcLPL4f (ORCPT ); Fri, 16 Dec 2016 06:56:35 -0500 Date: Fri, 16 Dec 2016 12:53:24 +0100 (CET) From: Thomas Gleixner To: Ingo Molnar cc: LKML , x86@kernel.org, Peter Zijlstra , Borislav Petkov , Bruce Schlobohm , Roland Scheidegger , Kevin Stanton , Allen Hung , stable@vger.kernel.org Subject: Re: [patch 2/2] x86/tsc: Force TSC_ADJUST register to value >= zero In-Reply-To: <20161216115254.GA18902@gmail.com> Message-ID: References: <20161213131115.764824574@linutronix.de> <20161213131211.397588033@linutronix.de> <20161216115254.GA18902@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Dec 2016, Ingo Molnar wrote: > * Thomas Gleixner wrote: > > > We have two options: > > > > 1) Disable TSC deadline timer by default and force users with sane machines > > to enable it on the kernel command line. > > > > Upside: Very small patch > > > > Downside: Degrades existing setups on sane machines, keeps TSC unusable > > on affected machines. We have no idea what other hidden side > > effects the TSC_ADJUST tinkering has. If there are any, they > > ain't be nice ones. > > > > 2) Push the whole TSC_ADJUST sanitizing machinery into stable > > > > Upside: Does not affect sane machines and gives a benefit to users of > > affected machines > > > > Downside: Rather large patch, but not that risky either. Needs a few > > eyes and good test coverage though > > > > Thoughts? > > I'd go for #2, because #1 is essentially turning it off for almost everyone. > > We can still do #1 and push it back to -stable as well if #2 fails. > > But I'd suggest we delay the stable backporting until it's been upstream a bit. I agree. None of these patches is tagged stable. I just wanted to mention it so it can be discussed before distros/stable users are swamped with failure reports. Thanks, tglx