From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prarit Bhargava Subject: Re: [PATCH v2] cpupower: Fix no-rounding MHz frequency output Date: Thu, 2 Nov 2017 16:18:32 -0400 Message-ID: <012f54bd-b4cc-22fb-83d4-9606ba7c50c8@redhat.com> References: <20171025135132.16324-1-prarit@redhat.com> <54215387-96b8-07d3-0b0e-4df4a0b0dca6@kernel.org> <5a15dfc3-9dca-92a3-063c-b9a653ccbf0b@osg.samsung.com> <0023af85-a643-edaf-f6d4-fba1c3756e6e@osg.samsung.com> <126a1373-cd76-3f1e-2f91-5b5ea8a664ec@osg.samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51348 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934221AbdKBUSd (ORCPT ); Thu, 2 Nov 2017 16:18:33 -0400 In-Reply-To: <126a1373-cd76-3f1e-2f91-5b5ea8a664ec@osg.samsung.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Shuah Khan , "Rafael J. Wysocki" Cc: Stafford Horne , Shuah Khan , Linux PM , Thomas Renninger On 11/02/2017 02:59 PM, Shuah Khan wrote: > On 11/01/2017 06:42 PM, Prarit Bhargava wrote: > > Hi Prarit, > > Does this tool build for you? I am seeing: > > utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or directory > #include > ^ > compilation terminated. > Makefile:221: recipe for target 'utils/helpers/amd.o' failed > make: *** [utils/helpers/amd.o] Error 1 > Got it ... you have to have the pciutils-devel package installed which installs /usr/include/pci/pci.h. That file contains: struct pci_access { /* Options you can change: */ unsigned int method; /* Access method */ int writeable; /* Open in read/write mode */ int buscentric; /* Bus-centric view of the world */ P. > thanks, > -- Shuah >