Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp408772pxf; Wed, 24 Mar 2021 07:41:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx77UdG9UtSBhB55QKJ5zqPhptMKPV3RV9NtdZzpNfFxu5Qw9S9JrKdIsYbZ6lnEGiMGQPS X-Received: by 2002:a17:906:f01:: with SMTP id z1mr4193009eji.235.1616596885799; Wed, 24 Mar 2021 07:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616596885; cv=none; d=google.com; s=arc-20160816; b=taBH0ZMt+/9+trqDUAzs7Dkcx9+RCzKMVQ5kmvUcI/VngyiTFO6grdQZlY85W0uFm6 V1rlnzVE1X8iyG8r7t+z9EL4pnjd0SYTA1/nOuZUk20FswrTOqjQPX9cc/sJCsu6wRJZ S60lADUU/wOO59oxliRK33E3jjMgEuyCHLBf3JRfWidSS5ZENhYh5gHD8irCY+6AmaZO PWfL3V0L4sPtp7wt0EoxhF+J1zJeLfLR/v9HTi3CKMMLsTX/CUQpHPoPcVlDADdu/iHk ekCtyoWnhWCRhO1G7RfiRPaBopB4wNnzfmaaXaHaVV7rD/T1nscBmExnasivTnCax8j+ KpYA== 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=omwS5puHKjv17pejHb5i9USkJJrZLYB9ETUsyowGcHo=; b=k95KoPECB7fz3QocX0lds03Gep174Hq231D8g9MPbxlFNVaFJaBHQ3nh6ciy6Um/Uj wgSgEIxcCDDqevI6vQSTlIhn3NvxluTAog3BHfOK2EUglEAGSQebzmZV/ZJrgx2OkJ7J XFUZil4wVGeT7kT0lgaW6MvGlJSXt+7mN9US14ZzwzbDsTKVVIXvcRBc8KmKEyBpEuVU ZBhA4/ZWqVbTdnPOb5Vc3HeSNv2KuKFTEqljDy0NJ5rscppSmNg9yI69mg1cgIr70ZrL ezEVe61TFCmdKY6CZRs7tiNyHov5lnPxaEb3RFKR3QR5Smcs1By5lVsDB/IQzo0bCu1n X10w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@telus.net header.s=google header.b="L/zTmISK"; 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 n12si1938942eju.209.2021.03.24.07.41.03; Wed, 24 Mar 2021 07:41:25 -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; dkim=pass header.i=@telus.net header.s=google header.b="L/zTmISK"; 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 S236251AbhCXOjq (ORCPT + 99 others); Wed, 24 Mar 2021 10:39:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236270AbhCXOjh (ORCPT ); Wed, 24 Mar 2021 10:39:37 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76B5BC061763 for ; Wed, 24 Mar 2021 07:39:35 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id b10so21703898iot.4 for ; Wed, 24 Mar 2021 07:39:35 -0700 (PDT) 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=omwS5puHKjv17pejHb5i9USkJJrZLYB9ETUsyowGcHo=; b=L/zTmISKkPm4Bb8Zkz4hwGV9sdssGr2Fgi5D8wpbJMWJtrWdC+gTJCS9fZpsh1in1+ wyzsjiYY1QuChIqAyEZI+fo2geyk4/Tn8TohZZ2W+LSh/CdmgtZVagTv0j0E4bjg9P0K Vup7OM0afjZgAcOZh5YBZiSDSi74G+2KdsJT2Yrt0ruc21A0ybA+V/7ekMdjTXMPneYO azIOAZp2YDdCQIBIS6kBXxsK0QRk0te0OTgj4Zkhg6wYK5WsqXNTT6zbGRz8mWwrh8JM NXj6jI+WIYRDAreFfy2WR0KNfD3GkJ1Ca86UrKD5SjX5zwVlHbJMKCXW6SxsyOTi397S bsiA== 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=omwS5puHKjv17pejHb5i9USkJJrZLYB9ETUsyowGcHo=; b=oTkVxyCYCaHZrDHvhaPxmcgs7dipx6sKbbTxS69X0UCtly/Ti165NdGYD6gA2pfzDz sp4viOhYBDIbo1rfcmYVHd39R5K/9hV8VmQ+UXIRgbuHGgMltJRFKER+0hwcZ24i3z5d LEliUCi1d0yKqJTE7z7Vx18RrkCPnPpv+4HMcNGsyPskfGQqThswQfIx0dEyPtrVcRY8 +zuK5upNhgwsnHhZu+cVovRhooOt1GsuETwHLaH9mIH2H39MdSK05KSOvyrcFuBy7AKr Sg0I822oCy1yrcC1eQJljjrR8Qu41rkUA4+Zxq4jSe0WK3MxB99+2bzi3bogcEseMpA+ drjQ== X-Gm-Message-State: AOAM530xu6wgAkkgi79Hk3c7PgJ8zs2wAtGdykqX2y9D4gZz09xiNRgL 7aMTbxRJnIAxkiSXm2/aM96BMEMHn21F8oluP9RqIw== X-Received: by 2002:a5d:93ce:: with SMTP id j14mr2794167ioo.172.1616596774845; Wed, 24 Mar 2021 07:39:34 -0700 (PDT) MIME-Version: 1.0 References: <1f1fb01e-0616-34ea-ede6-dc7dd679c3d4@garloff.de> In-Reply-To: From: Doug Smythies Date: Wed, 24 Mar 2021 07:39:28 -0700 Message-ID: Subject: Re: turbostat: Fix Pkg Power on Zen To: Salvatore Bonaccorso , Christian Kastner , Kurt Garloff Cc: Len Brown , LKML , Linux PM list , dsmythies Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 24, 2021 at 5:38 AM Salvatore Bonaccorso wrote: > On Mon, Mar 15, 2021 at 10:54:24PM +0100, Christian Kastner wrote: > > On 01.02.21 10:01, Kurt Garloff wrote: > > > Issue persists on Ryzen in 5.11-rc6: > > > kvmadmin@KurtSrv2018(//):~ [0]$ sudo /casa/src/linux-stable/tools/power/x86/turbostat/turbostat ... deleted stuff that doesn't display properly ... > > I was seeing the same issue (no stats, program just exits with 243), and > > Kurt's simple patch resolved it for me. > > Does Kurt's patch seems good to you and can be applied or is there > anything missing? There were multiple patch submissions. Chen Yu kindly merged them into one, which was put out for testing a couple of weeks ago. Try it and report back. I'll forward it in a moment.