From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753547AbcFQTF6 (ORCPT ); Fri, 17 Jun 2016 15:05:58 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:36464 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752355AbcFQTF4 (ORCPT ); Fri, 17 Jun 2016 15:05:56 -0400 X-Greylist: delayed 422 seconds by postgrey-1.27 at vger.kernel.org; Fri, 17 Jun 2016 15:05:56 EDT From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Fri, 17 Jun 2016 14:58:41 -0400 (EDT) X-X-Sender: vince@macbook-air To: Borislav Petkov cc: Vince Weaver , Huang Rui , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin Subject: Re: [patch] events/amd/power add support for fam16h model30h In-Reply-To: <20160617181906.GM3912@pd.tnic> Message-ID: References: <20160616211218.GC4002@pd.tnic> <20160617100746.GC13900@hr-amur2> <20160617103156.GA15997@pd.tnic> <20160617162728.GC3912@pd.tnic> <20160617181906.GM3912@pd.tnic> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jun 2016, Borislav Petkov wrote: > On Fri, Jun 17, 2016 at 01:38:44PM -0400, Vince Weaver wrote: > > F15hM02h > > > > fam15h_power-pci-00c4 > > Adapter: PCI adapter > > power1: 105.64 W (crit = 115.17 W) > > > > fam15h_power-pci-00d4 > > Adapter: PCI adapter > > power1: 105.59 W (crit = 115.17 W) > > Is that a dual-socket machine? > > Because I have only the fam15h_power-pci-00c4 adapter. And mine goes > between 20W and 40W in idle. It's a dual-socket server machine. AMD Opteron(tm) Processor 6376 2 packages, 16 cores each. > That's Trinity. That PCI device ID is not even in the kernel - I'm > guessing no one has even thought of enabling fam15_power on it. I don't > know even whether it supports the different PCI interfaces like TDP, TDP > limit, etc. > > IOW, something like that might not really help. I'll try applying the patch. My code that probes the msrs/pci directly from userspace seems to think it has support. Vince