From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FCA4C43331 for ; Tue, 31 Mar 2020 04:55:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 014372071A for ; Tue, 31 Mar 2020 04:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726001AbgCaEzz (ORCPT ); Tue, 31 Mar 2020 00:55:55 -0400 Received: from mga09.intel.com ([134.134.136.24]:20174 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725809AbgCaEzz (ORCPT ); Tue, 31 Mar 2020 00:55:55 -0400 IronPort-SDR: PYN4lFh5V8ga6rmWLPi4/6mS1C7Bt/8qLUvRrHrDmB3udwpzE00bzikUkrjUgFPRaWtK3N2esU /sTb8v/XOLRQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2020 21:55:53 -0700 IronPort-SDR: ySCHkDMvDFiHDDC1tnsdaqiPlh2ag8j+w5WLFyv8ouEyzggQdDaOEWHEUc6NmfJwBM52Vsn8JA V2C3s4cJftmw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,327,1580803200"; d="scan'208";a="248934955" Received: from spandruv-mobl3.jf.intel.com ([10.135.21.18]) by orsmga003.jf.intel.com with ESMTP; 30 Mar 2020 21:55:52 -0700 Message-ID: <78d89a67d7fdda477fe406d5401a50b892d2ee81.camel@linux.intel.com> Subject: Re: Why do I sometimes "lose" the "psys" RAPL counter? From: Srinivas Pandruvada To: Zhang Rui , "Kenneth R. Crudup" Cc: linux-pm@lists.linux-foundation.org, rafael.j.wysocki@intel.com, linux-pm@vger.kernel.org, "Liang, Kan" Date: Mon, 30 Mar 2020 21:55:51 -0700 In-Reply-To: References: <691eb7a6efd7a954295f234a70f548fd0c81e2f8.camel@intel.com> <7e1562ce93b83a685aa54dd2ae5a5b36c5737cb6.camel@intel.com> <7583412585916da6bb23d9352257c7768c509388.camel@linux.intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.3 (3.34.3-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Tue, 2020-03-31 at 10:49 +0800, Zhang Rui wrote: > On Mon, 2020-03-30 at 10:40 -0700, Kenneth R. Crudup wrote: > > On Mon, 30 Mar 2020, Srinivas Pandruvada wrote: > > > > > I could reproduce this. This fails because the Psys MSR read 0. > > Do you mean MSR_PLATFORM_POWER_LIMIT? MSR_PLATFORM_ENERGY_COUNTER (0x64d) Thanks Srinivas > It is not 0 according to previous emails. > > > > Also > > > the counter values are not correct as the incremental values are > > > less > > > than package energy counter values. > > > > OK, so the very night I'd asked this question, Dell put out a BIOS > > update > > (BIOS 1.3.1 03/02/2020) that seems to have fixed this issue; I have > > not > > had a missing "psys" domain since updating. Srinivas, can you > > update > > the > > XPS 7390 you have to this BIOS version and verify this is fixed? > > > Good to know. > > thanks, > rui > >