From: Jacob Pan <jacob.jun.pan@linux.intel.com>
To: Pengyu Ma <pengyu.ma@windriver.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
<rafael.j.wysocki@intel.com>, <linux-kernel@vger.kernel.org>,
"Box, David E" <david.e.box@intel.com>,
"Anvin, H Peter" <h.peter.anvin@intel.com>
Subject: Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi
Date: Mon, 28 Sep 2015 09:13:50 -0700 [thread overview]
Message-ID: <20150928091350.50d0243b@icelake> (raw)
In-Reply-To: <56061440.1060007@windriver.com>
On Sat, 26 Sep 2015 11:42:56 +0800
Pengyu Ma <pengyu.ma@windriver.com> wrote:
> $ objdump --dwarf drivers/powercap/intel_rapl.o |grep iosf
> <65ad> DW_AT_name : (indirect string, offset: 0x3644):
> iosf_mbi_read
> <65f7> DW_AT_name : (indirect string, offset: 0x496):
> iosf_mbi_write
> 5 3 0 0 iosf_mbi.h
> 0x00000490 656c5f69 6400696f 73665f6d 62695f77 el_id.iosf_mbi_w
> 0x00003640 72656700 696f7366 5f6d6269 5f726561 reg.iosf_mbi_rea
>
> $ grep -i iosf_mbi .config
> # CONFIG_IOSF_MBI is not set
>
> It is compiled and included by header file.
>
Please refer to this table from my earlier email. Pasted below.
RAPL\IOSF Y M N
>> ___________________________________________________
>> Y OK DC* Warn on Atom**
>> M OK OK Warn on Atom
>> N OK OK OK
>> ___________________________________________________
*DC = don't compile.
The problem is the case when RAPL=y, IOSF=m.
Jacob
> Pengyu
>
> On 09/25/2015 12:33 AM, Jacob Pan wrote:
> > On Thu, 24 Sep 2015 18:03:32 +0800
> > Pengyu Ma <pengyu.ma@windriver.com> wrote:
> >
> >>> So the problematic case is when RAPL=Y IOSF=M
> >>> Since real IOSF functions are available when
> >>> #if IS_ENABLED(CONFIG_IOSF_MBI)
> >>> There will be no dummy functions for RAPL to reference in this
> >>> case.
> >> iosf_mbi_write/read will warn itself.
> > it does not compile.
>
[Jacob Pan]
next prev parent reply other threads:[~2015-09-28 16:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-17 7:31 [PATCH] powercap / RAPL : remove dependency on iosf_mbi Pengyu Ma
2015-09-18 0:09 ` Rafael J. Wysocki
2015-09-18 15:43 ` Jacob Pan
2015-09-21 3:48 ` Pengyu Ma
2015-09-21 21:36 ` Jacob Pan
2015-09-22 3:11 ` Pengyu Ma
2015-09-22 17:01 ` Jacob Pan
2015-09-24 10:03 ` Pengyu Ma
2015-09-24 15:09 ` Austin S Hemmelgarn
2015-09-24 16:33 ` Jacob Pan
2015-09-26 3:42 ` Pengyu Ma
2015-09-28 16:13 ` Jacob Pan [this message]
2015-09-22 13:41 ` Austin S Hemmelgarn
2015-09-22 15:57 ` Jacob Pan
2015-09-22 17:00 ` Austin S Hemmelgarn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150928091350.50d0243b@icelake \
--to=jacob.jun.pan@linux.intel.com \
--cc=david.e.box@intel.com \
--cc=h.peter.anvin@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pengyu.ma@windriver.com \
--cc=rafael.j.wysocki@intel.com \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).