Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1368110imm; Wed, 18 Jul 2018 23:50:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpclD/BwJk3IuAKAaF+3B5ZAjpKIK4POW+sT7JjW6VsnWgpc6MTeJ6aapUEKUsx7W8lx/JCm X-Received: by 2002:a62:ee06:: with SMTP id e6-v6mr1924647pfi.2.1531983007654; Wed, 18 Jul 2018 23:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531983007; cv=none; d=google.com; s=arc-20160816; b=w6huJwP+q4vZN8WN3RwJxs84dqVG9kEkvCZdib0K+c4ClZo6hNFX2NPlxcNbkeoL89 +r3CCUmlGc0YPPwnronFxIYV5kVuJ7v+x0VWRwpaHRKGfX58XAbI44ip2PEVSQkEs+9T cHcFRadgOzDOMsGNILIEqMzW7Hejh8KIyuUe38dMTn7gF+krbYH3ccuYe4pAYrtC1z2C 7cruyfY4qs/jx8bLHLaNRTcGcOf74GtO3/ZA792/SLenm1ua+DScBGM9QkJZ23HC7uJL p08IqcJmw/SiUuUFIZczLo3HXXeQLxXVB2BC5m1mGLT7nnEST66aWMCEgsmtInDcZhyR Huxw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=bONInIixcuLJJj+mGX1wVPEs0YU5KhTuNyfA5X8Fc9o=; b=skA5qeNuwyOiiduMbKogbQgsG1nUlHwtLSp/5l9yLXUzYxxiQsnpMT74PBkktGc1h5 bW80xjR6hIpmIhQ7XC/8C3NNG6WnbecOmILVnbFtzEMwmdQDVFoWQXImurnUB/tDBpE+ ynIujmXqHdDNhOqPomLpLkbONDPznk9t6G07GGT+7ChoCwS87HVDbENv1mT4o+Pll8Qc VOTJf3PHEzwKL95eKGQm1NvwahW2xX/IRDKPuqcoUadmm6hGKNloUY6exjHVdio7BorH sycc4lFPy0kraO5nVIomrjaMFu9xQwSj3dEEZCklr7BIbIRkKz/XIaPHyKxGV7FjcgUz H9DA== 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 u14-v6si4574832pgv.180.2018.07.18.23.49.52; Wed, 18 Jul 2018 23:50:07 -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 S1730776AbeGSHaM (ORCPT + 99 others); Thu, 19 Jul 2018 03:30:12 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:37169 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727743AbeGSHaL (ORCPT ); Thu, 19 Jul 2018 03:30:11 -0400 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="42408349" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 19 Jul 2018 14:48:35 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id 2D9614B69D90; Thu, 19 Jul 2018 14:48:32 +0800 (CST) Received: from localhost.localdomain (10.167.226.106) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.399.0; Thu, 19 Jul 2018 14:48:34 +0800 Subject: Re: [PATCH v14 20/25] x86/tsc: calibrate tsc only once To: Thomas Gleixner CC: Pavel Tatashin , , , , , , , , , , , , , , , , , , , , References: <20180718022211.6259-1-pasha.tatashin@oracle.com> <20180718022211.6259-21-pasha.tatashin@oracle.com> <4f0933a3-27b4-5468-83f5-af9b90842812@cn.fujitsu.com> From: Dou Liyang Message-ID: <82b363bb-de81-0ddf-cb0d-83945eba72f0@cn.fujitsu.com> Date: Thu, 19 Jul 2018 14:48:28 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="gbk"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 2D9614B69D90.AC364 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, At 07/19/2018 02:25 PM, Thomas Gleixner wrote: > On Thu, 19 Jul 2018, Dou Liyang wrote: >> At 07/18/2018 10:22 AM, Pavel Tatashin wrote: >>> + (unsigned long)cpu_khz % KHZ); >>> if (cpu_khz != tsc_khz) { >>> pr_info("Detected %lu.%03lu MHz TSC", >>> - (unsigned long)tsc_khz / 1000, >>> - (unsigned long)tsc_khz % 1000); >>> + (unsigned long)tsc_khz / KHZ, >>> + (unsigned long)tsc_khz % KHZ); >>> + } >> >> this curly brackets can be removed > > No. They want to stay, really. > > https://lkml.kernel.org/r/alpine.DEB.2.20.1701171956290.3645@nanos > > The pr_info() is a multiline statement due to the line breaks. > I see, I??ll keep that in mind. Thanks, dou