Message ID | 1421971767-17707-13-git-send-email-john.stultz@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCJ7RPMX4EMBBY5CQ2TAKGQEJAB26FA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0AEA9218DB for <linaro@patches.linaro.org>; Fri, 23 Jan 2015 00:10:12 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id bs8sf3238670wib.1 for <linaro@patches.linaro.org>; Thu, 22 Jan 2015 16:10:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=NhtSLMxudgPxFRhj8Ljjn+lhUbPas/FoOsw3nd9CNh0=; b=cwGUn/niBQeUtA1pPkMgNk8rIr01pC+Q3DUK5Ri8HDq4xcznsP5cOzblN/LHhXaEkr m1lD1vanOdUyWLnVxmmC+yCMmu1LkYFdPpOkmI0pWoKXNyJYmbGq1hlyPd9GylQBuuT2 BkGIzDIstFheDXI/xs9xqofUbR48VwPlvT8q9tYht8QEAmkeTiK5mthaHWhBslzheOzS 0feW9kxf+6q0rrW5KwEnKKVQKKxUoIaXwa9LlWe0YnUm7cG3KoPLFvZ7v8Bq1mHImIAh 3WNC8b5oQxRwVtkwYLN8oHO4NnS6c9m/W4yJ6uxaJcP/9EKi9lY6h4/64eI2g/eoP59F X8yQ== X-Gm-Message-State: ALoCoQmqBIwQBPcNY/uOM7qmA5Eau8P7dS9RVOmdsp1dhbW/h9BcDP3mKnSWuCv4AJZ79ZYC5Wpq X-Received: by 10.112.148.198 with SMTP id tu6mr587262lbb.3.1421971811337; Thu, 22 Jan 2015 16:10:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.200 with SMTP id n8ls212228lag.15.gmail; Thu, 22 Jan 2015 16:10:11 -0800 (PST) X-Received: by 10.152.25.129 with SMTP id c1mr4509099lag.65.1421971811195; Thu, 22 Jan 2015 16:10:11 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id ds5si21949416lbc.138.2015.01.22.16.10.11 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 16:10:11 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id pn19so4635853lab.9 for <patchwork-forward@linaro.org>; Thu, 22 Jan 2015 16:10:11 -0800 (PST) X-Received: by 10.112.64.35 with SMTP id l3mr4458819lbs.82.1421971811105; Thu, 22 Jan 2015 16:10:11 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.9.200 with SMTP id c8csp64014lbb; Thu, 22 Jan 2015 16:10:10 -0800 (PST) X-Received: by 10.70.22.66 with SMTP id b2mr3839098pdf.9.1421971788509; Thu, 22 Jan 2015 16:09:48 -0800 (PST) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com. [209.85.220.41]) by mx.google.com with ESMTPS id pa8si9608895pdb.93.2015.01.22.16.09.47 for <patches@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 16:09:48 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; Received: by mail-pa0-f41.google.com with SMTP id kq14so2376611pab.0 for <patches@linaro.org>; Thu, 22 Jan 2015 16:09:47 -0800 (PST) X-Received: by 10.68.234.200 with SMTP id ug8mr6322429pbc.133.1421971787559; Thu, 22 Jan 2015 16:09:47 -0800 (PST) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id am14sm10405657pac.35.2015.01.22.16.09.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Jan 2015 16:09:46 -0800 (PST) From: John Stultz <john.stultz@linaro.org> To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Cc: John Stultz <john.stultz@linaro.org>, Dave Jones <davej@codemonkey.org.uk>, Linus Torvalds <torvalds@linux-foundation.org>, Thomas Gleixner <tglx@linutronix.de>, Richard Cochran <richardcochran@gmail.com>, Prarit Bhargava <prarit@redhat.com>, Stephen Boyd <sboyd@codeaurora.org>, Ingo Molnar <mingo@kernel.org>, Peter Zijlstra <peterz@infradead.org> Subject: [PATCH 12/12] clocksource: Add some debug info about clocksources being registered Date: Thu, 22 Jan 2015 16:09:27 -0800 Message-Id: <1421971767-17707-13-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1421971767-17707-1-git-send-email-john.stultz@linaro.org> References: <1421971767-17707-1-git-send-email-john.stultz@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index b56f4b9..ec7b552 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -773,6 +773,10 @@ void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq) cs->max_idle_ns = clocks_calc_max_nsecs(cs->mult, cs->shift, cs->maxadj, cs->mask, &cs->max_cycles); + + pr_info("clocksource %s: mask: 0x%llx max_cycles: 0x%llx, max_idle_ns: %lld ns\n", + cs->name, cs->mask, cs->max_cycles, cs->max_idle_ns); + } EXPORT_SYMBOL_GPL(__clocksource_updatefreq_scale);
Print the mask, max_cycles, and max_idle_ns values for clocksources being registered. Cc: Dave Jones <davej@codemonkey.org.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Stephen Boyd <sboyd@codeaurora.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: John Stultz <john.stultz@linaro.org> --- kernel/time/clocksource.c | 4 ++++ 1 file changed, 4 insertions(+)