Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1842403pxb; Mon, 8 Mar 2021 07:39:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLYAdCznmqyK5aSY7EX8EytoFg3q6BWt5bt1oFoDDLGsUlm8Djmm1/S7th9CQU9KPf7w95 X-Received: by 2002:a17:907:766f:: with SMTP id kk15mr15800644ejc.24.1615217956624; Mon, 08 Mar 2021 07:39:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615217956; cv=none; d=google.com; s=arc-20160816; b=aIzIH7ZuYsTRhM4h+g+U84VzQvOR++avg1IXmJ9UPEf9EHtMai9tzkNyRCrkcYcix0 U/KjBXWlJJlcJiT0sbE0+baonRmNRWZMInUbqUHLqNpRt5/NdOATZYxKtJMQqMAEGtwx GndBae8jI1NyPxZf1Dyceo7PxvKpTsryY7w1NtZ1aP4YipLmLqmcwT4TShrL2/LWbIlO zCbnNunwz59k8/T1t3ew19YzI/cjZWmMxgr7Ssn0IluTP/fJIsPen3Ig7vm3fEOEQ5/h Due4ryk5O83A+0dfafrcvn7FVOdt00SfScJGyDxMuzotneyREq2yJrHKALgrGuhqiLxY 19CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vI4y95dsjFP6QvXsKyX146AWKFu5fhgoOrqLZ5xUPaM=; b=q7P+PXOpLULIwaPaqogZyRMueHtwy1reB3OxqbSAymeNZ/HGgSJSbrXZCbGE7ITER3 QBBlGkUKStsBeCtAmM0S7nIWPjmdYvJK9zNqdPECfjG4nSgHX+n1TL52EpWOwsaMRSXP RcNBBDa2eOAJ2zUHwVPyu/ifrDGwegm/dOlBj4IMbkbhJuQ0VLsk1/nDON3os1m+VXNA z64axBPMZyb5a+V8LZ1uK5HhO6ZacCAeO08uZTn3xKQdGo+05gXPwqYgNwKWPebhu/uF sQi0ioPBhW+9VXoCilwwQt0+DmdDF/m62mtdcJGg6e81L3dKVJYRt+jhN4dYoFkdPYAu x98w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@telus.net header.s=google header.b=VBWYtLwy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si7161323edc.279.2021.03.08.07.38.53; Mon, 08 Mar 2021 07:39:16 -0800 (PST) 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; dkim=pass header.i=@telus.net header.s=google header.b=VBWYtLwy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229528AbhCHPhs (ORCPT + 99 others); Mon, 8 Mar 2021 10:37:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbhCHPhU (ORCPT ); Mon, 8 Mar 2021 10:37:20 -0500 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B7FFC06174A for ; Mon, 8 Mar 2021 07:37:20 -0800 (PST) Received: by mail-io1-xd29.google.com with SMTP id u8so10310344ior.13 for ; Mon, 08 Mar 2021 07:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vI4y95dsjFP6QvXsKyX146AWKFu5fhgoOrqLZ5xUPaM=; b=VBWYtLwykkl/MOGhHmAwY6+1Xo8NMHaFtFRCZwK5WzH5Wc6uQ+UzoFn6ITSISbkf33 Zll0FyCBFBVfbWlFLZrg4XIpR2L2kjtyyROyS4MBiFMsmfivMXjh9JOmwHdJBQxpj4c8 nssaXOX6ykQf+pAiKZNC0ZIXX7f+IYf5A+67vrhN+zcxFkstsCn3+2MyoVgRlrejZdWt tr+p8oSNw6GdTxmWYtXnYkkbHADHs6DRDcK0Lvz2oBSSJ6sTJpdONgoPUMUxKrn3FzeY 09ThTnUHi8JdXdV8aVq0/cPBf9ZZDE1BWzMgyYn0qKFGJ6WQYGIQ6IqJZ2tJVX/v1c7w UCnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vI4y95dsjFP6QvXsKyX146AWKFu5fhgoOrqLZ5xUPaM=; b=ojXEapsNls2VMzwye/bk+1IoXhiFYVAUn0v/007PoYM91L0wrwsyjsFqgmm3z2JFJA UogUXyH3jFBNE2wgmkPc9/KTrEjQsgG36DLFXOmssFz/pWKvZ8/brPhFmqP5PWCffRn6 rSjma3so6h2FiSF1HcDN8vjPLC/AeDnDU8mYvqAxV9ZTEiCQQfmmRXYBwTNwc0ZVMk7p 54GpnSfs1ye+fyBbrwkqukkKFI0w8zHpAROkZGvZ/liuCNaaTv8Exm/yhd5iBiydV9oO pGdSgm44QHQfLGlAXgYFZ8sPRdRDM83cVPuh/bCOGENv6xDmc+WiZEiaLlpeUyOvDTIf F1Nw== X-Gm-Message-State: AOAM531OVIUAmeSyT0FYwi37r6sNri/PJ3djhJjUnsuUgWGKpMFCWPDd JZ1g9ynIzNI/U7OTDP43Dq79KYHPCn6eG4RTFK4zjQ== X-Received: by 2002:a5d:9e09:: with SMTP id h9mr19820742ioh.178.1615217839515; Mon, 08 Mar 2021 07:37:19 -0800 (PST) MIME-Version: 1.0 References: <1f6d32e14f121a8ccf8807b8343597c3ae88c7d2.1587196252.git.yu.c.chen@intel.com> <20210308134957.23852-1-youling257@gmail.com> In-Reply-To: <20210308134957.23852-1-youling257@gmail.com> From: Doug Smythies Date: Mon, 8 Mar 2021 07:37:07 -0800 Message-ID: Subject: Re: [3/3,v3] tools/power turbostat: Enable accumulate RAPL display To: youling257 Cc: yu.c.chen@intel.com, lenb@kernel.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, dsmythies Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 8, 2021 at 5:50 AM youling257 wrote: > > this cause turbostat not work on amd cpu. > > root@localhost:~# /turbostat > turbostat version 20.09.30 - Len Brown > CPUID(0): AuthenticAMD 0xd CPUID levels; 0x8000001f xlevels; family:model:stepping 0x17:18:1 (23:24:1) There are already two fixes for this in the queue. https://marc.info/?l=linux-pm&m=161382097503925&w=2 https://marc.info/?l=linux-pm&m=161141701219263&w=2