Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5594490imm; Mon, 23 Jul 2018 02:31:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeyx7nxrr2YghMpgUxt1OXseu3pfu+f3dlMw4jWfsi8MTYor8f1fPpb2JRaVtd4B22gjhvR X-Received: by 2002:a62:fb05:: with SMTP id x5-v6mr12556563pfm.210.1532338285471; Mon, 23 Jul 2018 02:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532338285; cv=none; d=google.com; s=arc-20160816; b=Tx3jJk3ATEm4Cu6PGWj8eaXEf5C2L/RIlMaQA+ZZWJgEM6micxC4xsTPC2TXFod6lt 0Z0qQgrBQKFMRgYinnZPct9RNOIUxXpBEJiEySEicaBDV/wLIqpGLwbqbIuGIgUJTLOs f95gweyxpWE+S6H2AsoKvZjPS+t4Mzo6omyepZOtPe0EXdE8zvlpqxKoijfcVB8SEW6Y JVbl17WCvoqCI2R7qENLdkUPgXRqnh5iz/WlQtuUPuFB+HHNSrgCioHa8HmTsozFiBz7 Dj9weV76UHkzJvTkQml55XlV2jmOlHKZC+LlsT8cwoBNBLW/gOh5qo29Y6uoAOkJcQXh ez6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=TMaVPe+LvdImtBKe6k0hYKyvx1oLgBN7pth+J7YWal0=; b=OJDynAfPgUVZSidCAfIbtnkN/C6BYxz0U0gti8Maf9JJpAXMos56iSKO9RCSS1JFLq pPyKWYYjNEQw0o29Kv4nKhQCEfEaVRQviqipy0p/BNOPTVKXr65P3iH34YqEdkRTUhDN yhyrMN4a8vitJMCVxHmMGIK6ryBcwglGysaAHPOITDVBxbloKd/m9QRYr9/4SHZcpRi9 AVAQGCydcMnciRcMHdV1IdXx1UZhHYszoon59I8bTGZHIYy1/NOTrUD47SvKnjMxEdqg 4ubrK68HfpQTi+2yb+9zae5xun0RI4wkUtyqaDKFJoUfOj9EchTFOB4H1g5M9dkqbRA2 Jxug== 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 d11-v6si8191456pgh.564.2018.07.23.02.31.10; Mon, 23 Jul 2018 02:31:25 -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 S2388188AbeGWKaD (ORCPT + 99 others); Mon, 23 Jul 2018 06:30:03 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:45150 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388080AbeGWKaC (ORCPT ); Mon, 23 Jul 2018 06:30:02 -0400 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w6N9Sfve029815; Mon, 23 Jul 2018 10:28:41 +0100 Date: Mon, 23 Jul 2018 10:28:41 +0100 From: Alan Cox To: Pavel Tatashin Cc: Thomas Gleixner , peterz@infradead.org, Steven Sistare , Daniel Jordan , linux@armlinux.org.uk, schwidefsky@de.ibm.com, Heiko Carstens , John Stultz , sboyd@codeaurora.org, x86@kernel.org, LKML , mingo@redhat.com, hpa@zytor.com, douly.fnst@cn.fujitsu.com, prarit@redhat.com, feng.tang@intel.com, Petr Mladek , linux-s390@vger.kernel.org, boris.ostrovsky@oracle.com, jgross@suse.com, pbonzini@redhat.com Subject: Re: [PATCH v14 20/25] x86/tsc: calibrate tsc only once Message-ID: <20180723102841.58ea373b@alans-desktop> In-Reply-To: References: <20180718022211.6259-1-pasha.tatashin@oracle.com> <20180718022211.6259-21-pasha.tatashin@oracle.com> <20180719103340.GA2494@hirez.programming.kicks-ass.net> <4295075b-8a0f-1723-2e80-1bbd2f038846@oracle.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >> If we determined tsc early in boot using one of the quick methods: > >> from cpuid/msr/quick_pit, can we assume that frequencies of all other > >> CPUs will be determined the same way? Or do we still have to fallback Not on 32bit at least. You can have a mixed slot 1 SMP system such as an ASUS BP6 with cores at say 300 and 450MHz. Now whether you'll find any such system in the world today is another question. Alan