From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754644AbcDAJuO (ORCPT ); Fri, 1 Apr 2016 05:50:14 -0400 Received: from mail.skyhub.de ([78.46.96.112]:42696 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753899AbcDAJuK (ORCPT ); Fri, 1 Apr 2016 05:50:10 -0400 Date: Fri, 1 Apr 2016 11:50:05 +0200 From: Borislav Petkov To: Stephane Gasparini Cc: Peter Zijlstra , Len Brown , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown Subject: Re: [PATCH] x86: Calculate MHz using APERF/MPERF for cpuinfo and scaling_cur_freq Message-ID: <20160401095005.GA25313@pd.tnic> References: <6e0c25e64e0fb65a42dfc63ad5f660302e07cd87.1459485198.git.len.brown@intel.com> <52f711be59539723358bea1aa3c368910a68b46d.1459485198.git.len.brown@intel.com> <20160401080328.GC3448@twins.programming.kicks-ass.net> <9222CD56-C603-449C-A049-E518DAFA6883@linux.intel.com> <20160401082323.GE3448@twins.programming.kicks-ass.net> <20160401082923.GH11035@twins.programming.kicks-ass.net> <7239BF36-2C27-4325-A5B8-01BC4CA58B4C@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7239BF36-2C27-4325-A5B8-01BC4CA58B4C@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 01, 2016 at 11:30:48AM +0200, Stephane Gasparini wrote: > The MSRs will not wrap that often. Unless some yahoo goes and does WRMSR APERF . I think we should handle that gracefully too, regardless of how "smart" that move might be. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.