Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1805860pxy; Fri, 23 Apr 2021 18:15:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjf5JFf4NdiUH8448sCRah7VitCmQuOUMeRzLXS3G0UzS+mlycTqSqY/ieMn+teDKsPP7J X-Received: by 2002:a17:90a:af91:: with SMTP id w17mr8868311pjq.205.1619226904979; Fri, 23 Apr 2021 18:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619226904; cv=none; d=google.com; s=arc-20160816; b=ep7Ah2xooBumGmkw0VSv/Reck5c1M7ytczqoB/nU2iSibnK7Bi54o+gZk9SRUQ0J8k TIiy5HDoPQcvF1ziSZGCTHbVFYCjxDFRWqnLLrU8TEOqyY1O3aLiVKgO4+wC7uiljYoF YaSAKpSogoDhCf6uspRvHNjbyFNMn3LWIINY6PmVGl8ifKqeWsx6ms9e0STwoOXj2dop l0y4H6nFIAqupLDgeyKVf63Om+GanViyP0HmbBBz+am9zHsNkhyhjFz0xsEk4mBxgtft i7HeXNVFOvAoZwVa2AkZfjmX9HvtWSMHS1kKws6lc8YjTuo4kr5JEa7W9EfdLThJKEXM 4LJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=gMFuoaFFjz+kzmKcrrkFik3X/E0ExIUJBF5A3ChuU4M=; b=SjnlbIJqD0LZalclWoCMyrz+2N0+6mTduYg3UNgrhK1QH3bxw7Vkjqt6VJlZTke9C9 AAuAvFuep8w5V4X94uVKM7K0HRF1LfT9ySzUdlekei5qgd5MBHJH1pcpgx4fgUqxhKko lbwCIrG/XLCJCvUdGHwsGctBYJtcg9rTIjGIQLuvQqd3rpXv3En2yuIFncZ2VCs0nw9Z /QH6BoAroMqaYbcoNJoCSwbCvva+uvqcBIdoVtUYNER938kMIjKCXtg0gNNnCvkSLKwZ Mfxx76wKwc+ycmcxsofoShG4oeEo3/sPtPXnCM7P+vk2w8CeZwjNwSG4KJJWIfDknWjO Gu6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g199si9625457pfb.57.2021.04.23.18.14.43; Fri, 23 Apr 2021 18:15:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236539AbhDXBLc (ORCPT + 99 others); Fri, 23 Apr 2021 21:11:32 -0400 Received: from mga18.intel.com ([134.134.136.126]:38878 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233027AbhDXBLX (ORCPT ); Fri, 23 Apr 2021 21:11:23 -0400 IronPort-SDR: PH5FwHKe9JQ9ymGoTOFswB8XaMoJW/TCytw8VRNGml3pb+/1Jf/Mv3om8mmWW9W9rNQgavr5ab SZMmjrR+UGdw== X-IronPort-AV: E=McAfee;i="6200,9189,9963"; a="183638112" X-IronPort-AV: E=Sophos;i="5.82,246,1613462400"; d="scan'208";a="183638112" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2021 18:10:42 -0700 IronPort-SDR: 8XMWR0NZrlebDXhDFcQl4+7eHFLzWXGvg7OxXxIsy06Ykl2lFC5nfRZ1rett0f9MkYYhv9dPet Ied5KjpSFcXw== X-IronPort-AV: E=Sophos;i="5.82,246,1613462400"; d="scan'208";a="421944962" Received: from chenyu-desktop.sh.intel.com (HELO chenyu-desktop) ([10.239.158.173]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2021 18:10:38 -0700 Date: Sat, 24 Apr 2021 09:14:26 +0800 From: Chen Yu To: Borislav Petkov Cc: Calvin Walton , Terry Bowman , lenb@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, wei.huang2@amd.com, aros@gmx.com, rui.zhang@intel.com Subject: Re: [PATCH v2] tools/power turbostat: Fix RAPL summary collection on AMD processors Message-ID: <20210424011426.GA432310@chenyu-desktop> References: <20210420020336.GA386151@chenyu-desktop> <20210420080701.GA2326@zn.tnic> <20210420131541.GA388877@chenyu-desktop> <4cbb1eff77de1e843912267ade4686cfa1acd610.camel@kepstin.ca> <20210420143754.GA390118@chenyu-desktop> <5cf35f3742d1181421d955174b1aa9434d042c96.camel@kepstin.ca> <20210423121607.GA426003@chenyu-desktop> <20210423121934.GC24710@zn.tnic> <20210423133430.GA426650@chenyu-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 23, 2021 at 04:32:05PM +0200, Borislav Petkov wrote: > On Fri, Apr 23, 2021 at 09:34:30PM +0800, Chen Yu wrote: > > I see, I'll add Calvin's SOB here. Previously I thought the 'From' field might > > be enough to indicate the Author, but it seems to not be the case. > > The From: field is used by git to take the author but that's not the > problem. You need the author her/himself to sign off on the work - no > one else can do that. > Thanks for the explanation. > You can refresh on that here: > > Documentation/process/submitting-patches.rst > > > Got it. The off_t was derived from old code in this file from get_msr() and alike, > > let me convert this return value to unsigned int. > > See my reply to Calvin - it needs to by off_t after all. > Okay. Best, Chenyu > Thx. > > -- > Regards/Gruss, > Boris. > > SUSE Software Solutions Germany GmbH, GF: Felix Imend?rffer, HRB 36809, AG N?rnberg