Received: by 10.213.65.68 with SMTP id h4csp236707imn; Tue, 20 Mar 2018 02:05:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELuT7hZbwm4Du1EHA7aJY6yE0hbvsdTAjG48eRZeZ2RqUqAl27nGnm2e8BEZC1PXBB1kNzV+ X-Received: by 10.98.59.4 with SMTP id i4mr13037776pfa.26.1521536719997; Tue, 20 Mar 2018 02:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521536719; cv=none; d=google.com; s=arc-20160816; b=uKqS7JPxldQ9EwwVjmBtzj/8Lc6vW1s2ssvS0ZlKDdSMSm2YYfkOWLEPh4EJyyFm2g WGsBLUuyaOuRblR0Q5dk5saaLyX4xTuw9b+BP/9vWKdoV+XxlwxceUYU2hp91Zrs64y9 24MiPg91qUJoeM1vI7Jp7LfO2hp0e/+CPry0ppcmzS6uNhImcPF2t9XN0O45zpYLfouu J3HpiipKYnBmY9BMOedDiIEWPZC2olbL4a4LsopPo8GMqECCie9QTkFrGgK412UlcywZ T4R8Yjacrhoboe1mTpKdISnkrqYyahP7EcuAfmEqUgUutDzbJ4Hla//55uR23bUTBOT/ ZnKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=aPW5ZXGdGG+bYGHd9Bw8IdLF6cJkPjv8u85nC9RjxWY=; b=NJegeqbIytkbqLhPqs++EEUedJUGmgg9W4nkyaNjGS5N97E+kndBj3BTSdlNVBFgi2 Qne0dvZEsflxVWsh/MR44GLIUEbLpesQH4EAqEI8IJNH+c8tA3uqfchK/n4ZGxCv1AJ8 FZBhstEXsnne36g1fxLduayOjel5qOs+pupsQo52ggbIhtW5iDK718oTYLxzIF/3W5A8 RgBPiYP+VgXinROM6AQcmGDX9Bp0M9MAQ5qt2P3j63kij+h4JtTmM2zoynudi5QMfGq6 HOZ9y12UbuD3rljJEtNZZwcJ0r7rV9O/ieiJXJqxzIJb/K0YhjR87MnbfN5QYv5+LBC+ rDJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l128si896038pgl.248.2018.03.20.02.05.02; Tue, 20 Mar 2018 02:05:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752427AbeCTJDd (ORCPT + 99 others); Tue, 20 Mar 2018 05:03:33 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:34061 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752046AbeCTJDa (ORCPT ); Tue, 20 Mar 2018 05:03:30 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1eyDAm-0003nb-2k; Tue, 20 Mar 2018 10:03:12 +0100 Date: Tue, 20 Mar 2018 10:03:11 +0100 (CET) From: Thomas Gleixner To: "Liu, Changcheng" cc: Peter Zijlstra , hpa@zytor.com, douly.fnst@cn.fujitsu.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/ioapic: don't use unstable TSC to detect timer IRQ In-Reply-To: <20180320085835.GA56497@sofia> Message-ID: References: <20180320084255.GA187704@sofia> <20180320084929.GP4043@hirez.programming.kicks-ass.net> <20180320085835.GA56497@sofia> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Mar 2018, Liu, Changcheng wrote: > On 09:49 Tue 20 Mar, Peter Zijlstra wrote: > > On Tue, Mar 20, 2018 at 04:42:55PM +0800, Liu, Changcheng wrote: > > > In rare case, the TSC is every unstable or can't sync with > > > real time hardware clock. > > > > However did you manage that? Please provide _FAR_ more details. > [Changcheng] TSC is simulated and HPET is hardware implemented. > TSC can't sync with HPET. When running linux, the TSC grows too > fast and HPET can't trigger periodic timer interrupt in time which > is used to update jiffies. Why on earth is that system claiming it has a TSC at all? That's just broken. Thanks, tglx