mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Harry Pan <harry.pan@intel.com>
Cc: kbuild-all@01.org, LKML <linux-kernel@vger.kernel.org>,
	gs0622@gmail.com, Harry Pan <harry.pan@intel.com>,
	tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
	x86@kernel.org, peterz@infradead.org, bp@alien8.de,
	ray.huang@amd.com, srinivas.pandruvada@linux.intel.com
Subject: Re: [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell RAPL support
Date: Sat, 10 Sep 2016 05:02:12 +0800	[thread overview]
Message-ID: <201609100417.E2z3DaFS%fengguang.wu@intel.com> (raw)
In-Reply-To: <1473443638-29170-2-git-send-email-harry.pan@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2196 bytes --]

Hi Harry,

[auto build test WARNING on v4.8-rc5]
[also build test WARNING on next-20160909]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Harry-Pan/perf-x86-rapl-Enable-Apollo-Lake-RAPL-support/20160910-015650
config: x86_64-randconfig-x008-201636 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   arch/x86/events/intel/rapl.c: In function 'rapl_check_hw_unit':
>> arch/x86/events/intel/rapl.c:661:2: warning: enumeration value 'RAPL_NO_QUIRK' not handled in switch [-Wswitch]
     switch (apply_quirk) {
     ^~~~~~

vim +/RAPL_NO_QUIRK +661 arch/x86/events/intel/rapl.c

   645		rapl_hrtimer_init(pmu);
   646		rapl_pmus->pmus[topology_logical_package_id(cpu)] = pmu;
   647		return 0;
   648	}
   649	
   650	static int rapl_check_hw_unit(enum rapl_quirk apply_quirk)
   651	{
   652		u64 msr_rapl_power_unit_bits;
   653		int i;
   654	
   655		/* protect rdmsrl() to handle virtualization */
   656		if (rdmsrl_safe(MSR_RAPL_POWER_UNIT, &msr_rapl_power_unit_bits))
   657			return -1;
   658		for (i = 0; i < NR_RAPL_DOMAINS; i++)
   659			rapl_hw_unit[i] = (msr_rapl_power_unit_bits >> 8) & 0x1FULL;
   660	
 > 661		switch (apply_quirk) {
   662		case RAPL_HSX_QUIRK:
   663			/*
   664			 * DRAM domain on HSW server and KNL has fixed energy unit
   665			 * which can be different than the unit from power unit MSR.
   666			 * See "Intel Xeon Processor E5-1600 and E5-2600 v3 Product
   667			 * Families, V2 of 2. Datasheet, September 2014,
   668			 * Reference Number: 330784-001"
   669			 */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 21126 bytes --]

  reply	other threads:[~2016-09-09 21:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 17:53 [PATCH 1/2] perf/x86/rapl: Enable Apollo Lake " Harry Pan
2016-09-09 17:53 ` [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell " Harry Pan
2016-09-09 21:02   ` kbuild test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-09 15:01 [PATCH 1/2] perf/x86/rapl: Enable Apollo Lake " Harry Pan
2016-09-09 15:01 ` [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell " Harry Pan
2016-09-09 15:11   ` Thomas Gleixner
2016-09-09 17:59     ` Pan, Harry
2016-09-09 21:21       ` Thomas Gleixner
2016-09-11  3:06         ` Pan, Harry
2016-09-11  5:38         ` Pan, Harry
2016-09-08  9:08 [PATCH 1/2] perf/x86/rapl: Enable Apollo Lake " Harry Pan
2016-09-08  9:08 ` [PATCH 2/2] perf/x86/rapl: Enable Baytrail/Braswell " Harry Pan
2016-09-09  9:29   ` Peter Zijlstra
2016-09-09 15:08     ` Pan, Harry

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=201609100417.E2z3DaFS%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=bp@alien8.de \
    --cc=gs0622@gmail.com \
    --cc=harry.pan@intel.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=ray.huang@amd.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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

Powered by JetHome