Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3250145pxk; Mon, 21 Sep 2020 08:53:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6kdJ71VXaBer0EZq7zbijdR6lT1Lcm0FisT3z4WdRYEA/0gSmH0n4Srujc1tdHXXWhJ2I X-Received: by 2002:a05:6402:1558:: with SMTP id p24mr313195edx.194.1600703593775; Mon, 21 Sep 2020 08:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600703593; cv=none; d=google.com; s=arc-20160816; b=sd2jzMAhsE+/SEr7FCysWsOBLGCXpDObTjk//KnG72urX/RBMN10X2s2DJSdy6tApl vYrPRxLaqEqmY5Vtp9FfwL3sDA4leLHhxFUgMk1QvvwCxTDfhvDtwIVoPYb3AQUI13CE C9/dGP8TyJvc6yBJsBmpLVluk03J9Z6b4ZfeelNq97OqVfDki6S9jHOEEQv3XBefTpF2 srHcKLR3Q7pdKoQ07usRaLCrtUbkfZOZCs9KMutdAU773M1Ij1mPRBf182ZgJyfHKZoF RqFURs96tEqU1iYzeyigtd3A6TFAj8KPNS0hynY3yazpYKdZVSaHqqmifPoGR8g8Ojln YkNw== 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; bh=jPJjBMxHKHUceSNmN9Nn7k9JJsU0eMQLMBgotnWjMpk=; b=okDU5B5tQNYVz8STuvwXyhF0zypj/bW0tvQ+GAKLTwng+pWkhM6HAgCyIzNakd8Jn5 ValQ3wTKtS3x95Bv+R07s5TiYGbAmrvfLpaYllLZ9wZktSbTJD2n0RiVp7PPQZqTHwQt ZSMyQzyiht+LO83D86UT9RbZshhwc2YMRlTq5CumXc4IQ5TjmWinctKjTfi9Gnd9eN9V H8zzB9o4GC9deJWapFWuqFlQIEsw/XknfSNydn4JNDXuANuupZ1m6nfq1BDAtcHm+X1m z3ItQCx3FreR1BOR7j4+KESaqNRiiNOLaqqdWtlcwMjbi19BL68iAnJYcsS+OOHq0tEy mweA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si10082836ejj.237.2020.09.21.08.52.50; Mon, 21 Sep 2020 08:53:13 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727990AbgIUPvx (ORCPT + 99 others); Mon, 21 Sep 2020 11:51:53 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38114 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726883AbgIUPvv (ORCPT ); Mon, 21 Sep 2020 11:51:51 -0400 Received: by mail-ot1-f68.google.com with SMTP id y5so12777402otg.5; Mon, 21 Sep 2020 08:51:50 -0700 (PDT) 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=jPJjBMxHKHUceSNmN9Nn7k9JJsU0eMQLMBgotnWjMpk=; b=dXeaqskShL5VdJIDEZqgY5cQSMleaYNXNMayX/zKxBZc4ngCZDILlN9mRyTbhlUmjb poO+uyotmk5kz7GDmiRol+/a0iNSQJDgC62SutF56E6qRqWkwMQ0eVU+uSrLlZlV5O3u r9brwsxJlUdOHlEA0MQF7P6w4I1XXs+6qQwmxb7p9+x1FHyU/PG1OpCB6cd2aKyiFyRO dPaq8UoCxNWQZznQq0jGNfKq6AVQd1q6yLPKy5yWE+iy4yYH+oaqDoxDwCbt4spRId8q p8xOOAqBA4tagufC1mDRc7WjBbGBuU4muXWM/6E6KmauPclJKMSEh8WtUZqlWFZEwZu/ Um9w== X-Gm-Message-State: AOAM530MZZ0CJLQjN5oIguFUZg20VeqWTrWu25I9OckXU7O5ojVcTfAg U2qeRAVedN3iC6qUDA5mTgJt9kkibCS9QTLyHQ4= X-Received: by 2002:a05:6830:1f16:: with SMTP id u22mr120500otg.118.1600703509133; Mon, 21 Sep 2020 08:51:49 -0700 (PDT) MIME-Version: 1.0 References: <20200729105206.2991064-1-victording@google.com> In-Reply-To: <20200729105206.2991064-1-victording@google.com> From: "Rafael J. Wysocki" Date: Mon, 21 Sep 2020 17:51:37 +0200 Message-ID: Subject: Re: [PATCH 0/3] powercap: Enable RAPL for AMD Fam17h To: Victor Ding Cc: LKML , Alexander Shishkin , Borislav Petkov , "H. Peter Anvin" , Ingo Molnar , Jan Beulich , Josh Poimboeuf , Kim Phillips , Pawan Gupta , "Peter Zijlstra (Intel)" , "Rafael J. Wysocki" , Sean Christopherson , Thomas Gleixner , Tony Luck , Vineela Tummalapalli , Linux PM , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2020 at 12:52 PM Victor Ding wrote: > > This patch series adds support for AMD Fam17h RAPL counters. As per > AMD PPR, Fam17h support RAPL counters to monitor power usage. The RAPL > counter operates as with Intel RAPL. Therefore, it is beneficial to > re-use existing framework for Intel, especially to allow existing tools > to seamlessly run on AMD. > > From the user's point view, this series enables the following two sysfs > entry on AMD Fam17h: > /sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj > /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj > > > Victor Ding (3): > x86/msr-index: sort AMD RAPL MSRs by address I haven't received this patch. Any chance to resend the entire series with a CC to linux-pm? > powercap/intel_rapl_msr: Convert rapl_msr_priv into pointer > powercap: Add AMD Fam17h RAPL support > > arch/x86/include/asm/msr-index.h | 3 +- > drivers/powercap/intel_rapl_common.c | 2 + > drivers/powercap/intel_rapl_msr.c | 58 +++++++++++++++++++++------- > 3 files changed, 47 insertions(+), 16 deletions(-) > > -- > 2.28.0.rc0.142.g3c755180ce-goog >