From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754059AbbAZOYw (ORCPT ); Mon, 26 Jan 2015 09:24:52 -0500 Received: from www.linutronix.de ([62.245.132.108]:47267 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752764AbbAZOYv (ORCPT ); Mon, 26 Jan 2015 09:24:51 -0500 Date: Mon, 26 Jan 2015 15:24:27 +0100 (CET) From: Thomas Gleixner To: "Rafael J. Wysocki" cc: "Li, Aubrey" , Peter Zijlstra , "Brown, Len" , "alan@linux.intel.com" , LKML , Linux PM list Subject: Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state In-Reply-To: <2137807.aqSxQQCuJ3@vostro.rjw.lan> Message-ID: References: <54866625.8010406@linux.intel.com> <54C5FE6A.9010300@linux.intel.com> <2137807.aqSxQQCuJ3@vostro.rjw.lan> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Jan 2015, Rafael J. Wysocki wrote: > On Monday, January 26, 2015 10:40:24 AM Thomas Gleixner wrote: > > The only remaining issue might be a NMI calling into > > ktime_get_mono_fast_ns() before timekeeping is resumed. Its probably a > > non issue on x86/tsc, but it might be a problem on other platforms > > which turn off devices, clocks, It's not rocket science to prevent > > that. > > I don't see any users of ktime_get_mono_fast_ns() at all, unless some non-trivial > macros are involved. At least grepping for it only returns the definition, > declarations and the line in trace.c. You can trace in NMI and perf is going to use ktime_get_mono_fast_ns() eventually as well. Thanks, tglx